You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2016/07/20 18:22:20 UTC

[jira] [Updated] (SPARK-16644) constraints propagation may fail the query

     [ https://issues.apache.org/jira/browse/SPARK-16644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yin Huai updated SPARK-16644:
-----------------------------
    Affects Version/s: 2.0.0
     Target Version/s: 2.0.0

> constraints propagation may fail the query
> ------------------------------------------
>
>                 Key: SPARK-16644
>                 URL: https://issues.apache.org/jira/browse/SPARK-16644
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org