You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ruihang Xia (Jira)" <ji...@apache.org> on 2020/12/09 05:42:00 UTC
[jira] [Commented] (ARROW-6697) [Rust] [DataFusion] Validate that
all parquet partitions have the same schema
[ https://issues.apache.org/jira/browse/ARROW-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246295#comment-17246295 ]
Ruihang Xia commented on ARROW-6697:
------------------------------------
Hi [~andygrove], I would like to implement this, but here I have two questions :P
* Should we check all schemas at the beginning and fail this read if different schemas are found, or check each schema when actually reading a partition?
* Is there a parquet file under `PARQUET_TEST_DATA` that contains different schemas in different partitions for testing?
Appreciate for anything helps.
> [Rust] [DataFusion] Validate that all parquet partitions have the same schema
> -----------------------------------------------------------------------------
>
> Key: ARROW-6697
> URL: https://issues.apache.org/jira/browse/ARROW-6697
> Project: Apache Arrow
> Issue Type: New Feature
> Components: Rust, Rust - DataFusion
> Reporter: Andy Grove
> Priority: Major
>
> When reading a partitioned Parquet file in DataFusion, the schema is read from the first partition and it is assumed that all other partitions have the same schema.
> It would be better to actually validate that all of the partitions have the same schema since there is no support for schema merging yet.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)