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

Function mock_udf_context

python/pyarrow/tests/test_substrait.py:38–40  ·  view source on GitHub ↗
(batch_length=10)

Source from the content-addressed store, hash-verified

36
37
38def mock_udf_context(batch_length=10):
39 from pyarrow._compute import _get_udf_context
40 return _get_udf_context(pa.default_memory_pool(), batch_length)
41
42
43def _write_dummy_data_to_disk(tmpdir, file_name, table):

Callers 1

test_udf_via_substraitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected