GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/19962
[SPARK-22767][SQL] use ctx.addReferenceObj in InSet and ScalaUDF
## What changes were proposed in this pull request?
We should not operate on `references` directly in `Expression.doGenCode`,
instead we should use the high-level API `addReferenceObj`.
## How was this patch tested?
existing tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark codegen
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19962.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 #19962
----
commit b8c068934d31f7ccacbc3b20cb2810bc67ccecd5
Author: Wenchen Fan <[email protected]>
Date: 2017-12-13T02:22:52Z
use ctx.addReferenceObj in InSet and ScalaUDF
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]