You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BugFix] Fix Delta Lake un-partitioned materialized view query rewrite
DeltaLakePartitionTraits.getUpdatedPartitionNames returned null because
partition-change tracking is not implemented for Delta Lake. The MV timeliness
arbiter treats a null base-table update info as "unknown" and forces a full
refresh, which marks the materialized view stale and disables query rewrite in
the default CHECKED consistency mode.
Return an empty set instead of null (i.e. "no updated partitions detected"),
matching the behavior of other connectors that do not yet implement
partition-change tracking (e.g. Hudi), so a fresh MV over a Delta Lake table
stays eligible for query rewrite. Add a unit test asserting the MV timeliness
arbiter reports NO_REFRESH (not FULL) for a Delta Lake based MV in the default
CHECKED consistency mode.
Signed-off-by: GavinMar <yangguansuo@starrocks.com>
0 commit comments