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

Function raising_func

python/pyarrow/tests/test_udf.py:318–319  ·  view source on GitHub ↗
(ctx)

Source from the content-addressed store, hash-verified

316 Register a scalar function which raises a custom exception.
317 """
318 def raising_func(ctx):
319 raise MyError("error raised by scalar UDF")
320 func_name = "test_raise"
321 doc = {
322 "summary": "raising function",

Callers

nothing calls this directly

Calls 1

MyErrorClass · 0.85

Tested by

no test coverage detected