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

Function test_print_record_batch

python/pyarrow/tests/test_cuda.py:1009–1018  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1007
1008
1009def test_print_record_batch():
1010 batch = make_recordbatch(10)
1011 cbuf = cuda.serialize_record_batch(batch, global_context)
1012 cbatch = cuda.read_record_batch(cbuf, batch.schema)
1013 assert str(cbatch) == str(batch)
1014
1015 batch = make_recordbatch(100)
1016 cbuf = cuda.serialize_record_batch(batch, global_context)
1017 cbatch = cuda.read_record_batch(cbuf, batch.schema)
1018 assert str(cbatch) == str(batch)
1019
1020
1021def test_print_table():

Callers

nothing calls this directly

Calls 2

make_recordbatchFunction · 0.85
read_record_batchMethod · 0.45

Tested by

no test coverage detected