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

[C++][Python] Do not collect python iterators if not necessary

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Python
    • None

    Description

      When converting python objects to arrow array currently we always collect the input to a sequence, but this may be memory consuming in certain cases.

      For unknown sized iterators we could consume and temporarily store the seen items during inference potentially improving both the conversion time and peak memory usage.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kszucs Krisztian Szucs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: