Skip to content

Commit e376c19

Browse files
committed
fix ut failure
1 parent 1c7cae6 commit e376c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/test/scala/org/apache/spark/sql/ConfigBehaviorSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ConfigBehaviorSuite extends QueryTest with SharedSQLContext {
3939
def computeChiSquareTest(): Double = {
4040
val n = 10000
4141
// Trigger a sort
42-
val data = spark.range(0, n, 1, 1).sort('id)
42+
val data = spark.range(0, n, 1, 1).sort('id.desc)
4343
.selectExpr("SPARK_PARTITION_ID() pid", "id").as[(Int, Long)].collect()
4444

4545
// Compute histogram for the number of records per partition post sort

0 commit comments

Comments
 (0)