You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2020/03/30 11:47:22 UTC
[arrow] branch master updated: ARROW-8269: [Python] Add pandas mark
to test_parquet_row_group_fragments to fix nopandas build
This is an automated email from the ASF dual-hosted git repository.
apitrou 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 5bf36bd ARROW-8269: [Python] Add pandas mark to test_parquet_row_group_fragments to fix nopandas build
5bf36bd is described below
commit 5bf36bdfe23a0dcf1e2dc8493fb4945984898e2d
Author: Wes McKinney <we...@apache.org>
AuthorDate: Mon Mar 30 13:47:07 2020 +0200
ARROW-8269: [Python] Add pandas mark to test_parquet_row_group_fragments to fix nopandas build
Closes #6759 from wesm/ARROW-8269
Authored-by: Wes McKinney <we...@apache.org>
Signed-off-by: Antoine Pitrou <an...@python.org>
---
python/pyarrow/tests/test_dataset.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/python/pyarrow/tests/test_dataset.py b/python/pyarrow/tests/test_dataset.py
index 05ef3ff..8117bfd 100644
--- a/python/pyarrow/tests/test_dataset.py
+++ b/python/pyarrow/tests/test_dataset.py
@@ -577,11 +577,14 @@ def test_make_fragment(multisourcefs):
assert row_group_fragment.row_groups == {0}
+@pytest.mark.pandas
def test_parquet_row_group_fragments(tempdir):
import pyarrow as pa
import pyarrow.parquet as pq
table = pa.table({'a': ['a', 'a', 'b', 'b'], 'b': [1, 2, 3, 4]})
+
+ # write_to_dataset currently requires pandas
pq.write_to_dataset(table, str(tempdir / "test_parquet_dataset"),
partition_cols=["a"])