You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "qingzhongli (Jira)" <ji...@apache.org> on 2019/12/07 01:09:00 UTC

[jira] [Assigned] (HIVE-12876) OpenCSV Serde treats everything as strings.

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

qingzhongli reassigned HIVE-12876:
----------------------------------

    Assignee:     (was: qingzhongli)

> 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
>            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
(v8.3.4#803005)