nsivabalan commented on code in PR #12296:
URL: https://github.com/apache/hudi/pull/12296#discussion_r1855266781


##########
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableMetaClient.java:
##########
@@ -1357,6 +1357,7 @@ public HoodieTableMetaClient 
initTable(StorageConfiguration<?> storageConf, Stor
       createTableLayoutOnStorage(storageConf, basePath, props);
       HoodieTableMetaClient metaClient = 
HoodieTableMetaClient.builder().setConf(storageConf).setBasePath(basePath)
           .setMetaserverConfig(props)
+          .setPayloadClassName((String) 
props.getOrDefault(PAYLOAD_CLASS_NAME.key(), 
"org.apache.hudi.common.model.DefaultHoodieRecordPayload"))

Review Comment:
   payload class or merge mode was not honored for any spark sql writes prior 
to this patch. so, we were falling back to the default values.
   



-- 
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]

Reply via email to