Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17874#discussion_r115135600
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
 ---
    @@ -1023,8 +1023,6 @@ class Analyzer(
        * clause.  This rule detects such queries and adds the required 
attributes to the original
        * projection, so that they will be available during sorting. Another 
projection is added to
        * remove these attributes after sorting.
    -   *
    -   * The HAVING clause could also used a grouping columns that is not 
presented in the SELECT.
    --- End diff --
    
    This is by design. 


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