spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Li (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-20908) Cache Manager: Hint should be ignored in plan matching
Date Sun, 28 May 2017 04:35:04 GMT

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

Xiao Li resolved SPARK-20908.
-----------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

> Cache Manager: Hint should be ignored in plan matching
> ------------------------------------------------------
>
>                 Key: SPARK-20908
>                 URL: https://issues.apache.org/jira/browse/SPARK-20908
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.1, 2.2.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>             Fix For: 2.2.0
>
>
> In Cache manager, the plan matching should ignore Hint. 
> {noformat}
>       val df1 = spark.range(10).join(broadcast(spark.range(10)))
>       df1.cache()
>       spark.range(10).join(spark.range(10)).explain()
> {noformat}
> The output plan of the above query shows that the second query is  not using the cached
data of the first query.
> {noformat}
> BroadcastNestedLoopJoin BuildRight, Inner
> :- *Range (0, 10, step=1, splits=2)
> +- BroadcastExchange IdentityBroadcastMode
>    +- *Range (0, 10, step=1, splits=2)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message