danny0405 commented on code in PR #13213:
URL: https://github.com/apache/hudi/pull/13213#discussion_r2057862442


##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/BaseSparkInternalRowReaderContext.java:
##########
@@ -107,6 +107,15 @@ public InternalRow seal(InternalRow internalRow) {
     return internalRow.copy();
   }
 
+  @Override
+  public InternalRow toBinaryRow(Schema schema, InternalRow internalRow) {
+    if (internalRow instanceof UnsafeRow) {
+      return internalRow;
+    }
+    final UnsafeProjection unsafeProjection = 
HoodieInternalRowUtils.getCachedUnsafeProjection(schema);

Review Comment:
   issure created: https://issues.apache.org/jira/browse/HUDI-9337



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