code: def test_scalar_agg_empty(unary_agg_func_fixture):
      empty = pa.array([], pa.float64())
  
      with pytest.raises(pa.ArrowInvalid, match="empty inputs"):
          pc.call_function("mean_udf", [empty])
  
imports: import pytest
  import numpy
  import pyarrow
  from pyarrow import compute
label_desc: Use image node_id 47 for calling a global function with example usage: test_scalar_agg_empty(unary_agg_func_fixture) without return types