| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../generated/pyarrow.compute.UdfContext.html | [Back] [Original] |
Section Navigation
Bases: _Weakrefable
Per-invocation function context/state.
This object will always be the first argument to a user-defined function. It should not be used outside of a call to the function.
Methods
|
Attributes
The common length of all input arguments (int). |
|
A memory pool for allocations ( |
The common length of all input arguments (int).
In the case that all arguments are scalars, this value is used to pass the actual length of the arguments, e.g. because the scalar values are encoding a column with a constant value.
A memory pool for allocations (MemoryPool).
This is the memory pool supplied by the user when they invoked the function and it should be used in any calls to arrow that the UDF makes if that call accepts a memory_pool.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |