File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments