diff options
author | windpiger <songjun@outlook.com> | 2017-03-09 01:18:17 -0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2017-03-09 01:18:17 -0800 |
commit | 274973d2a32ff4eb28545b50a3135e4784eb3047 (patch) | |
tree | 0d6cf8fbffecaf912d561c66ac2ae1df296cdca0 /python/pyspark/daemon.py | |
parent | eeb1d6db878641d9eac62d0869a90fe80c1f4461 (diff) | |
download | spark-274973d2a32ff4eb28545b50a3135e4784eb3047.tar.gz spark-274973d2a32ff4eb28545b50a3135e4784eb3047.tar.bz2 spark-274973d2a32ff4eb28545b50a3135e4784eb3047.zip |
[SPARK-19763][SQL] qualified external datasource table location stored in catalog
## What changes were proposed in this pull request?
If we create a external datasource table with a non-qualified location , we should qualified it to store in catalog.
```
CREATE TABLE t(a string)
USING parquet
LOCATION '/path/xx'
CREATE TABLE t1(a string, b string)
USING parquet
PARTITIONED BY(b)
LOCATION '/path/xx'
```
when we get the table from catalog, the location should be qualified, e.g.'file:/path/xxx'
## How was this patch tested?
unit test added
Author: windpiger <songjun@outlook.com>
Closes #17095 from windpiger/tablepathQualified.
Diffstat (limited to 'python/pyspark/daemon.py')
0 files changed, 0 insertions, 0 deletions