-
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
opt: specify hash joins in EXPLAIN (OPT) #38827
Conversation
In EXPLAIN (OPT), joins that have no mention (like `merge` or `lookup`) are executed as hash joins. Make this explicit, for the benefit of usage outside of the opt team. Release note: None
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.
Thanks, this is going to be really helpful for users.
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.
just looked at expr_format.go and peeked at a couple of the tests,
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @justinj and @rytaft)
Is it? I thought we advertise the simple |
My understanding is that we were planning to deprecate simple |
bors r+ |
38663: sql: add support for NOT VALID Foreign Key constraints r=Tyler314 a=Tyler314 Implemented the support of not validating an ALTER TABLE foreign key constraint to a table. Within alter_table.go we set the validity of the foreign key reference to be unvalidated, and within shema_changer.go we then check the case where the foreign key being added is unvalidated and do not check its validity. This allows users to create a reference between two non-empty tables who's entries don't comply with the constraint when it's first added. 38827: opt: specify hash joins in EXPLAIN (OPT) r=RaduBerinde a=RaduBerinde In EXPLAIN (OPT), joins that have no mention (like `merge` or `lookup`) are executed as hash joins. Make this explicit, for the benefit of usage outside of the opt team. Release note: None Co-authored-by: craig[bot] <bors@cockroachlabs.com> Co-authored-by: Tyler314 <tyler@cockroachlabs.com> Co-authored-by: Radu Berinde <radu@cockroachlabs.com>
Build succeeded |
In EXPLAIN (OPT), joins that have no mention (like
merge
orlookup
) are executed as hash joins. Make this explicit, for thebenefit of usage outside of the opt team.
Release note: None