[
https://issues.apache.org/jira/browse/HIVE-10597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529107#comment-14529107
]
Sergio Peña commented on HIVE-10597:
------------------------------------
[~sircodesalot] Could you add a q-test for this scenario?
> Relative path doesn't work with CREATE TABLE LOCATION 'relative/path'
> ---------------------------------------------------------------------
>
> Key: HIVE-10597
> URL: https://issues.apache.org/jira/browse/HIVE-10597
> Project: Hive
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: Reuben Kuhnert
> Assignee: Reuben Kuhnert
> Priority: Minor
> Attachments: HIVE-10597.01.patch, HIVE-10597.02.patch
>
>
> {code}
> 0: jdbc:hive2://a2110.halxg.cloudera.com:1000> CREATE EXTERNAL TABLE IF NOT
> EXISTS mydb.employees3 like mydb.employees LOCATION 'data/stock';
> Error: Error while processing statement: FAILED: Execution Error, return code
> 1 from org.apache.hadoop.hive.ql.exec.DDLTask.
> MetaException(message:java.lang.NullPointerException) (state=08S01,code=1)
> 0: jdbc:hive2://a2110.halxg.cloudera.com:1000> CREATE EXTERNAL TABLE IF NOT
> EXISTS mydb.employees3 like mydb.employees LOCATION '/user/hive/data/stock';
> No rows affected (0.369 seconds)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)