Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11279

[Rust][Parquet] ArrowWriter Definition Levels Memory Usage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0
    • Rust

    Description

      In the rust implementation of an Arrow RecordBatch writer to parquet (3.0.0-SNAPSHOT), the ArrowWriter::write call potentially allocates more memory than required.

      For a RecordBatch with m rows and n columns, ArrowWriter::write allocates m*n definition levels, leading to m times the required memory usage.

      Attachments

        Issue Links

          Activity

            People

              TurnOfACard R J
              TurnOfACard R J
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.25h Original Estimate - 0.25h
                  0.25h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m