[
https://issues.apache.org/jira/browse/HIVE-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652260#action_12652260
]
Pete Wyckoff commented on HIVE-93:
----------------------------------
incidentally, this is the offending code:
{code}
---
src/contrib/hive/serde/src/java/org/apache/hadoop/hive/serde2/dynamic_type/thrift_grammar.jjt
(revision 132500)
+++
src/contrib/hive/serde/src/java/org/apache/hadoop/hive/serde2/dynamic_type/thrift_grammar.jjt
(working copy)
@@ -163,7 +163,7 @@
|
<tok_double_constant:
["+","-"](<DIGIT>)*"."(<DIGIT>)+(["e","E"](["+","-"])?(<DIGIT>)+)?>
|
-<IDENTIFIER: <LETTER>(<LETTER>|<DIGIT>|"."|"_")*>
+<IDENTIFIER: (<LETTER>|<DIGIT>|"."|"_")*>
|
<#LETTER: (["a"-"z", "A"-"Z" ]) >
|
{code}
> dynamic serde does not handle '_' as the first character of a column name in
> a DDL
> ----------------------------------------------------------------------------------
>
> Key: HIVE-93
> URL: https://issues.apache.org/jira/browse/HIVE-93
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.20.0
> Reporter: Raghotham Murthy
> Priority: Minor
> Fix For: 0.20.0
>
>
> For example cannot initialize a dynamic serde with : struct result { string
> _c0}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.