Skip to content

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

3 participants