Skip to content

Commit

Permalink
cleaned the comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
gatorsmile committed Mar 3, 2016
1 parent 5d8923c commit b1925e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ class SQLBuilder(logicalPlan: LogicalPlan, sqlContext: SQLContext) extends Loggi

val groupingSet = expand.projections.map { project =>
// Assumption: expand.projections are composed of
// 1) the original output (project.child.output),
// 1) the original output (Project's child.output),
// 2) group by attributes(or null literal)
// 3) gid, which is always the last one in each project
// 3) gid, which is always the last one in each project in Expand
project.dropRight(1).collect {
case attr: Attribute if groupByAttrMap.contains(attr) => groupByAttrMap(attr)
}
Expand Down

0 comments on commit b1925e5

Please sign in to comment.