hehuiyuan commented on code in PR #9936:
URL: https://github.com/apache/hudi/pull/9936#discussion_r1375692623
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bulk/RowDataKeyGen.java:
##########
@@ -99,7 +99,7 @@ protected RowDataKeyGen(
this.recordKeyProjection = null;
} else {
this.recordKeyFields = recordKeys.get().split(",");
- if (this.recordKeyFields.length == 1) {
+ if (this.recordKeyFields.length == 1 && this.partitionPathFields.length
== 1) {
Review Comment:
There is another compatibility issue with existing table. The
_hoodie_record_key of same key is changed when fix the issure by modifying
upsert mode.
--
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]