[To dev/1.3] Fix retry bug in tree model query which ignores the time filter#18201
Merged
Conversation
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev/1.3 #18201 +/- ##
=============================================
+ Coverage 43.53% 43.64% +0.11%
Complexity 198 198
=============================================
Files 3631 3633 +2
Lines 243791 243987 +196
Branches 29753 29780 +27
=============================================
+ Hits 106134 106491 +357
+ Misses 137657 137496 -161 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
JackieTien97
marked this pull request as ready for review
July 15, 2026 02:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Backport #18179 to dev/1.3.
Root cause
Tree-model query analysis mutates the parsed statement while extracting time predicates and normalizing query components. When dispatch fails and the same statement is analyzed again, the retry can observe the mutated state and lose the original time filter.
Backport notes
The master PR also contains table-model changes. Those classes do not exist on the dev/1.3 codebase, so this backport intentionally includes only the applicable tree-model changes.
Validation