Skip to content

How to combine vertically split tables into one table in iceberg #5883

@moonService

Description

@moonService

Query engine

flink

Question

I tried the following:
CREATE TABLE source_part_1 (
columns...
PRIMARY KEY (pk) NOT ENFORCED
) WITH (
connectinfo...
);

CREATE TABLE source_part_2 (
columns...
PRIMARY KEY (pk) NOT ENFORCED
) WITH (
connectinfo...
);

CREATE TABLE iceberg_table (
part_1_columns...
part_2_columns...
PRIMARY KEY (pk) NOT ENFORCED
) WITH (
connectinfo...
);

insert into iceberg_table (part_1_columns...) select part_1_columns from source_part_1;
insert into iceberg_table (part_2_columns...) select part_2_columns from source_part_2;

but iceberg can not just update part of fields ,only can update by line,How can I solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions