hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergio Pena" <>
Subject Review Request 32499: HIVE-10086: Hive throws error when accessing Parquet file schema using field name match
Date Wed, 25 Mar 2015 22:42:21 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for hive.

Bugs: HIVE-10086

Repository: hive-git


Attached is the patch that handles schema that do not match between Parquet and Hive.

The access to Parquet data is with name matching in this case. The table column may have different
schema order, but if the name matches the parquet column name, then the value is retrieved.

Also, if the Hive schema has columns and struct elements that do not match with the Parquet
schema, then it will return NULL values instead.


  ql/src/java/org/apache/hadoop/hive/ql/io/parquet/read/ 57ae7a9740d55b407cadfc8bc030593b29f90700

  ql/src/test/queries/clientpositive/parquet_schema_evolution.q PRE-CREATION 
  ql/src/test/queries/clientpositive/parquet_table_with_subschema.q PRE-CREATION 
  ql/src/test/results/clientpositive/parquet_schema_evolution.q.out PRE-CREATION 
  ql/src/test/results/clientpositive/parquet_table_with_subschema.q.out PRE-CREATION 




Sergio Pena

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message