hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-10679) JsonSerde ignores varchar and char size limit specified during table creation
Date Tue, 12 May 2015 20:31:00 GMT

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

Jason Dere updated HIVE-10679:
------------------------------
    Attachment: HIVE-10679.2.patch

Patch v2 also fixes the error message pointed out by Hari

> JsonSerde ignores varchar and char size limit specified during table creation
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-10679
>                 URL: https://issues.apache.org/jira/browse/HIVE-10679
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Jagruti Varia
>            Assignee: Jason Dere
>         Attachments: HIVE-10679.1.patch, HIVE-10679.2.patch
>
>
> JsonSerde ignores varchar and char size limit specified during table creation and always
creates varchar or char column with max length.
> steps to reproduce the issue:
> {noformat}
> create table jsonserde_1 (v varchar(50), c char(50)) row format serde 'org.apache.hive.hcatalog.data.JsonSerDe';
> desc jsonserde_1;
> OK
> v                   	varchar(65535)      	from deserializer   
> c                   	char(255)           	from deserializer   
> Time taken: 0.468 seconds, Fetched: 2 row(s)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message