GitHub user jaceklaskowski opened a pull request:
https://github.com/apache/spark/pull/20405
[SPARK-23229][SQL] Dataset.hint should use planWithBarrier logical plan
## What changes were proposed in this pull request?
Every time `Dataset.hint` is used it triggers execution of logical
commands, their unions and hint resolution (among other things that analyzer
does).
`hint` should use `planWithBarrier` instead.
Fixes https://issues.apache.org/jira/browse/SPARK-23229
## How was this patch tested?
Existing unit tests, local build + awaiting Jenkins
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jaceklaskowski/spark
SPARK-23229-hint-planWithBarrier
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20405.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20405
----
commit 47bb245353202208f2c41634c3796c8e4d2be663
Author: Jacek Laskowski <jacek@...>
Date: 2018-01-26T11:20:48Z
[SPARK-23229][SQL] Dataset.hint should use planWithBarrier logical plan
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]