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

Do not target row group sizes if padding is set to 0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: parquet-mr
    • Labels:
      None

      Description

      The new padding commit will target row group sizes to the remaining space in a block if the space remaining is less than the padding size. This is the intended behavior if padding is set, but if padding is 0, then it will target a row group to be in any remaining bytes, even if that makes no sense.

      The behavior when padding is 0 should be to always target row groups to the default row group size. This will match the existing behavior up to 1.8.0.

      (In the error case, row groups will still span the block boundary, but will most likely be created with the minimum number of rows before checking whether or not it should be flushed.)

        Attachments

          Activity

            People

            • Assignee:
              rdblue Ryan Blue
              Reporter:
              rdblue Ryan Blue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: