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

ORC map columns get class cast exception in some context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0
    • None
    • None

    Description

      Setting up the test case like:

      create table map_text (
      name string,
      m map<string,string>
      ) row format delimited
      fields terminated by '|'
      collection items terminated by ','
      map keys terminated by ':';

      create table map_orc (
      name string,
      m map<string,string>
      ) stored as orc;

      cat map.txt
      name1|key11:value11,key12:value12,key13:value13
      name2|key21:value21,key22:value22,key23:value23
      name3|key31:value31,key32:value32,key33:value33

      load data local inpath 'map.txt' into table map_text;

      insert overwrite table map_orc select * from map_text;

      Attachments

        1. HIVE-4494.D10653.1.patch
          21 kB
          Phabricator
        2. HIVE-4494.D10653.2.patch
          23 kB
          Phabricator

        Activity

          People

            omalley Owen O'Malley
            omalley Owen O'Malley
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: