danny0405 commented on code in PR #14173:
URL: https://github.com/apache/hudi/pull/14173#discussion_r2471611980
##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/io/storage/row/HoodieRowCreateHandle.java:
##########
@@ -189,7 +192,8 @@ private void writeRow(InternalRow row) {
metaFields[4] = fileName;
InternalRow updatedRow =
SparkAdapterSupport$.MODULE$.sparkAdapter().createInternalRow(metaFields, row,
true);
try {
- fileWriter.writeRow(recordKey, updatedRow);
+ //TODO revisit this covert to regular string
+ fileWriter.writeRow(recordKey.toString(), updatedRow);
Review Comment:
I see what the writer needs is actually the UTF8 bytesm maybe just refactor
this interface too to accept just a `Utf8String` or just its bytes.
--
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]