You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:16:43 UTC

[jira] [Resolved] (SPARK-20215) ReuseExchange is boken in SparkSQL

     [ https://issues.apache.org/jira/browse/SPARK-20215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-20215.
----------------------------------
    Resolution: Incomplete

> ReuseExchange is boken in SparkSQL
> ----------------------------------
>
>                 Key: SPARK-20215
>                 URL: https://issues.apache.org/jira/browse/SPARK-20215
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Zhan Zhang
>            Priority: Minor
>              Labels: bulk-closed
>
> Currently if we have query like: A join B Union A join C... with the same join key. Table A will be scanned multiple times in sql. It is because the megastoreRelation are not shared by two joins, and ExprId is different.  canonicalized in Expression will not be able to unify them and two Exchange will not compatible and cannot be reused.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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