Hetashvi created HIVE-26406:
-------------------------------

             Summary: Hive create query is not working when odd number of 
column name have apostrophe(')
                 Key: HIVE-26406
                 URL: https://issues.apache.org/jira/browse/HIVE-26406
             Project: Hive
          Issue Type: Bug
          Components: CLI
    Affects Versions: 2.3.6
            Reporter: Hetashvi


Hive create table is not working when column name have apostrophe('). This 
happens only when the numbers of columns are odd.  
{code:java}
hive> create table `test_table` (`i'd` int, `i'd1` int); 
OK
Time taken: 1.662 seconds
hive> describe `test_table`;
OK
i'd                     int                                         
i'd1                    int                                         
Time taken: 0.129 seconds, Fetched: 2 row(s)
hive> create table `test_table1` (`i'd` int); 
FAILED: ParseException line 1:38 extraneous input ';' expecting EOF near '<EOF>'
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to