Github user chenghao-intel commented on the pull request:

    https://github.com/apache/spark/pull/4075#issuecomment-70433855
  
    Well, actually it will be widely optimized.
    e.g. `SELECT MAX(a), MAX(b) FROM t1 GROUP BY a, b GROUPING SETS (a, b)`
    It will produces 2 `GroupExpression`s:
    `MAX(Literal(null)), MAX(b)` and MAX(a), MAX(Literal(null))` and eventually 
it turns to
    `null, MAX(b)` and `MAX(a), null`.


---
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]

Reply via email to