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

Function add_const

python/pyarrow/tests/test_udf.py:508–509  ·  view source on GitHub ↗
(ctx, scalar)

Source from the content-addressed store, hash-verified

506 }
507
508 def add_const(ctx, scalar):
509 return pc.call_function("add", [scalar, 1])
510
511 with pytest.raises(ValueError,
512 match="Function doc must contain a summary"):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected