GitHub user DoingDone9 opened a pull request:
https://github.com/apache/spark/pull/5972
[SPARK-7437][SQL] Fold "literal in (item1, item2, ..., literal, ...)" into
false directly if not in.
Just Fold "literal in (item1, item2, ..., literal, ...)" into true directly
if in
```
case In(Literal(v, _), list) if list.exists {
case Literal(candidate, _) if candidate == v => true
case _ => false
} => Literal.create(true, BooleanType)
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/DoingDone9/spark InToFalse
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5972.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 #5972
----
commit c3f046f8de7c418d4aa7e74afea9968a8baf9231
Author: DoingDone9 <[email protected]>
Date: 2015-03-02T02:11:18Z
Merge pull request #1 from apache/master
merge lastest spark
commit cb1852d14f62adbd194b1edda4ec639ba942a8ba
Author: DoingDone9 <[email protected]>
Date: 2015-03-05T07:05:10Z
Merge pull request #2 from apache/master
merge lastest spark
commit c87e8b6d8cb433376a7d14778915006c31f6c01c
Author: DoingDone9 <[email protected]>
Date: 2015-03-10T07:46:12Z
Merge pull request #3 from apache/master
merge lastest spark
commit 161cae3a29951d793ce721f9904888bd9529de72
Author: DoingDone9 <[email protected]>
Date: 2015-03-12T06:46:28Z
Merge pull request #4 from apache/master
merge lastest spark
commit 98b134f39ca57f11a5b761c7b9e5f8a7477bd069
Author: DoingDone9 <[email protected]>
Date: 2015-03-19T09:00:07Z
Merge pull request #5 from apache/master
merge lastest spark
commit d00303b7af9436b9bd6d6d27d411a5c8a2e2294d
Author: DoingDone9 <[email protected]>
Date: 2015-03-24T08:43:44Z
Merge pull request #6 from apache/master
merge lastest spark
commit 802261c043f56bd5ebe9e46b15e33cdc7c212176
Author: DoingDone9 <[email protected]>
Date: 2015-03-26T02:21:24Z
Merge pull request #7 from apache/master
merge lastest spark
commit 34b1a9a8a30f689b41fd52b8a10c08666c2ff2b5
Author: Zhongshuai Pei <[email protected]>
Date: 2015-04-08T07:55:24Z
Merge pull request #8 from apache/master
merge lastest spark
commit f61210c03f693a266969e06c52c23ccd1bfe3e1b
Author: Zhongshuai Pei <[email protected]>
Date: 2015-04-17T09:10:48Z
Merge pull request #9 from apache/master
merge lastest spark
commit f12fa50a675ed490be728c2b0389db47a8a0f990
Author: Zhongshuai Pei <[email protected]>
Date: 2015-04-21T06:23:53Z
Merge pull request #10 from apache/master
merge lastest spark
commit f03fe7f9cff7a60b535ce8e33310655294e8b4a2
Author: Zhongshuai Pei <[email protected]>
Date: 2015-04-29T06:17:58Z
Merge pull request #12 from apache/master
merge lastest spark
commit 14952e2cdcc23039cc2957d05bc431fb0651cdb3
Author: Zhongshuai Pei <[email protected]>
Date: 2015-05-07T06:50:48Z
Merge pull request #13 from apache/master
merge lastest spark
commit 2e8f6ca4342713da88392bb9b0b9d5221e7ad406
Author: Zhongshuai Pei <[email protected]>
Date: 2015-05-07T06:55:18Z
Update Optimizer.scala
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]