geserdugarov commented on code in PR #12516:
URL: https://github.com/apache/hudi/pull/12516#discussion_r1892061545


##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/io/storage/row/HoodieRowDataCreateHandle.java:
##########
@@ -90,6 +91,7 @@ public HoodieRowDataCreateHandle(HoodieTable table, 
HoodieWriteConfig writeConfi
     this.fileId = fileId;
     this.newRecordLocation = new HoodieRecordLocation(instantTime, fileId);
     this.preserveHoodieMetadata = preserveHoodieMetadata;
+    this.skipMetadataWrite = skipMetadataWrite;

Review Comment:
   I've also found that we could write MOR table in upsert mode without 
metadata, but we couldn't read it later by Flink. Exception is thrown during:
   ```SQL
   SELECT * FROM hudi_debug;
   ```
   Also this query wouldn't return meta columns anyway, so I need to check log 
files internal data. I've created separate bug for MOR without meta columns 
read: HUDI-8785, will fix it in a separate MR.



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