GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/21223
[SPARK-24166][SQL] InMemoryTableScanExec should not access SQLConf at
executor side
## What changes were proposed in this pull request?
This PR is extracted from https://github.com/apache/spark/pull/21190 , to
make it easier to backport.
`InMemoryTableScanExec#createAndDecompressColumn` is executed inside
`rdd.map`, we can't access `conf.offHeapColumnVectorEnabled` there.
## How was this patch tested?
it's tested in #21190
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark minor1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21223.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 #21223
----
commit d900b4c04f5def9bac6cec33c1c7753761a19658
Author: Wenchen Fan <wenchen@...>
Date: 2018-05-03T05:03:23Z
InMemoryTableScanExec should not access SQLConf at executor side
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]