hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Thusoo (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HIVE-99) serde fails when field name starts with underscore
Date Tue, 02 Dec 2008 19:02:44 GMT

     [ https://issues.apache.org/jira/browse/HIVE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ashish Thusoo resolved HIVE-99.
-------------------------------

    Resolution: Duplicate

yes this is duplicate of HIVE-93

> serde fails when field name starts with underscore
> --------------------------------------------------
>
>                 Key: HIVE-99
>                 URL: https://issues.apache.org/jira/browse/HIVE-99
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Michi Mutsuzaki
>            Priority: Minor
>             Fix For: 0.20.0
>
>
> (Not sure if this is a metastore bug or serde bug)
> For the query:
> select count(1) from table
> HiveInterface.getSchema() returns:
> struct result { string _c0}
> DynamicSerDe.initialize() raises a lexical error:
>     [junit] Lexical error at line 1, column 24.  Encountered: "_" (95), after : ""
>     [junit] org.apache.hadoop.hive.serde2.dynamic_type.TokenMgrError: Lexical error at
line 1, column 24.  Encountered: "_" (95), after : ""
>     [junit] 	at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammarTokenManager.getNextToken(thrift_grammarTokenManager.java:1457)
>     [junit] 	at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.jj_consume_token(thrift_grammar.java:2233)
>     [junit] 	at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Field(thrift_grammar.java:1547)
>     [junit] 	at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.FieldList(thrift_grammar.java:1501)
>     [junit] 	at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Struct(thrift_grammar.java:1171)
>     [junit] 	at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.TypeDefinition(thrift_grammar.java:497)
>     [junit] 	at org.apache.hadoop.hive.serde2.dynamic_type.thrift_grammar.Definition(thrift_grammar.java:439)

-- 
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