1fanwang commented on code in PR #51247:
URL: https://github.com/apache/arrow/pull/51247#discussion_r3983409731


##########
python/pyarrow/tests/test_compute.py:
##########
@@ -246,6 +246,12 @@ def test_list_functions():
     assert "add" in pc.list_functions()
 
 
+def test_call_tabular_function_rejects_invalid_registry():
+    with pytest.raises(TypeError,
+                       match="func_registry must be a FunctionRegistry"):
+        pc.call_tabular_function("", None, 1)

Review Comment:
   Keeping it in-process per 
https://github.com/apache/arrow/pull/51247#discussion_r3976348898; with the fix 
it raises rather than crashing.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to