You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2015/12/08 21:09:11 UTC

[jira] [Created] (SPARK-12213) Query with only one distinct should not having on expand

Davies Liu created SPARK-12213:
----------------------------------

             Summary: 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
            Reporter: Davies Liu


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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org