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/21 01:48:20 UTC
[jira] [Resolved] (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 resolved SPARK-16644.
------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request 14281
[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
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Wenchen Fan
> Fix For: 2.0.0
>
>
> {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