wombatu-kun commented on code in PR #12772:
URL: https://github.com/apache/hudi/pull/12772#discussion_r2120056904


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/io/storage/row/HoodieRowCreateHandle.java:
##########
@@ -184,7 +185,7 @@ private void writeRow(InternalRow row) {
       UTF8String writeCommitTime = shouldPreserveHoodieMetadata ? 
row.getUTF8String(HoodieRecord.COMMIT_TIME_METADATA_FIELD_ORD)
           : commitTime;
 
-      InternalRow updatedRow = new HoodieInternalRow(writeCommitTime, seqId, 
recordKey,
+      InternalRow updatedRow = 
SparkAdapterSupport$.MODULE$.sparkAdapter().createInternalRow(writeCommitTime, 
seqId, recordKey,

Review Comment:
   No, I haven't. API of InternalRow is different in Spark 3 and Spark 4, so we 
have to use SparkAdapter anyway.



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