parisni commented on code in PR #9053:
URL: https://github.com/apache/hudi/pull/9053#discussion_r1247037719
##########
hudi-client/hudi-spark-client/src/main/scala/org/apache/spark/sql/hudi/execution/RangeSample.scala:
##########
@@ -316,6 +316,8 @@ object RangeSampleSort {
HoodieClusteringConfig.LAYOUT_OPTIMIZE_BUILD_CURVE_SAMPLE_SIZE.defaultValue.toString).toInt
val sample = new RangeSample(zOrderBounds, sampleRdd)
val rangeBounds = sample.getRangeBounds()
+ if (rangeBounds.size <= 1)
Review Comment:
likely this one was not failing, still added a short path to avoid sorting
--
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]