Skip to content

Commit

Permalink
Update comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhuai committed Jan 12, 2015
1 parent 8b3a274 commit d42b707
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ class Analyzer(catalog: Catalog,

aggregateExprs.find { e =>
!isValidAggregateExpression(e.transform {
// Should trim aliases. These aliases can only be introduced while resolving unnamed
// expressions like `GetField` and UDF calls, because GROUP BY clause doesn't allow
// aliasing.
// Should trim aliases. These aliases can be introduced while resolving unnamed
// expressions like `GetField` and UDF calls, and when a user explicitly assigns
// an alias to a grouping expression in the SELECT clause.
case a: Alias => a.child
})
}.foreach { e =>
Expand Down

0 comments on commit d42b707

Please sign in to comment.