GitHub user cloud-fan opened a pull request: https://github.com/apache/spark/pull/19424
[SPARK-22197][SQL] push down operators to data source before planning ## What changes were proposed in this pull request? As we discussed in https://github.com/apache/spark/pull/19136#discussion_r137023744 , we should push down operators to data source before planning, so that data source can report statistics more accurate. ## 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 follow Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/19424.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 #19424 ---- commit 571fad95c2dac6f70840da9c68cfb1be1358ecaf Author: Wenchen Fan <wenc...@databricks.com> Date: 2017-09-27T12:50:15Z improve documents and minor clean up commit 75457f608b9068ad1b3b3eb129f14d4e1b4ed946 Author: Wenchen Fan <wenc...@databricks.com> Date: 2017-10-04T01:37:25Z push down operators to data source before planning ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org