lsyldliu commented on PR #20442:
URL: https://github.com/apache/flink/pull/20442#issuecomment-1207750079

   > I just have one question that does this PR only supports ARRAY, MAP, ROW 
with primitive types? Does parquet support nested types in array, map, row?
   
   1. For the first question, yes for array and map, row can nested with map 
and array.
   2. For the second question, it seems that parquet support nested types in 
nested type, refer to 
https://parquet.apache.org/docs/file-format/nestedencoding/
   
   After investigate 
[hive](https://github.com/apache/hive/blob/27dd6fdc89b10c8813c02310291b09565f0d4959/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedListColumnReader.java#L38)
 and 
[spark](https://github.com/apache/spark/blob/35d00df9bba7238ad4f409999617fae4d04ddbfd/sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/ParquetColumnVector.java#L260)
 implementation, I found hive doesn't support array with nested types 
currently, but spark support. So I think we should assign with spark in next 
version.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to