empcl commented on code in PR #10840:
URL: https://github.com/apache/hudi/pull/10840#discussion_r1527887588
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/catalog/HoodieCatalog.java:
##########
@@ -345,7 +345,7 @@ public void createTable(ObjectPath tablePath,
CatalogBaseTable catalogTable, boo
options.put(TableOptionProperties.PARTITION_COLUMNS, partitions);
final String[] pks =
conf.getString(FlinkOptions.RECORD_KEY_FIELD).split(",");
- boolean complexHoodieKey = pks.length > 1 ||
resolvedTable.getPartitionKeys().size() > 1;
+ boolean complexHoodieKey = pks.length > 1 ||
partitions.split(",").length > 1;
Review Comment:
@danny0405 Hi, we have found a friendly way to modify it and have made the
necessary changes. Could you please help me take a look? 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]