Closed zidane-wcp closed 1 year ago
Use option catalog.ignore-primary-key=false
Thank you. I just found this option.
Use option
catalog.ignore-primary-key=false
The order of the primary key columns in ClickhouseCatalog is not the same as in the table definition.
Use option
catalog.ignore-primary-key=false
The order of the primary key columns in ClickhouseCatalog is not the same as in the table definition.
@zidane-wcp Yes, seems to follow the column definition order, refer to: ClickHouseCatalog.getPartitionKeys. Are there any scenarios where the primary keys need to keep the order in which they are defined?
I found that the table in ClickhouseCatalog has no primary key, so I can't use ClickhouseCatalog in upsert mode. Could you please add the primary key of the table in ClickhouseCatalog?