zhaoyuxiaoxiao commented on issue #3042:
URL: https://github.com/apache/iceberg/issues/3042#issuecomment-915801041
@openinx ,I am using the master compiled version, I am upgrading the table
form through sparkSQL,SQL:“alter table hive_prod.test.hive2iceberg_table set
TBLPROPERTIES ('engine.hive.enabled' = 'true' , 'format-version' = '2',
'write.upsert.enable' = 'true') ;”
I'm not sure there's a problem with that。
After the upgrade I used flinkSQL test to insert data and he reported an
error.
[ERROR] Could not execute SQL statement. Reason:
java.lang.IllegalStateException: Equality field columns shouldn't be empty
when configuring to use UPSERT data stream.
Error prompt: It seems that I did not specify a primary key。
Please take a look at it for me. Thank you
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]