You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Aaron Blake Niskode-Dossett (Jira)" <ji...@apache.org> on 2020/07/28 17:25:00 UTC

[jira] [Updated] (PARQUET-1684) [parquet-protobuf] default protobuf field values are stored as nulls

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

Aaron Blake Niskode-Dossett updated PARQUET-1684:
-------------------------------------------------
    Attachment: image-2020-07-28-12-24-05-087.png

> [parquet-protobuf] default protobuf field values are stored as nulls
> --------------------------------------------------------------------
>
>                 Key: PARQUET-1684
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1684
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-mr
>    Affects Versions: 1.10.0, 1.11.0
>            Reporter: George Haddad
>            Assignee: Priyank Bagrecha
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>         Attachments: image-2020-07-28-12-24-05-087.png
>
>
> When the source is a protobuf3 message, and the target file is Parquet, all the default values are stored in the output parquet as `{{null`}} instead of the actual type's default value.
>  For example, if the field is of type `int32`, `double` or `enum` and it hasn't been set, the parquet value is `{{null`}} instead of `0`. When the field's type is a `string` that hasn't been set, the parquet value is {{`null`}} instead of an empty string.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)