yihua commented on code in PR #11352:
URL: https://github.com/apache/hudi/pull/11352#discussion_r1618200620
##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/keygen/factory/HoodieSparkKeyGeneratorFactory.java:
##########
@@ -88,6 +88,9 @@ public static KeyGenerator createKeyGenerator(String
keyGeneratorClass, TypedPro
//Need to prevent overwriting the keygen for spark sql merge into
because we need to extract
//the recordkey from the meta cols if it exists. Sql keygen will use
pkless keygen if needed.
&& !props.getBoolean(SPARK_SQL_MERGE_INTO_PREPPED_KEY, false);
+ if (autoRecordKeyGen) {
Review Comment:
So `HoodieAvroKeyGeneratorFactory#createAvroKeyGeneratorByType` should be
okay?
--
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]