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

AvroSerde mutates tinyint and smallint columns when specifying native columns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • None

    Description

      tinyint and smallint go in, int comes out:

      string1                 string                                      
      int1                    int                                         
      tinyint1                int                                         
      smallint1               int                                         
      bigint1                 bigint                                      
      boolean1                boolean                                     
      float1                  float                                       
      double1                 double                                      
      list1                   array<string>                               
      map1                    map<string,int>                             
      struct1                 struct<sint:int,sboolean:boolean,sstring:string>                            
      enum1                   string                                      
      nullableint             int                                         
      bytes1                  binary                                      
      fixed1                  binary    
      

      Attachments

        1. avro-tinyint.demo.patch
          16 kB
          Mark Wagner

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mwagner Mark Wagner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: