While trying to modify an existing table to be a Dynamic table, I noticed that it was not incrementally refreshing like I had hoped. refresh_mode_reason is given as below.
Change tracking is not supported on queries with UNION ALLs or outer joins that would produce conflicting ROW_IDs.
However, within the table in Understanding dynamic table refresh: Types of queries that support incremental refreshes it says:
Dynamic tables support UNION ALL.
UNION ALL results in "conflicting ROW_IDs, if so, only full refresh is supportedDynamic tables with UNION -- change tracking not enabled
It looks like incremental updates do not support UNION, but they do support UNION ALL as mentioned in the documentation that you added. The difference is that UNION doesn't allow for duplicates.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With