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:24:06 UTC

[jira] [Updated] (SPARK-12161) SparkSQL Cache Matching Improvement

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

Hyukjin Kwon updated SPARK-12161:
---------------------------------
    Labels: bulk-closed  (was: )

> SparkSQL Cache Matching Improvement
> -----------------------------------
>
>                 Key: SPARK-12161
>                 URL: https://issues.apache.org/jira/browse/SPARK-12161
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Jiang Chen
>            Priority: Major
>              Labels: bulk-closed
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Right now SparkSQL CacheManager can only map incoming query with cached query when they are exactly the same. That is to say, for the following query pattern:
> - Query 1: CACHE TABLE first AS SELECT * FROM table A where A.id >100 AND A.id < 200;
> - Query 2:  SELECT * FROM table A where A.id < 200 AND A.id > 100;
> Query 2 cannot utilize the cache result of query 1, although query 1 and query 2 are the same if ignoring the order of the predicates.
> Ideally, for all incoming queries, we'd like to ignore the order of predicates when matching them with the cached queries.



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