code: def test_table_join_keys_order():
      t1 = pa.table(
          {
              "colB": [10, 20, 60],
              "colA": [1, 2, 6],
              "colVals": ["a", "b", "f"],
          }
      )
  
      t2 = pa.table(
          {
              "colVals": ["Z", "B", "A"],
              "colX": [99, 2, 1],
          }
      )
  
      result = _perform_join(
          "full outer",
          t1,
          "colA",
          t2,
          "colX",
          left_suffix="_l",
          right_suffix="_r",
          coalesce_keys=True,
      )
      result = result.combine_chunks()
      result = result.sort_by("colA")
      assert result == pa.table(
          {
              "colB": [10, 20, 60, None],
              "colA": [1, 2, 6, 99],
              "colVals_l": ["a", "b", "f", None],
              "colVals_r": ["A", "B", None, "Z"],
          }
      )
  
file_path: arrow/python/pyarrow/tests/test_exec_plan.py
imports: import pytest
  import pyarrow
  import pyarrow.compute
  from .test_extension_type import IntegerType
label_desc: Use image node_id 4 for calling a global function with example usage: test_table_join_keys_order() without return types