diff options
author | Cheng Lian <lian@databricks.com> | 2015-05-21 10:56:17 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2015-05-21 10:56:17 -0700 |
commit | 8730fbb47b09fcf955fe16dd03b75596db6d53b6 (patch) | |
tree | eeb6bd4c9d95011f52ce8a7f522dc8e1e32608ff /R/WINDOWS.md | |
parent | 13348e21b6b1c0df42c18b82b86c613291228863 (diff) | |
download | spark-8730fbb47b09fcf955fe16dd03b75596db6d53b6.tar.gz spark-8730fbb47b09fcf955fe16dd03b75596db6d53b6.tar.bz2 spark-8730fbb47b09fcf955fe16dd03b75596db6d53b6.zip |
[SPARK-7749] [SQL] Fixes partition discovery for non-partitioned tables
When no partition columns can be found, we should have an empty `PartitionSpec`, rather than a `PartitionSpec` with empty partition columns.
This PR together with #6285 should fix SPARK-7749.
Author: Cheng Lian <lian@databricks.com>
Author: Yin Huai <yhuai@databricks.com>
Closes #6287 from liancheng/spark-7749 and squashes the following commits:
a799ff3 [Cheng Lian] Adds test cases for SPARK-7749
c4949be [Cheng Lian] Minor refactoring, and tolerant _TEMPORARY directory name
5aa87ea [Yin Huai] Make parsePartitions more robust.
fc56656 [Cheng Lian] Returns empty PartitionSpec if no partition columns can be inferred
19ae41e [Cheng Lian] Don't list base directory as leaf directory
Diffstat (limited to 'R/WINDOWS.md')
0 files changed, 0 insertions, 0 deletions