You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "okumin (Jira)" <ji...@apache.org> on 2024/02/11 05:09:00 UTC
[jira] [Updated] (HIVE-27957) Better error message for STORED BY
[ https://issues.apache.org/jira/browse/HIVE-27957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
okumin updated HIVE-27957:
--------------------------
Status: Patch Available (was: Open)
> 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
> 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)