code: def _test_datasource1_udt(func_maker):
      schema = datasource1_schema()
      func = func_maker()
      func_name = func_maker.__name__
      func_args = datasource1_args(func, func_name)
      pc.register_tabular_function(*func_args)
      n = 3
      for item in pc.call_tabular_function(func_name):
          n -= 1
          assert item == _record_batch_for_range(schema, n)
  
imports: import pytest
  import numpy
  import pyarrow
  from pyarrow import compute
label_desc: Use image node_id 42 for calling a global function with example usage: _test_datasource1_udt(func_maker) without return types