Details
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 ?