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

Deprecate type-defined sort ordering for INT96 type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0, format-2.5.0
    • Component/s: None
    • Labels:
      None

      Description

      parquet.thrift in parquet-format defines the the sort order for INT96 to be signed. ParquetMetadataConverter.java in parquet-mr uses unsigned ordering instead. In practice, INT96 is only used for timestamps and neither signed nor unsigned ordering of the numeric values is correct for this purpose. For this reason, the INT96 sort order should be specified as undefined.

      (As a special case, min == max signifies that all values are the same, and can be considered valid even for undefined orderings.)

        Attachments

          Activity

            People

            • Assignee:
              zi Zoltan Ivanfi
              Reporter:
              zi Zoltan Ivanfi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: