You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Ryan Blue (JIRA)" <ji...@apache.org> on 2016/04/19 18:18:25 UTC

[jira] [Resolved] (PARQUET-484) Warn when Decimal is stored as INT64 while could be stored as INT32

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

Ryan Blue resolved PARQUET-484.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

Merged #316. Thanks for fixing this, [~proflin]!

> Warn when Decimal is stored as INT64 while could be stored as INT32
> -------------------------------------------------------------------
>
>                 Key: PARQUET-484
>                 URL: https://issues.apache.org/jira/browse/PARQUET-484
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-mr
>    Affects Versions: 1.8.0, 1.8.1
>            Reporter: Liwei Lin
>            Assignee: Liwei Lin
>             Fix For: 1.9.0
>
>
> Below is documented in https://github.com/Parquet/parquet-format/blob/master/LogicalTypes.md#decimal:
> {quote} int32: for 1 <= precision <= 9
> int64: for 1 <= precision <= 18; precision < 10 will produce a warning {quote}
> This JIRA proposes to implement the `precision < 10 will produce a warning` part.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)