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


##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/client/model/HoodieFlinkRecord.java:
##########
@@ -96,7 +99,7 @@ public HoodieOperation getOperation() {
   @Override
   protected Comparable<?> doGetOrderingValue(Schema recordSchema, Properties 
props) {
     String orderingField = ConfigUtils.getOrderingField(props);
-    if (isNullOrEmpty(orderingField)) {
+    if (isNullOrEmpty(orderingField) || recordSchema.getField(orderingField) 
== null) {

Review Comment:
   Is this because of the schema evolution?



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