[jira] [Resolved] (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 ] Xiao Li resolved SPARK-24369. - Resolution: Fixed Assignee: Wenchen Fan (was: Takeshi Yamamuro) Fix Version/s: 2.4.0 2.3.2 > 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: Wenchen Fan >Priority: Major > Fix For: 2.3.2, 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Resolved] (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 ] Wenchen Fan resolved SPARK-24369. - Resolution: Fixed Fix Version/s: 2.3.1 2.4.0 Issue resolved by pull request 21443 [https://github.com/apache/spark/pull/21443] > 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, 2.3.1 > > > {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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org