Skip to content

Commit aa263d7

Browse files
committed
Expand.projections should not be a Stream
1 parent 55d5fa7 commit aa263d7

File tree

1 file changed

+1
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ class Analyzer(
268268
* We need to get all of its subsets for the rule described above, the subset is
269269
* represented as sequence of expressions.
270270
*/
271-
def rollupExprs(exprs: Seq[Expression]): Seq[Seq[Expression]] = exprs.inits.toSeq
271+
def rollupExprs(exprs: Seq[Expression]): Seq[Seq[Expression]] = exprs.inits.toIndexedSeq
272272

273273
/*
274274
* GROUP BY a, b, c WITH CUBE

0 commit comments

Comments
 (0)