Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-484

Warn when Decimal is stored as INT64 while could be stored as INT32

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0, 1.8.1
    • Fix Version/s: 1.9.0, 1.8.2
    • Component/s: parquet-mr
    • Labels:
      None

      Description

      Below is documented in https://github.com/Parquet/parquet-format/blob/master/LogicalTypes.md#decimal:

      int32: for 1 <= precision <= 9
      int64: for 1 <= precision <= 18; precision < 10 will produce a warning

      This JIRA proposes to implement the `precision < 10 will produce a warning` part.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                proflin Liwei Lin(Inactive)
                Reporter:
                proflin Liwei Lin(Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: