yihua commented on code in PR #12772:
URL: https://github.com/apache/hudi/pull/12772#discussion_r2366116376
##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/hudi/BaseSparkInternalRowReaderContext.java:
##########
@@ -151,4 +152,10 @@ public Comparable convertValueToEngineType(Comparable
value) {
}
return value;
}
+
+ @Override
+ public int compareValues(Comparable a, Comparable b) {
+ // [SPARK-46832] UTF8String doesn't support compareTo anymore
+ return SparkSortUtils.compareValues(a, b);
Review Comment:
I see. Let's let it as is. We can fix it if there is noticeable
performance overhead.
--
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]