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

select * fails on parquet table with map datatype

    XMLWordPrintableJSON

Details

    Description

      Create parquet table with map and run select * from parquet_table, returns following exception:

       FAILED: RuntimeException java.lang.ClassCastException: org.apache.hadoop.hive.ql.io.parquet.serde.DeepParquetHiveMapInspector cannot be cast to org.apache.hadoop.hive.ql.io.parquet.serde.StandardParquetHiveMapInspector
      

      However select <mapcol> from parquet_table seems to work, and thus joins will work.

      Attachments

        1. HIVE-6575.3.patch
          2 kB
          Szehon Ho
        2. HIVE-6575.2.patch
          2 kB
          Szehon Ho
        3. HIVE-6575.patch
          2 kB
          Szehon Ho

        Issue Links

          Activity

            People

              szehon Szehon Ho
              szehon Szehon Ho
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: