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

[Python] Reading a dictionary column from Parquet results in disproportionate memory usage

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.14.0
    • Fix Version/s: 0.15.0
    • Component/s: Python
    • Labels:

      Description

      I'm using pyarrow to read a 40MB parquet file.

      When reading all of the columns besides the "body" columns, the process peaks at 170MB.

      Reading only the "body" column results in over 6GB of memory used.

      I made the file publicly accessible: s3://dhavivresearch/pyarrow/demofile.parquet

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wesm Wes McKinney
                Reporter:
                danielil Daniel Haviv
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: