the-other-tim-brown commented on code in PR #13383:
URL: https://github.com/apache/hudi/pull/13383#discussion_r2127365438
##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/BaseSparkInternalRowReaderContext.java:
##########
@@ -170,6 +171,9 @@ public Comparable convertValueToEngineType(Comparable
value) {
@Override
public InternalRow getDeleteRow(InternalRow record, String recordKey) {
- throw new UnsupportedOperationException("Not supported for " +
this.getClass().getSimpleName());
+ if (record != null) {
+ return record;
+ }
+ return new HoodieInternalRow(null, null, UTF8String.fromString(recordKey),
null, null, null, false);
Review Comment:
You're right, the partition path is present in the reader context so I have
updated this line.
--
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]