Skip to content

Commit

Permalink
chore: remove XFAIL from passing tests (#884)
Browse files Browse the repository at this point in the history
* remove xfail from passing tests

* update xfail cmoment for datetime_s

* document upstream issue for timestamp[s] xfail test
  • Loading branch information
Michael-J-Ward authored Sep 28, 2024
1 parent 8b36aac commit 2df33d3
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions python/datafusion/tests/test_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,23 +378,29 @@ def test_udf(
helpers.data_binary_other(),
helpers.data_date32(),
helpers.data_with_nans(),
# C data interface missing
pytest.param(
pa.array([b"1111", b"2222", b"3333"], pa.binary(4), _null_mask),
id="binary4",
marks=pytest.mark.xfail,
),
# `timestamp[s]` does not roundtrip for pyarrow.parquet: https://github.com/apache/arrow/issues/41382
pytest.param(
helpers.data_datetime("s"), id="datetime_s", marks=pytest.mark.xfail
helpers.data_datetime("s"),
id="datetime_s",
marks=pytest.mark.xfail(
reason="pyarrow.parquet does not support timestamp[s] roundtrips"
),
),
pytest.param(
helpers.data_datetime("ms"), id="datetime_ms", marks=pytest.mark.xfail
helpers.data_datetime("ms"),
id="datetime_ms",
),
pytest.param(
helpers.data_datetime("us"), id="datetime_us", marks=pytest.mark.xfail
helpers.data_datetime("us"),
id="datetime_us",
),
pytest.param(
helpers.data_datetime("ns"), id="datetime_ns", marks=pytest.mark.xfail
helpers.data_datetime("ns"),
id="datetime_ns",
),
# Not writtable to parquet
pytest.param(
Expand Down

0 comments on commit 2df33d3

Please sign in to comment.