code: def test_hash_agg_wrong_output_type(
      wrong_output_type_agg_func_fixture,
  ):
      arr1 = pa.array([10, 20, 30, 40, 50], pa.int64())
      arr2 = pa.array([4, 2, 1, 2, 1], pa.int32())
      table = pa.table([arr2, arr1], names=["id", "value"])
  
      with pytest.raises(pa.ArrowTypeError, match="output type"):
          table.group_by("id").aggregate(
              [("value", "y=wrong_output_type(x)")]
          )
  
imports: import pytest
  import numpy
  import pyarrow
  from pyarrow import compute
label_desc: Use image node_id 55 for calling a global function with example usage: test_hash_agg_wrong_output_type(wrong_output_type_agg_func_fixture) without return types