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

Function gen

python/pyarrow/tests/test_acero.py:135–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 consumed = []
134
135 def gen():
136 for i, batch in enumerate(batches):
137 consumed.append(i)
138 yield batch
139
140 reader = pa.RecordBatchReader.from_batches(table.schema, gen())
141 decl = Declaration.from_sequence([

Calls 2

appendMethod · 0.45
arrayMethod · 0.45

Tested by

no test coverage detected