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

Method Resize

python/pyarrow/src/arrow/python/udf.cc:259–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257 }
258
259 Status Resize(KernelContext* ctx, int64_t new_num_groups) override {
260 // We only need to change num_groups in resize
261 // similar to other hash aggregate kernels
262 num_groups = new_num_groups;
263 return Status::OK();
264 }
265
266 Status Consume(KernelContext* ctx, const ExecSpan& batch) override {
267 ARROW_ASSIGN_OR_RAISE(

Callers 2

HashAggregateUdfResizeFunction · 0.45
MakeZeroLengthArrayFunction · 0.45

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected