You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "XiDuo You (Jira)" <ji...@apache.org> on 2022/07/05 09:24:00 UTC

[jira] [Created] (SPARK-39679) TakeOrderedAndProjectExec should respect child output ordering

XiDuo You created SPARK-39679:
---------------------------------

             Summary: TakeOrderedAndProjectExec should respect child output ordering
                 Key: SPARK-39679
                 URL: https://issues.apache.org/jira/browse/SPARK-39679
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: XiDuo You


TakeOrderedAndProjectExec should respect child output ordering to avoid unnecessary sort. For example:  TakeOrderedAndProjectExec on the top of SortMergeJoin.
{code:java}
SELECT * FROM t1 JOIN t2 ON t1.c1 = t2.c2 ORDER BY t1.c1 LIMIT 100;
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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