Forum Discussion
table refresh doesn't find changes but partition refresh does
- 1 year ago
Hi markmsc ,
Can you please share an update to your issue and let us know if you were able to resolve it by using azure pipeline-orchestrated XMLA refresh of the model, as this seems to be the best possible workaround currently available.
Sharing an update and accepting the reply which may have helped you in the direction will surely help other community memebers who may experience the same error in the future.
Thank you
Source definitely does have a different, later datetime each norning than the saved bookmark, and yet the detect data changes polling expression on that column finds no changes and does not process the partition. Or at least now it doesn't; before this week, it worked fine. Now the only way to get those changes picked up is to force a full refresh on the partition.
I appreciate you trying to help. I did learn a thing or two from your comments, so I am better off than when I started here, even if my problem is not solved. Thank you.
Just one final check. The changed date is applied to your older data as well right, not just today
- markmsc1 year agoResolver I
The specific sequence is:
- last scheduled refresh of the day runs at 7:30 PM. Presumably the bookmark should reflect this datetime.
- at 5:00 AM the next day, a process runs that identifies the prior day's data that should be dropped from the model, and sets a delete bit on each applicable row, along with the datetime of that update in the row's lastupdated column. This should be after the bookmark from step 1.
- at 6:00 AM that next day, one hour later, the first scheduled refresh of the day runs. Detect Data Change is set to look at the lastupdated column, and the query filter is set to exclude rows marked as deleted. Despite step 2, it finds no changes from its last run the prior evening, in step 1.