Pulling a report from the upstream server for minor changes, such as adding a sum column that will be calculated on the report (not the data source), is causing the report's data source to be rebuilt. Is there a way to prevent this?
Hey @andyasne
Can you share on the UI where you are pulling the updated report?
Hi @mkangia ,
I use the following page on our downstream server to update the reports.
Hi @andyasne
It does appear that we rebuild the datasource each time report is pulled, commcare-hq/corehq/apps/linked_domain/ucr.py at bb587b0164ce531eae45b974695d5770d16de087 · dimagi/commcare-hq · GitHub
It is currently not feasible to determine if a data source should be rebuilt or not based on differences between two states of the report.
So, we fallback to rebuilding it each time.
Thanks @mkangia , would have been great if there is a feature flag to disable building on pull.