Skip to content
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

Fix COPY partitioning. #762

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Fix COPY partitioning. #762

merged 1 commit into from
Apr 26, 2024

Conversation

dimitri
Copy link
Owner

@dimitri dimitri commented Apr 26, 2024

First, the per-table part count was computed incorrectly, leading to the COPY supervisor adding unknown partitions in the COPY processing queue.

Second, we support both PRIMARY KEYS and also UNIQUE indexes without a NOT NULL constraint, which means we should add a partition for the WHERE IS NULL clause.

Fixes #755
Fixes #756

@dimitri dimitri added the bug Something isn't working label Apr 26, 2024
@dimitri dimitri added this to the v0.16 milestone Apr 26, 2024
@dimitri dimitri self-assigned this Apr 26, 2024
First, the per-table part count was computed incorrectly, leading to the
COPY supervisor adding unknown partitions in the COPY processing queue.

Second, we support both PRIMARY KEYS and also UNIQUE indexes without a NOT
NULL constraint, which means we should add a partition for the WHERE IS NULL
clause.
@dimitri dimitri merged commit 2ebaae5 into main Apr 26, 2024
18 checks passed
@dimitri dimitri deleted the fix/copy-partitioning branch April 26, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant