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

Jason Dere commented on HIVE-10679:
-----------------------------------

[~sushanth] would like to add this to branch-1.2

> 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
>             Fix For: 1.3.0, 1.2.1
>
>         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)

Reply via email to