Wenchen Fan created SPARK-16639:
-----------------------------------

             Summary: query fails if having condition contains grouping column
                 Key: SPARK-16639
                 URL: https://issues.apache.org/jira/browse/SPARK-16639
             Project: Spark
          Issue Type: Bug
            Reporter: Wenchen Fan


{code}
create table tbl(a int, b string);
select count(b) from tbl group by a + 1 having a + 1 = 2;
{code}

this will fail analysis



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to