Reuben Kuhnert created HIVE-10597:
-------------------------------------

             Summary: 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
            Reporter: Reuben Kuhnert
            Assignee: Reuben Kuhnert
            Priority: Critical


{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)

Reply via email to