Skip to content

bug: fail to create iceberg table if binary type inside a nested type #20552

Closed
@chenzl25

Description

@chenzl25

Describe the bug

The reason is iceberg-rs will try to convert a iceberg binary type to largebinary arrow type, while risingwave converts binary type to binary arrow type. Our type checker relies on arrow type to compare these 2 types, so there is an mismatch.
example

create table t4 (a struct<trace_id bytea>);

create sink xxx from t4 with(
  connector = 'iceberg',
  create_table_if_not_exists='true',
  .....
)

Error message/log


To Reproduce

No response

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

type/bugType: Bug. Only for issues.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions