-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: check for table scan before expanding #2491
Conversation
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #2491 +/- ##
===========================================
- Coverage 84.98% 84.88% -0.11%
===========================================
Files 726 729 +3
Lines 115592 115862 +270
===========================================
+ Hits 98241 98353 +112
- Misses 17351 17509 +158 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@waynexia There is a clippy warning. |
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
You have to update the sqlness result too. @waynexia |
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hope that there will be improvements in "dynamically" executed DML in the future
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix: check for table scan before expanding Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * change assert_ok to unwrap Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * fix clippy warning Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * update sqlness result Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * don't skip dml Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * uncomment ignored tests Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
DistPlanner should only modify "queries" that need to access remote data. LogicalPlan also contains some DDL/DML plan which should be ignored by our planner
Checklist
Refer to a related PR or issue link (optional)