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

Function test_recordbatch_no_fields

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

Source from the content-addressed store, hash-verified

736
737
738def test_recordbatch_no_fields():
739 batch = pa.record_batch([], [])
740
741 assert len(batch) == 0
742 assert batch.num_rows == 0
743 assert batch.num_columns == 0
744
745
746def test_recordbatch_from_arrays_invalid_names():

Callers

nothing calls this directly

Calls 1

lenFunction · 0.85

Tested by

no test coverage detected