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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to