[ https://issues.apache.org/jira/browse/SPARK-12213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yin Huai resolved SPARK-12213. ------------------------------ Resolution: Fixed Fix Version/s: 2.0.0 Issue resolved by pull request 10228 [https://github.com/apache/spark/pull/10228] > Query with only one distinct should not having on expand > -------------------------------------------------------- > > Key: SPARK-12213 > URL: https://issues.apache.org/jira/browse/SPARK-12213 > Project: Spark > Issue Type: Improvement > Components: SQL > Reporter: Davies Liu > Assignee: Davies Liu > Fix For: 2.0.0 > > > Expand will double the number of records, slow down projection and > aggregation, it's better to generate a plan without Expand for a query with > only one distinct (for example, ss_max in TPCDS) -- 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