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

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

Wenchen Fan created SPARK-16644:
-----------------------------------

             Summary: 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org