[ 
https://issues.apache.org/jira/browse/HIVE-12876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705592#comment-16705592
 ] 

qingzhongli commented on HIVE-12876:
------------------------------------

Patch for preliminary test.

> OpenCSV Serde treats everything as strings.
> -------------------------------------------
>
>                 Key: HIVE-12876
>                 URL: https://issues.apache.org/jira/browse/HIVE-12876
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive, Serializers/Deserializers
>    Affects Versions: 1.2.1
>            Reporter: Carter Shanklin
>            Assignee: qingzhongli
>            Priority: Major
>         Attachments: HIVE-12876.patch
>
>
> This one caught me by surprise after some wrong results. I'm filing this as 
> Brock suggested in HIVE-7777. Back to Ctrl-A for me it seems.
> To repro:
> {code}
> drop table int_table;
> create table int_table(
>         x int
> )
> ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde';
> show create table int_table;
> {code}
> And note that x is a string.
> Applicable to Hive 1.2.1.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to