You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2018/06/01 20:32:00 UTC

[jira] [Updated] (SPARK-24369) A bug when having multiple distinct aggregations

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

Marcelo Vanzin updated SPARK-24369:
-----------------------------------
    Fix Version/s:     (was: 2.3.1)

> A bug when having multiple distinct aggregations
> ------------------------------------------------
>
>                 Key: SPARK-24369
>                 URL: https://issues.apache.org/jira/browse/SPARK-24369
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Xiao Li
>            Assignee: Takeshi Yamamuro
>            Priority: Major
>             Fix For: 2.4.0
>
>
> {code}
> SELECT corr(DISTINCT x, y), corr(DISTINCT y, x), count(*) FROM
> (VALUES
>    (1, 1),
>    (2, 2),
>    (2, 2)
> ) t(x, y)
> {code}
> It returns 
> {code}
> java.lang.RuntimeException
> You hit a query analyzer bug. Please report your query to Spark user mailing list.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org