Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/6261#discussion_r32120057
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/planning/patterns.scala
---
@@ -143,11 +143,11 @@ object PartialAggregation {
// We need to pass all grouping expressions though so the grouping
can happen a second
// time. However some of them might be unnamed so we alias them
allowing them to be
// referenced in the second aggregation.
- val namedGroupingExpressions: Map[Expression, NamedExpression] =
+ val namedGroupingExpressions: Seq[(Expression, NamedExpression)] =
--- End diff --
Is this for expressions like `Coalesce` whose children order is sensitive?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]