Skip to content

Commit

Permalink
Update comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
beliefer committed Jul 13, 2020
1 parent 12e6fbc commit d531864
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -288,7 +288,7 @@ object RewriteDistinctAggregates extends Rule[LogicalPlan] {
case e if filter.isDefined =>
val ife = If(filter.get, e, nullify(e))
e -> Alias(ife, s"_gen_attr_${NamedExpression.newExprId.id}")()
// For convenience and unification, we always alias the distinct column, even if
// For convenience and unification, we always alias the column, even if
// there is no filter.
case e => e -> Alias(e, s"_gen_attr_${NamedExpression.newExprId.id}")()
}
Expand Down

0 comments on commit d531864

Please sign in to comment.