Skip to content

Commit 973402b

Browse files
committed
Update comments
1 parent b33fde8 commit 973402b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/PruningSuite.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,8 @@ class PruningSuite extends HiveComparisonTest with BeforeAndAfter {
164164
assert(actualOutputColumns === expectedOutputColumns, "Output columns mismatch")
165165

166166
// Scanned columns in `HiveTableScanExec` are generated by the `pruneFilterProject` method
167-
// in `SparkPlanner` that internally uses `AttributeSet.toSeq`.
168-
// Since we change an output order of `AttributeSet.toSeq` in SPARK-18394,
169-
// we need to sort column names for a test below.
167+
// in `SparkPlanner`. This method internally uses `AttributeSet.toSeq`, in which
168+
// the returned output columns are sorted by the names and expression ids.
170169
assert(actualScannedColumns.sorted === expectedScannedColumns.sorted,
171170
"Scanned columns mismatch")
172171

0 commit comments

Comments
 (0)