danny0405 commented on code in PR #13078:
URL: https://github.com/apache/hudi/pull/13078#discussion_r2049813175
##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/client/model/AbstractHoodieRowData.java:
##########
@@ -59,6 +60,11 @@ public AbstractHoodieRowData(String commitTime,
this.row = row;
}
+ public void updateMetaField(int pos, String value) {
+ ValidationUtils.checkArgument(pos < metaColumnsNum, "Invalid position for
metadata field: " + pos);
+ metaColumns[pos] = value;
Review Comment:
let's try to make the row data immutabe, maybe add a `copy(String[]
metaColumns)` for it.
--
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]