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

Function test_combine_chunks

python/pyarrow/tests/test_table.py:113–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111
112
113def test_combine_chunks():
114 # ARROW-77363
115 arr = pa.array([1, 2])
116 chunked_arr = pa.chunked_array([arr, arr])
117 res = chunked_arr.combine_chunks()
118 expected = pa.array([1, 2, 1, 2])
119 assert res.equals(expected)
120
121
122def test_chunked_array_can_combine_chunks_with_no_chunks():

Callers

nothing calls this directly

Calls 3

chunked_arrayMethod · 0.80
equalsMethod · 0.80
arrayMethod · 0.45

Tested by

no test coverage detected