danny0405 commented on code in PR #18384:
URL: https://github.com/apache/hudi/pull/18384#discussion_r3042439332
##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/io/storage/HoodieSparkParquetWriter.java:
##########
@@ -81,7 +94,7 @@ public void writeRowWithMetadata(HoodieKey key, InternalRow
row) throws IOExcept
@Override
public void writeRow(String recordKey, InternalRow row) throws IOException {
super.write(row);
- if (populateMetaFields) {
+ if (populateMetaFields && (populateIndividualMetaFields == null ||
populateIndividualMetaFields[2])) {
Review Comment:
are we ensured that the `row` does not include the metadata fields always?
--
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]