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

Setting OMP_NUM_THREADS to 1 causes dataset to hang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 6.0.1
    • 7.0.0
    • C++
    • None

    Description

      import os
      import pyarrow.dataset as ds

      os.environ["OMP_NUM_THREADS"] = "1"  # offending line

      dfile = 'any.csv'
      data = ds.dataset(dfile, format='csv')
      rb_iter = iter(data.to_batches())
      next(rb_iter)  # hangs

      Attachments

        Activity

          People

            westonpace Weston Pace
            devin-petersohn Devin Petersohn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: