You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2020/04/20 09:41:56 UTC
[arrow] branch master updated: ARROW-8526: [Python] Fix
non-deterministic row order failure in dataset tests
This is an automated email from the ASF dual-hosted git repository.
kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new b084180 ARROW-8526: [Python] Fix non-deterministic row order failure in dataset tests
b084180 is described below
commit b084180c85cc217de8baf9316fd12fdb2cc0d83d
Author: Joris Van den Bossche <jo...@gmail.com>
AuthorDate: Mon Apr 20 11:41:33 2020 +0200
ARROW-8526: [Python] Fix non-deterministic row order failure in dataset tests
Closes #6989 from jorisvandenbossche/ARROW-8414-bis-bis
Authored-by: Joris Van den Bossche <jo...@gmail.com>
Signed-off-by: Krisztián Szűcs <sz...@gmail.com>
---
python/pyarrow/tests/test_dataset.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/pyarrow/tests/test_dataset.py b/python/pyarrow/tests/test_dataset.py
index d67a6b5..8d0a21e 100644
--- a/python/pyarrow/tests/test_dataset.py
+++ b/python/pyarrow/tests/test_dataset.py
@@ -981,7 +981,7 @@ def test_construct_from_list_of_files(tempdir):
relative_paths = [p.relative_to(tempdir) for p in paths]
with change_cwd(tempdir):
d1 = ds.dataset(relative_paths)
- t1 = d1.to_table()
+ t1 = d1.to_table(use_threads=False)
assert len(t1) == sum(map(len, tables))
d2 = ds.dataset(relative_paths, filesystem=_filesystem_uri(tempdir))