()
| 969 | |
| 970 | |
| 971 | def test_struct_array_from_chunked(): |
| 972 | # ARROW-11780 |
| 973 | # Check that we don't segfault when trying to build |
| 974 | # a StructArray from a chunked array. |
| 975 | chunked_arr = pa.chunked_array([[1, 2, 3], [4, 5, 6]]) |
| 976 | |
| 977 | with pytest.raises(TypeError, match="Expected Array"): |
| 978 | pa.StructArray.from_arrays([chunked_arr], ["foo"]) |
| 979 | |
| 980 | |
| 981 | @pytest.mark.parametrize("offset", (0, 1)) |
nothing calls this directly
no test coverage detected