You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Raghotham Murthy (JIRA)" <ji...@apache.org> on 2009/04/08 19:58:12 UTC
[jira] Created: (HIVE-398) column comments not supported in ADD
COLUMNS and REPLACE COLUMNS statements
column comments not supported in ADD COLUMNS and REPLACE COLUMNS statements
---------------------------------------------------------------------------
Key: HIVE-398
URL: https://issues.apache.org/jira/browse/HIVE-398
Project: Hadoop Hive
Issue Type: Bug
Components: Query Processor
Affects Versions: 0.2.0, 0.3.0, 0.3.1, 0.4.0
Reporter: Raghotham Murthy
Priority: Minor
The error message is also broken.
hive> create table tmp_rs(a int);
OK
Time taken: 0.057 seconds
hive> *alter table tmp_rs add columns (b int);* <----- succeeds
OK
Time taken: 0.126 seconds
hive> *alter table tmp_rs add columns (c int 'test');* <------ fails
FAILED: Parse Error: line 2:19 mismatched input 'add' expecting SET in alter serdes statement
Time taken: 0.0090 seconds
hive> *alter table tmp_rs replace columns (c int);* <----- succeeds
OK
Time taken: 0.096 seconds
hive> *alter table tmp_rs replace columns (c int 'test');* <----- fails
FAILED: Parse Error: line 2:19 mismatched input 'replace' expecting SET in alter serdes statement
Time taken: 0.01 seconds
hive>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-398) column comments not supported in ADD
COLUMNS and REPLACE COLUMNS statements
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shao updated HIVE-398:
----------------------------
Issue Type: Improvement (was: Bug)
> column comments not supported in ADD COLUMNS and REPLACE COLUMNS statements
> ---------------------------------------------------------------------------
>
> Key: HIVE-398
> URL: https://issues.apache.org/jira/browse/HIVE-398
> Project: Hadoop Hive
> Issue Type: Improvement
> Components: Query Processor
> Affects Versions: 0.2.0, 0.3.0, 0.3.1, 0.4.0
> Reporter: Raghotham Murthy
> Priority: Minor
>
> The error message is also broken.
> hive> create table tmp_rs(a int);
> OK
> Time taken: 0.057 seconds
> hive> *alter table tmp_rs add columns (b int);* <----- succeeds
> OK
> Time taken: 0.126 seconds
> hive> *alter table tmp_rs add columns (c int 'test');* <------ fails
> FAILED: Parse Error: line 2:19 mismatched input 'add' expecting SET in alter serdes statement
> Time taken: 0.0090 seconds
> hive> *alter table tmp_rs replace columns (c int);* <----- succeeds
> OK
> Time taken: 0.096 seconds
> hive> *alter table tmp_rs replace columns (c int 'test');* <----- fails
> FAILED: Parse Error: line 2:19 mismatched input 'replace' expecting SET in alter serdes statement
> Time taken: 0.01 seconds
> hive>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.