KiteSoar commented on code in PR #17772:
URL: https://github.com/apache/hudi/pull/17772#discussion_r2674721643


##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/client/model/HoodieFlinkRecord.java:
##########
@@ -95,21 +95,21 @@ public HoodieRecord<RowData> newInstance(HoodieKey key) {
   }
 
   @Override
-  protected Comparable<?> doGetOrderingValue(Schema recordSchema, Properties 
props, String[] orderingFields) {
+  protected Comparable<?> doGetOrderingValue(HoodieSchema recordSchema, 
Properties props, String[] orderingFields) {
     if (orderingFields == null) {
       return OrderingValues.getDefault();
     } else {
       return OrderingValues.create(orderingFields, field -> {
         if (recordSchema.getField(field) == null) {

Review Comment:
   good catch! I have already added unit tests to cover this method



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