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

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0, 1.8.1
    • 1.9.0, 1.8.2
    • parquet-mr
    • 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

              proflin Liwei Lin(Inactive)
              proflin Liwei Lin(Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: