spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-24369) A bug for multiple distinct aggregations
Date Wed, 23 May 2018 18:38:00 GMT

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

Xiao Li updated SPARK-24369:
----------------------------
    Description: 
{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}

  was:
SELECT corr(DISTINCT x, y), corr(DISTINCT y, x), count(*) FROM
(VALUES
   (1, 1),
   (2, 2),
   (2, 2)
) t(x, y)


> A bug for 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
>            Priority: Major
>
> {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


Mime
View raw message