Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10679

JsonSerde ignores varchar and char size limit specified during table creation

    XMLWordPrintableJSON

Details

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

      Attachments

        1. HIVE-10679.1.patch
          3 kB
          Jason Dere
        2. HIVE-10679.2.patch
          4 kB
          Jason Dere

        Activity

          People

            jdere Jason Dere
            jvaria Jagruti Varia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: