Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-576

unable to insert data for MAP type columns in parquet format Hive Table

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: CDH4.6.0
    • Fix Version/s: None
    • Component/s: Hive, Parquet
    • Labels:
    • Environment:
      CDH 4.6.0, Hive 0.10

      Description

      I have noticed problem while writing MAP data type to Parquet file using Hive Parquet SerDe

      OldTable definition :

      name string,
      location string,
      report MAP<string,string>
      report2 ARRAY<string>

      CASE 1: Failed

      INSERT OVERWRITE TABLE [ParquetTable] select report FROM [OldTable] ;

      CASE 2: Success

      INSERT OVERWRITE TABLE [ParquetTable] select name,location FROM [OldTable] ;

      CASE 3: Success

      INSERT OVERWRITE TABLE [ParquetTable] select report2 FROM [OldTable] ;

      Is this a bug or any workaround exists for this already ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              romaneteddy Romane Teddy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: