GitHub user juliuszsompolski opened a pull request:
https://github.com/apache/spark/pull/17703
[SPARK-20367] Properly unescape column names of partitioning columns parsed
from paths.
## What changes were proposed in this pull request?
When infering partitioning schema from paths, the column in
parsePartitionColumn should be unescaped with unescapePathName, just like it is
being done in e.g. parsePathFragmentAsSeq.
## How was this patch tested?
Added a test to FileIndexSuite.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/juliuszsompolski/apache-spark SPARK-20367
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17703.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 #17703
----
commit c9a7ca1064c20d216d9c0853854618fdcb9f8545
Author: Juliusz Sompolski <[email protected]>
Date: 2017-04-20T11:44:56Z
unescapePathName on the columnName parsed from partition path.
----
---
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]