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

bug: iceberg failed to handle compound primary key #20226

Open
chenzl25 opened this issue Jan 20, 2025 · 0 comments
Open

bug: iceberg failed to handle compound primary key #20226

chenzl25 opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels
type/bug Something isn't working
Milestone

Comments

@chenzl25
Copy link
Contributor

Describe the bug

No response

Error message/log


To Reproduce

dev=> create table t (a int, b int, primary key (b, a)) with (commit_checkpoint_interval = 1) engine = iceberg;
CREATE_TABLE
dev=> insert into t values (1, 2);
INSERT 0 1
dev=> select * from t;
 a | b
---+---
 1 | 2
(1 row)

dev=> delete from t;
DELETE 1
dev=> select * from t;
ERROR:  Failed to run the query

Caused by:
  External system error: Iceberg error: Unexpected => Arrow Schema Error, source: Schema error: target schema is not superset of current schema target=Field { name: "a", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {"PARQUET:field_id": "1"} }, Field { name: "b", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {"PARQUET:field_id": "2"} } current=Field { name: "b", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {"PARQUET:field_id": "2"} }, Field { name: "a", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {"PARQUET:field_id": "1"} }

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

No response

Additional context

No response

@chenzl25 chenzl25 added the type/bug Something isn't working label Jan 20, 2025
@github-actions github-actions bot added this to the release-2.3 milestone Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants