linliu-code commented on code in PR #12384:
URL: https://github.com/apache/hudi/pull/12384#discussion_r1864748608
##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/BaseSparkInternalRowReaderContext.java:
##########
@@ -101,6 +123,25 @@ public HoodieRecord<InternalRow>
constructHoodieRecord(Option<InternalRow> rowOp
return new HoodieSparkRecord(row,
HoodieInternalRowUtils.getCachedSchema(schema));
}
+ @Override
+ public HoodieRecord<InternalRow> constructHoodieRecord(Option<InternalRow>
rowOption,
+ Map<String, Object>
metadataMap,
+ TypedProperties
props) {
+ if (!rowOption.isPresent()) {
Review Comment:
This is also related to the record key issue.
--
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]