-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
sql: remove some remnants of the heuristics planner #62293
Conversation
2ed7b41
to
398ffc1
Compare
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.
Reviewable status: complete! 1 of 0 LGTMs obtained
398ffc1
to
f082460
Compare
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
# Regression test for #34524. | ||
query I | ||
(SELECT NULL FROM t34524) EXCEPT (VALUES((SELECT 1 FROM t34524 LIMIT 1)), (1)) | ||
---- |
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.
nit: I think the pkg/sql/logictest/testdata/logic_test/union
might be a better place for this since there are no explicit joins in the query. Really, pkg/sql/logictest/testdata/logic_test/set
seems best, but most EXCEPT
tests are currently in the union
file...
The heuristic planner has been long gone, but some remnants still remain. The most notable change is to `createTableNode` where we needed to synthesize a row ID column in the HP. I also searched for "heuristic pl" in the code base and found a few other mentions which are also removed. Two more are still present since they didn't seem as trivial. Release note: None
f082460
to
ea6a557
Compare
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.
TFTRs!
bors r+
Reviewable status: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @yuzefovich)
pkg/sql/logictest/testdata/logic_test/join, line 1122 at r1 (raw file):
Previously, mgartner (Marcus Gartner) wrote…
nit: I think the
pkg/sql/logictest/testdata/logic_test/union
might be a better place for this since there are no explicit joins in the query. Really,pkg/sql/logictest/testdata/logic_test/set
seems best, but mostEXCEPT
tests are currently in theunion
file...
Done.
Build failed (retrying...): |
Build succeeded: |
The heuristic planner has been long gone, but some remnants still
remain. The most notable change is to
createTableNode
where we neededto synthesize a row ID column in the HP. I also searched for "heuristic
pl" in the code base and found a few other mentions which are also
removed.
Two more are still present since they didn't seem as trivial.
Release note: None