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 2018/12/01 02:22:00 UTC
[jira] [Updated] (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 updated HIVE-12876:
-------------------------------
Attachment: HIVE-12876.patch
Status: Patch Available (was: Open)
> 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)