JingsongLi commented on code in PR #2010:
URL: https://github.com/apache/incubator-paimon/pull/2010#discussion_r1325614681


##########
paimon-core/src/main/java/org/apache/paimon/mergetree/compact/PartialUpdateMergeFunction.java:
##########
@@ -214,7 +214,10 @@ private Factory(Options options, RowType rowType) {
                                                             "Field %s is 
defined repeatedly by multiple groups: %s",
                                                             
fieldNames.get(field), k));
                                         }
-                                        fieldSequences.put(field, sequenceGen);
+
+                                        if (field >= 0) {

Review Comment:
   I think better way is throw an exception with meaningful message?



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