Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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:
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)