code: def table_source():
      table = pa.table({"a": [1, 2, 3], "b": [4, 5, 6]})
      table_opts = TableSourceNodeOptions(table)
      table_source = Declaration("table_source", options=table_opts)
      return table_source
  
file_path: arrow/python/pyarrow/tests/test_acero.py
imports: import pytest
  import pyarrow
  import pyarrow.compute
  from pyarrow.compute import field
label_desc: Use image node_id 1 for calling a global function with example usage: table_source() and returns: table_source