-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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: store physical props in indexJoinNode #26373
Conversation
Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. pkg/sql/index_join.go, line 218 at r1 (raw file):
[nit] this wording is a bit awkward. I'd also explicitly mention the optimizer to explain why this is needed at all. pkg/sql/opt_needed.go, line 72 at r1 (raw file):
[nit] This comment is a bit confusing. Maybe just say the length of Comments from Reviewable |
Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful. pkg/sql/expand_plan.go, line 705 at r1 (raw file):
Add a comment here saying that indexJoinNodes created by the heuristic planner always have the same schema with the underlying tables, so we can pass through pkg/sql/opt_needed.go, line 72 at r1 (raw file): Previously, rytaft wrote…
This comment explains why it's ok to call Comments from Reviewable |
Review status: all files reviewed at latest revision, 3 unresolved discussions, all commit checks successful. pkg/sql/opt/exec/execbuilder/testdata/distsql_indexjoin, line 39 at r1 (raw file):
This plan looks incorrect (we are discarding Comments from Reviewable |
Review status: 4 of 10 files reviewed at latest revision, 4 unresolved discussions, all commit checks successful. pkg/sql/opt/exec/execbuilder/testdata/distsql_indexjoin, line 39 at r1 (raw file): Previously, RaduBerinde wrote…
Ok, added in Comments from Reviewable |
Review status: 4 of 10 files reviewed at latest revision, 4 unresolved discussions, all commit checks successful. pkg/sql/expand_plan.go, line 705 at r1 (raw file): Previously, RaduBerinde wrote…
Done. pkg/sql/index_join.go, line 218 at r1 (raw file): Previously, rytaft wrote…
Done. Comments from Reviewable |
Review status: all files reviewed at latest revision, 4 unresolved discussions, all commit checks successful. pkg/sql/opt/exec/execbuilder/testdata/distsql_indexjoin, line 39 at r1 (raw file): Previously, justinj (Justin Jaffray) wrote…
Looks great, thanks! Comments from Reviewable |
TFTRs! bors r+ |
Build failed |
f62ff62
to
86d7d2c
Compare
Moved the explain test to the execbuild tests bors r+ |
I'd remove the INSERT from the test with the explain.. |
bors cancel |
bors r- |
Canceled |
oops yeah, that particular insert was leftover from debugging. bors r+ |
Build failed |
The change in cockroachdb#25292 was incomplete, this change finishes that work to store the physical props on the indexJoinNode and not simply pass through to the index scan. Release note: None
bors r+ |
26373: sql: store physical props in indexJoinNode r=justinj a=justinj The change in #25292 was incomplete, this change finishes that work to store the physical props on the indexJoinNode and not simply pass through to the index scan. Release note: None Co-authored-by: Justin Jaffray <[email protected]>
Build succeeded |
The change in #25292 was incomplete, this change finishes that work to
store the physical props on the indexJoinNode and not simply pass
through to the index scan.
Release note: None