Skip to content

Correct multi-column key partition ordering #61

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

Merged
merged 1 commit into from
Apr 12, 2023
Merged

Conversation

jcjones
Copy link
Collaborator

@jcjones jcjones commented Apr 12, 2023

To quote from the documentation:

With RANGE COLUMNS, a row matches a partition if all row values are less
than specified values. The first partition that matches row values will be
used.

Previously, with RANGE COLUMNS, partition-manager got this logic backward, which led to partitions being considered "unfilled" and candidates for rename which actually had data in them.

Fixes #60

To quote from the documentation:

> With RANGE COLUMNS, a row matches a partition if all row values are less
> than specified values. The first partition that matches row values will be
> used.

Previously, with `RANGE COLUMNS`, partition-manager got this logic backward,
which led to partitions being considered "unfilled" and candidates for rename
which actually had data in them.

Fixes #60
@jcjones jcjones self-assigned this Apr 12, 2023
@jcjones jcjones merged commit ba35884 into main Apr 12, 2023
@jcjones jcjones deleted the 60-partition-ordering branch April 12, 2023 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Partition ordering for multi-column keys is incorrect
2 participants