code: def test_get_supported_functions():
      supported_functions = pa._substrait.get_supported_functions()
      # It probably doesn't make sense to exhaustively verify this list but
      # we can check a sample aggregate and a sample non-aggregate entry
      assert has_function(
          supported_functions, "functions_arithmetic.yaml", "add"
      )
      assert has_function(
          supported_functions, "functions_arithmetic.yaml", "sum"
      )
  
imports: import os
  import pathlib
  import pytest
  import pyarrow
  import pyarrow.compute
  from pyarrow.lib import tobytes
  from pyarrow.lib import ArrowInvalid, ArrowNotImplementedError
label_desc: Use image node_id 8 for calling a global function with example usage: test_get_supported_functions() without return types