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

TypedBytesSerDe fails to create table with multiple columns.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.6.0
    • Contrib
    • None
    • JDK 6 (1.6.0_17) on Mac OSX 10.6.3, Hadoop 0.20.2, Hive 0.5.0

    • Reviewed

    Description

      Creating a table with more than one columns fails when the row format SerDe is TypedBytesSerDe.

      hive> CREATE TABLE test (a STRING, b STRING) ROW FORMAT SERDE 'org.apache.hadoop.hive.contrib.serde2.TypedBytesSerDe';      
      Found class for org.apache.hadoop.hive.contrib.serde2.TypedBytesSerDe                                                       
      FAILED: Error in metadata: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1                                           
      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask                                          
      hive> 
      

      Attachments

        1. HIVE-1345-1.patch
          4 kB
          Arvind Prabhakar

        Activity

          People

            aprabhakar Arvind Prabhakar
            aprabhakar Arvind Prabhakar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: