From 651ec494ff24c0757f19da6c64de8d0a14ebb904 Mon Sep 17 00:00:00 2001 From: Devavret Makkar Date: Wed, 15 Sep 2021 21:31:54 +0530 Subject: [PATCH] Temporarily disabling problematic test in parquet writer (#9230) There is a bug in parquet writer that shows up in one pytest. Disabling this test to unblock CI for other PRs. Related to #9231 Authors: - Devavret Makkar (https://github.com/devavret) Approvers: - https://github.com/brandon-b-miller URL: https://github.com/rapidsai/cudf/pull/9230 --- python/cudf/cudf/tests/test_parquet.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/cudf/cudf/tests/test_parquet.py b/python/cudf/cudf/tests/test_parquet.py index 26cc36f0e4f..21c385e3299 100644 --- a/python/cudf/cudf/tests/test_parquet.py +++ b/python/cudf/cudf/tests/test_parquet.py @@ -2036,6 +2036,9 @@ def test_parquet_writer_nulls_pandas_read(tmpdir, pdf): gdf = cudf.from_pandas(pdf) num_rows = len(gdf) + if num_rows == 1: + pytest.skip("Skipping due a bug in parquet writer with all null df") + if num_rows > 0: for col in gdf.columns: gdf[col][random.randint(0, num_rows - 1)] = None