danny0405 commented on code in PR #8688:
URL: https://github.com/apache/hudi/pull/8688#discussion_r1190955482
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableFactory.java:
##########
@@ -185,7 +185,9 @@ private void checkRecordKey(Configuration conf,
ResolvedSchema schema) {
&& FlinkOptions.RECORD_KEY_FIELD.defaultValue().equals(recordKeys[0])
&& !fields.contains(recordKeys[0])) {
throw new HoodieValidationException("Primary key definition is
required, use either PRIMARY KEY syntax "
- + "or option '" + FlinkOptions.RECORD_KEY_FIELD.key() + "' to
specify.");
+ + "or option '" + FlinkOptions.RECORD_KEY_FIELD.key() + "' to
specify. "
+ + "Otherwise the default primary key '"
Review Comment:
Thanks, can you update it.
--
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]