GitHub user gatorsmile opened a pull request: https://github.com/apache/spark/pull/13633
[SPARK-15912] [SQL] Replace getPartitionsByFilter by getPartitions in inputFiles of MetastoreRelation #### What changes were proposed in this pull request? Always returns the files of all the partitions when calling `inputFiles`. Thus, the implementation of `inputFiles` in `MetastoreRelation` does not need to call `getPartitionsByFilter`. Instead, we should call `getPartitions`. No test case is available for `inputFiles` API in `MetastoreRelation`. This PR also adds the missing test cases. #### How was this patch tested? See above. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gatorsmile/spark testCase4InputFiles Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/13633.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 #13633 ---- commit 77c8808e5325b04c54d5f7d7c043ad34a8b09477 Author: gatorsmile <gatorsm...@gmail.com> Date: 2016-06-13T05:43:51Z fix. ---- --- 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