Hisoka-X commented on code in PR #7728:
URL: https://github.com/apache/seatunnel/pull/7728#discussion_r1774657957
##########
seatunnel-connectors-v2/connector-paimon/src/main/java/org/apache/seatunnel/connectors/seatunnel/paimon/config/PaimonSinkConfig.java:
##########
@@ -77,5 +79,12 @@ public PaimonSinkConfig(ReadonlyConfig readonlyConfig) {
this.primaryKeys = stringToList(readonlyConfig.get(PRIMARY_KEYS), ",");
this.partitionKeys = stringToList(readonlyConfig.get(PARTITION_KEYS),
",");
this.writeProps = readonlyConfig.get(WRITE_PROPS);
+ checkConfig();
+ }
+
+ private void checkConfig() {
+ if (this.primaryKeys.isEmpty() &&
"-1".equals(this.writeProps.get("bucket"))) {
+ log.warn("Append only table currently do not support dynamic
bucket");
Review Comment:
Add msg : `rollback to ???`
--
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]