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


##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/io/storage/row/HoodieRowDataFileWriter.java:
##########
@@ -50,4 +56,12 @@ public interface HoodieRowDataFileWriter {
    * Closes the {@link HoodieRowDataFileWriter} and may not take in any more 
writes.
    */
   void close() throws IOException;
+
+  default void writeWithMetadata(HoodieKey key, HoodieRecord record, Schema 
schema, Properties props) throws IOException {
+    writeRow(key.getRecordKey(), (RowData) record.getData());

Review Comment:
   does the row data already contain the metadata columns?



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