jonvex commented on code in PR #11943:
URL: https://github.com/apache/hudi/pull/11943#discussion_r1803975905
##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieAvroIndexedRecord.java:
##########
@@ -162,7 +162,7 @@ public HoodieRecord wrapIntoHoodieRecordPayloadWithParams(
Option<String> partitionNameOp,
Boolean populateMetaFields,
Option<Schema> schemaWithoutMetaFields) {
- String payloadClass = ConfigUtils.getPayloadClass(props);
+ String payloadClass = ConfigUtils.getAvroPayloadClass(props);
Review Comment:
changed back
##########
hudi-common/src/main/java/org/apache/hudi/common/config/HoodieConfig.java:
##########
@@ -149,6 +153,11 @@ public <T> String getString(ConfigProperty<T>
configProperty) {
return rawValue.map(Object::toString).orElse(null);
}
+ public <T> Option<String> getStringOpt(ConfigProperty<T> configProperty) {
+ Option<Object> rawValue = getRawValue(configProperty);
+ return rawValue.map(Object::toString);
+ }
Review Comment:
removed this
--
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]