diff options
author | Juliusz Sompolski <julek@databricks.com> | 2017-04-21 09:49:42 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2017-04-21 09:49:42 +0800 |
commit | 0368eb9d86634c83b3140ce3190cb9e0d0b7fd86 (patch) | |
tree | 5e065ab20c9b78b738d082eedc9d5b287fefa44c /sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionStateBuilder.scala | |
parent | 592f5c89349f3c5b6ec0531c6514b8f7d95ad8da (diff) | |
download | spark-0368eb9d86634c83b3140ce3190cb9e0d0b7fd86.tar.gz spark-0368eb9d86634c83b3140ce3190cb9e0d0b7fd86.tar.bz2 spark-0368eb9d86634c83b3140ce3190cb9e0d0b7fd86.zip |
[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.
Author: Juliusz Sompolski <julek@databricks.com>
Closes #17703 from juliuszsompolski/SPARK-20367.
Diffstat (limited to 'sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionStateBuilder.scala')
0 files changed, 0 insertions, 0 deletions