GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/19523
[SPARK-22301][SQL] Add rule to Optimizer for In with empty list of vaâ¦
## What changes were proposed in this pull request?
For performance reason, we should resolve in operation on an empty list as
false in the optimizations phase, ad discussed in #19522.
## How was this patch tested?
Added UT
cc @gatorsmile
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-22301
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19523.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 #19523
----
commit 9aa74dd65d76725415e4eaaf5452a90f62802a8d
Author: Marco Gaido <[email protected]>
Date: 2017-10-17T21:41:00Z
[SPARK-22301][SQL] Add rule to Optimizer for In with empty list of values
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]