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

Function test_scalar_agg_empty

python/pyarrow/tests/test_udf.py:764–768  ·  view source on GitHub ↗
(unary_agg_func_fixture)

Source from the content-addressed store, hash-verified

762
763@pytest.mark.numpy
764def test_scalar_agg_empty(unary_agg_func_fixture):
765 empty = pa.array([], pa.float64())
766
767 with pytest.raises(pa.ArrowInvalid, match='empty inputs'):
768 pc.call_function("mean_udf", [empty])
769
770
771def test_scalar_agg_wrong_output_dtype(wrong_output_dtype_agg_func_fixture):

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected