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

Apache Spark reassigned SPARK-17712:
------------------------------------

    Assignee: Josh Rosen  (was: Apache Spark)

> Incorrect result due to invalid pushdown of data-independent filter beneath 
> aggregate
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-17712
>                 URL: https://issues.apache.org/jira/browse/SPARK-17712
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.2, 2.0.0, 2.0.2
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>            Priority: Minor
>              Labels: correctness
>
> Let {{diamonds}} be a non-empty table. The following two queries should both 
> return no rows, but the first returns a single row:
> {code}
> SELECT
> 1
> FROM (
>     SELECT
>     count(*)
>     FROM diamonds
> ) t1
> WHERE
> false
> {code}
> {code}
> SELECT
> 1
> FROM (
>     SELECT
>     *
>     FROM diamonds
> ) t1
> WHERE
> false
> {code}



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