Luka Zdravic created SPARK-61568:
------------------------------------

             Summary: Estimate the size of an ASOF JOIN from its left side
                 Key: SPARK-61568
                 URL: https://issues.apache.org/jira/browse/SPARK-61568
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.4.0
            Reporter: Luka Zdravic


AsOfJoin gets the default size estimate, the product of both sides. A LEFT ASOF 
JOIN returns exactly as many rows as its left side, and an INNER one at most 
that many. The product stops parent joins from broadcasting it and misleads 
cost-based choices.




--
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