[ 
https://issues.apache.org/jira/browse/SPARK-16644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385538#comment-15385538
 ] 

Apache Spark commented on SPARK-16644:
--------------------------------------

User 'cloud-fan' has created a pull request for this issue:
https://github.com/apache/spark/pull/14281

> constraints propagation may fail the query
> ------------------------------------------
>
>                 Key: SPARK-16644
>                 URL: https://issues.apache.org/jira/browse/SPARK-16644
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Wenchen Fan
>
> {code}
> create table(a int, b int);
> select
>   a,
>   max(b) as c1,
>   b as c2
> from tbl
> where a = b
> group by a, b
> having c1 = 1
> {code}
> this query fails in 2.0, but works in 1.6



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