MCPcopy Create free account
hub / github.com/apache/arrow / test_orc_writer_with_null_arrays

Function test_orc_writer_with_null_arrays

python/pyarrow/tests/test_orc.py:691–699  ·  view source on GitHub ↗
(tempdir)

Source from the content-addressed store, hash-verified

689
690
691def test_orc_writer_with_null_arrays(tempdir):
692 from pyarrow import orc
693
694 path = str(tempdir / 'test.orc')
695 a = pa.array([1, None, 3, None])
696 b = pa.array([None, None, None, None])
697 table = pa.table({"int64": a, "utf8": b})
698 with pytest.raises(pa.ArrowNotImplementedError):
699 orc.write_table(table, path)

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.45
write_tableMethod · 0.45

Tested by

no test coverage detected