You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Devin Petersohn (Jira)" <ji...@apache.org> on 2022/01/18 18:40:00 UTC

[jira] [Commented] (ARROW-15362) Setting OMP_NUM_THREADS to 1 causes dataset to hang

    [ https://issues.apache.org/jira/browse/ARROW-15362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478122#comment-17478122 ] 

Devin Petersohn commented on ARROW-15362:
-----------------------------------------

Originally reported here: https://github.com/modin-project/modin/issues/3982

> Setting OMP_NUM_THREADS to 1 causes dataset to hang
> ---------------------------------------------------
>
>                 Key: ARROW-15362
>                 URL: https://issues.apache.org/jira/browse/ARROW-15362
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Devin Petersohn
>            Priority: Critical
>
> 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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)