[Bug] Nereids async MV transparent rewrite returns rows outside range predicate with partition union compensation #63439
Unanswered
Coogle2017
asked this question in
A - General / Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version:
Apache Doris 4.0.2-rc02
Summary:
When Nereids transparent rewrite chooses an async materialized view with
grace_period > 0, queries with a range predicate on the MV partition column can return rows outside the predicate. In one case the rewritten plan usesUNIONcompensation, but the base-table compensation branch scans partitions that are outside the query range. In another case the chosen MV scan reads all MV partitions, and the range predicate is not applied to the MV scan.Anonymized schema:
Beta Was this translation helpful? Give feedback.
All reactions