Luka Zdravic created SPARK-61567:
------------------------------------

             Summary: Remove sorts below ASOF JOIN inputs
                 Key: SPARK-61567
                 URL: https://issues.apache.org/jira/browse/SPARK-61567
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.4.0
            Reporter: Luka Zdravic


EliminateSorts removes a Sort under a Join input but skips AsOfJoin. The ASOF 
join shuffles and sorts its inputs itself, so a sort inside an input, e.g. a 
CTE with ORDER BY ts, is wasted.




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to