parisni commented on code in PR #9053:
URL: https://github.com/apache/hudi/pull/9053#discussion_r1247703419
##########
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:
yes, the test has `height` column which is complex (array). But it did't
trigger an error, a simple columns did.
--
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]