GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/20476
[SPARK-23301][SQL] data source column pruning should work for arbitrary
expressions
## What changes were proposed in this pull request?
This PR fixes a mistake in the `PushDownOperatorsToDataSource` rule, the
column pruning logic is incorrect about `Project`.
## How was this patch tested?
a new test case for column pruning with arbitrary expressions, and improve
the existing tests to make sure the `PushDownOperatorsToDataSource` really
works.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark push-down
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20476.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 #20476
----
commit 353dd6bc60ce7123c392d7b51a496d45b1d7ab5c
Author: Wenchen Fan <wenchen@...>
Date: 2018-02-01T12:02:23Z
data source column pruning should work for arbitrary expressions
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]