hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-11476) TypeInfoParser cannot handle column names with spaces in them
Date Wed, 05 Aug 2015 22:26:04 GMT
Gopal V created HIVE-11476:
------------------------------

             Summary: TypeInfoParser cannot handle column names with spaces in them
                 Key: HIVE-11476
                 URL: https://issues.apache.org/jira/browse/HIVE-11476
             Project: Hive
          Issue Type: Bug
          Components: Types
    Affects Versions: 1.3.0, 2.0.0
            Reporter: Gopal V
            Assignee: Gopal V
            Priority: Minor


When using column names which contain escaped spaces in them like `user id`, the type info
parser is unable to parse out the structures which have a format similar to 

struct<user id:int,user group: int>

{code}
java.lang.IllegalArgumentException: Error: : expected at the position 12 of '' but 'struct<user
id:int,user group: int>' is found.
        at org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils$TypeInfoParser.expect(TypeInfoUtils.java:360)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message