[ 
https://issues.apache.org/jira/browse/HIVE-27957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835621#comment-17835621
 ] 

Denys Kuzmenko commented on HIVE-27957:
---------------------------------------

Merged to master
[~okumin], thanks for the patch and [~abstractdog], [~akshatm] for the review!

> 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: Shohei Okumiya
>            Assignee: Shohei Okumiya
>            Priority: Major
>              Labels: pull-request-available
>
> 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