You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Anne Yu (JIRA)" <ji...@apache.org> on 2015/05/06 07:20:00 UTC
[jira] [Created] (HIVE-10622) Hive doc error: 'from' is a keyword,
when use it as a column name throw error.
Anne Yu created HIVE-10622:
------------------------------
Summary: Hive doc error: 'from' is a keyword, when use it as a column name throw error.
Key: HIVE-10622
URL: https://issues.apache.org/jira/browse/HIVE-10622
Project: Hive
Issue Type: Bug
Components: Documentation
Affects Versions: 1.1.1
Reporter: Anne Yu
Fix For: 1.1.1
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML, Use "from" as a column name in create table, throw error.
{code}
CREATE TABLE pageviews (userid VARCHAR(64), link STRING, from STRING)
PARTITIONED BY (datestamp STRING) CLUSTERED BY (userid) INTO 256 BUCKETS STORED AS ORC;
Error: Error while compiling statement: FAILED: ParseException line 1:57 cannot recognize input near 'from' 'STRING' ')' in column specification (state=42000,code=40000)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)