You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (JIRA)" <ji...@apache.org> on 2019/04/26 20:42:00 UTC

[jira] [Updated] (SPARK-27580) Implement `doCanonicalize` in BatchScanExec for comparing query plan results

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

Gengliang Wang updated SPARK-27580:
-----------------------------------
    Summary: Implement `doCanonicalize` in BatchScanExec for comparing query plan results  (was: Implement `doCanonicalize` for BatchScanExec)

> Implement `doCanonicalize` in BatchScanExec for comparing query plan results
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-27580
>                 URL: https://issues.apache.org/jira/browse/SPARK-27580
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Gengliang Wang
>            Priority: Major
>
> The method `QueryPlan.sameResult` is used for comparing logical plans in order to:
> 1. cache data in CacheManager
> 2. uncache data in CacheManager
> 3. Reuse subqueries
> 4. etc...
> Currently the method `sameReuslt` always return false for `BatchScanExec`. We should fix it by implementing `doCanonicalize` for the node.



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