hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghotham Murthy (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-398) column comments not supported in ADD COLUMNS and REPLACE COLUMNS statements
Date Wed, 08 Apr 2009 17:58:12 GMT
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.


Mime
View raw message