GitHub user petermaxlee opened a pull request: https://github.com/apache/spark/pull/14120
[SPARK-16199][SQL] Add a method to list the referenced columns in data source Filter ## What changes were proposed in this pull request? It would be useful to support listing the columns that are referenced by a filter. This can help simplify data source planning, because with this we would be able to implement unhandledFilters method in HadoopFsRelation. This is based on @rxin's patch (#13901) and adds unit tests. ## How was this patch tested? Added a new suite FiltersSuite. You can merge this pull request into a Git repository by running: $ git pull https://github.com/petermaxlee/spark SPARK-16199 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/14120.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 #14120 ---- commit 846c0e4ddec35352b07c9a4f72769bcceecfa25e Author: Reynold Xin <r...@databricks.com> Date: 2016-06-24T22:55:35Z [SPARK-16199][SQL] Add a method to list the referenced columns in data source Filter commit 5c8978ebf77e60f0ab890f7e7756ed5930fba128 Author: petermaxlee <petermax...@gmail.com> Date: 2016-07-09T21:22:50Z Merge pull request #13901 from rxin/SPARK-16199 [SPARK-16199][SQL] Add a method to list the referenced columns in data source Filter commit 795b92722e992b0eff6069f1763766cc0fdd70f1 Author: petermaxlee <petermax...@gmail.com> Date: 2016-07-09T21:34:25Z Added unit tests ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org