Song Jun created SPARK-19917:
--------------------------------
Summary: qualified partition location stored in catalog
Key: SPARK-19917
URL: https://issues.apache.org/jira/browse/SPARK-19917
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.2.0
Reporter: Song Jun
partition path should be qualified to store in catalog.
There are some scenes:
1. ALTER TABLE t PARTITION(b=1) SET LOCATION '/path/x'
qualified: file:/path/x
2. ALTER TABLE t PARTITION(b=1) SET LOCATION 'x'
qualified: file:/tablelocation/x
3. ALTER TABLE t ADD PARTITION(b=1) LOCATION '/path/x'
qualified: file:/path/x
4. ALTER TABLE t ADD PARTITION(b=1) LOCATION 'x'
qualified: file:/tablelocation/x
Currently only ALTER TABLE t ADD PARTITION(b=1) LOCATION for hive serde table
has the expected qualified path. we should make other scenes to be consist with
it.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]