diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-10-21 12:27:53 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-10-21 12:27:53 +0800 |
commit | 57e97fcbd6fe62af4acd60896feeacfa21efc222 (patch) | |
tree | 2e5a2459e7395a24fb13d9a75decbf8c53ef3f72 /python/docs/Makefile | |
parent | 3180272d2d49e440516085c0e4aebd5bad18bcad (diff) | |
download | spark-57e97fcbd6fe62af4acd60896feeacfa21efc222.tar.gz spark-57e97fcbd6fe62af4acd60896feeacfa21efc222.tar.bz2 spark-57e97fcbd6fe62af4acd60896feeacfa21efc222.zip |
[SPARK-18029][SQL] PruneFileSourcePartitions should not change the output of LogicalRelation
## What changes were proposed in this pull request?
In `PruneFileSourcePartitions`, we will replace the `LogicalRelation` with a pruned one. However, this replacement may change the output of the `LogicalRelation` if it doesn't have `expectedOutputAttributes`. This PR fixes it.
## How was this patch tested?
the new `PruneFileSourcePartitionsSuite`
Author: Wenchen Fan <wenchen@databricks.com>
Closes #15569 from cloud-fan/partition-bug.
Diffstat (limited to 'python/docs/Makefile')
0 files changed, 0 insertions, 0 deletions