yihua commented on code in PR #11943:
URL: https://github.com/apache/hudi/pull/11943#discussion_r1811166993
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodiePayloadConfig.java:
##########
@@ -107,7 +105,9 @@ public Builder withPayloadEventTimeField(String
payloadEventTimeField) {
}
public HoodiePayloadConfig.Builder withPayloadClass(String
payloadClassName) {
- payloadConfig.setValue(PAYLOAD_CLASS_NAME, payloadClassName);
+ if (!StringUtils.isNullOrEmpty(payloadClassName)) {
+ payloadConfig.setValue(PAYLOAD_CLASS_NAME, payloadClassName);
+ }
Review Comment:
The `HoodieMergeConfig` should be a plain POJO containing the config values
only.
--
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]