You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Gang Wu (Jira)" <ji...@apache.org> on 2023/06/14 04:02:00 UTC

[jira] [Resolved] (PARQUET-2305) Allow Parquet to Proto conversion even though Target Schema has less fields

     [ https://issues.apache.org/jira/browse/PARQUET-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gang Wu resolved PARQUET-2305.
------------------------------
    Fix Version/s: 1.14.0
       Resolution: Fixed

> Allow Parquet to Proto conversion even though Target Schema has less fields
> ---------------------------------------------------------------------------
>
>                 Key: PARQUET-2305
>                 URL: https://issues.apache.org/jira/browse/PARQUET-2305
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-protobuf
>            Reporter: Sanjay Sharma
>            Assignee: Sanjay Sharma
>            Priority: Major
>             Fix For: 1.14.0
>
>
> If Parquet has any field which has been removed from the schema and Parquet to Proto conversion happens, it errors out due to Unknown fields. There could be some scenarios that we want to still convert PARQUET into the target proto schema object which has lesser fields.
> If specified "ignoreUnknownFields" as an argument, this should allow the conversion which ignore fields it can't convert and not error out.
> Similar functionality exist in [https://github.com/protocolbuffers/protobuf/blob/main/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java] with field "ignoringUnknownFields"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)