KazydubB opened a new pull request #1954: DRILL-7509: Incorrect TupleSchema is 
created for DICT column when querying Parquet files
URL: https://github.com/apache/drill/pull/1954
 
 
   # [DRILL-7509](https://issues.apache.org/jira/browse/DRILL-7509): Incorrect 
TupleSchema is created for DICT column when querying Parquet files
   
   ## Description
   
   Removed nested `MapColumnMetadata` from `DictColumnMetadata`'s `schema` when 
querying `MAP` type from Parquet files (this nested column comes from the 
Parquet MAP structure). So the `DictColumnMetadata#schema` contains `key` and 
`value` fields directly.
   
   Added Parquet's `Type.Repetition` to `Metadata_V4` cache file to retain the 
actual `DataMode` of leaf primitives (previously this mode was computed based 
on max `repetition` and max `definition` levels, see javadoc @ 
`ParquetTableMetadataUtils#getDataMode(Type.Repetition)`).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to