-
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: add partition info to the opt catalog #60818
Conversation
dccc2fb
to
9a0ddeb
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! 0 of 0 LGTMs obtained (waiting on @mgartner and @rytaft)
pkg/sql/opt/cat/index.go, line 190 at r1 (raw file):
// [ /us/seattle\x00 - ] // PartitionByListPrefixes() []tree.Datums
Shouldn't we remove this now? We can get the same by joining the prefixes for all the Partitions, no?
Prior to this commit, the opt catalog did not include zone information or prefixes specific to each partition of an index. This commit adds this information since it will be necessary to support locality optimized search in a future commit. Informs cockroachdb#55185 Release note: None
9a0ddeb
to
9678713
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! 0 of 0 LGTMs obtained (waiting on @mgartner)
pkg/sql/opt/cat/index.go, line 190 at r1 (raw file):
Previously, RaduBerinde wrote…
Shouldn't we remove this now? We can get the same by joining the prefixes for all the Partitions, no?
Done. Also moved some of this comment down.
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.
Reviewed 3 of 13 files at r1, 11 of 11 files at r2.
Reviewable status: complete! 1 of 0 LGTMs obtained
TFTR! bors r+ |
Build succeeded: |
Prior to this commit, the opt catalog did not include zone information
or prefixes specific to each partition of an index. This commit adds this
information since it will be necessary to support locality optimized
search in a future commit.
Informs #55185
Release note: None