okumin created HIVE-27957:
-----------------------------

             Summary: Better error message for STORED BY
                 Key: HIVE-27957
                 URL: https://issues.apache.org/jira/browse/HIVE-27957
             Project: Hive
          Issue Type: Improvement
    Affects Versions: 4.0.0-beta-1
            Reporter: okumin
            Assignee: okumin


We'd like to see a little kinder message when an invalid identifier or literal 
is given. It is confusing especially when I mistakenly type STORED BY instead 
of STORED AS.
{code:java}
0: jdbc:hive2://hive-hiveserver2:10000/defaul> CREATE TABLE test (a STRING) 
STORED BY ORC TBLPROPERTIES ("orc.compress"="ZSTD");
Error: Error while compiling statement: FAILED: SemanticException Cannot find 
class '' (state=42000,code=40000){code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to