GitHub user liancheng opened a pull request:
https://github.com/apache/spark/pull/13431
[SPARK-14343][SQL] Proper column pruning for text data source
## What changes were proposed in this pull request?
Text data source ignores requested schema, and may give wrong result when
the only data column is not requested. This may happen when only partitioning
column(s) are requested for a partitioned text table.
## How was this patch tested?
New test case added in `TextSuite`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liancheng/spark
spark-14343-partitioned-text-table
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13431.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 #13431
----
commit 1074fa61d5d2dd3f690a58a3a69150adc7db974a
Author: Cheng Lian <[email protected]>
Date: 2016-06-01T05:40:27Z
Proper column pruning for text data source
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]