Carter Shanklin created HIVE-12876:
--------------------------------------
Summary: 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
Reporter: Carter Shanklin
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
(v6.3.4#6332)