GitHub user maropu opened a pull request:
https://github.com/apache/spark/pull/13442
[SPARK-15654][SQL] Check if all the input files are splittable in
FileSourceStrategy
## What changes were proposed in this pull request?
This pr is to check if all the input files are splittable in
FileSourceStrategy
because `LineRecordReader` in hadoop cannot split files compressed by some
codecs (e.g., gzip).
## How was this patch tested?
Added tests in FileSourceStrategySuite
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maropu/spark SPARK-15654
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13442.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 #13442
----
commit b8ba0f6109f84484bdf83962f2cb78ae1c93ede3
Author: Takeshi YAMAMURO <[email protected]>
Date: 2016-05-31T00:36:13Z
Fix a bug in FileSourceStrategy
commit 9992d6673f1eb568f7a0c3c9e2b90cf0ee2ac0d3
Author: Takeshi YAMAMURO <[email protected]>
Date: 2016-05-31T12:43:40Z
Fix a bug
commit 000811688f5313ff17ee93d80dce8de7c49a3f19
Author: Takeshi YAMAMURO <[email protected]>
Date: 2016-05-31T23:22:00Z
Add comments
commit 0685a9db5e8d28b2d8d7760fff1c1dce85a251ce
Author: Takeshi YAMAMURO <[email protected]>
Date: 2016-06-01T15:38:46Z
Add 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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]