code: def binary_func_fixture():
      """
      Register a binary scalar function.
      """
  
      def binary_function(ctx, m, x):
          return pc.call_function(
              "multiply", [m, x], memory_pool=ctx.memory_pool
          )
  
      func_name = "y=mx"
      binary_doc = {
          "summary": "y=mx",
          "description": "find y from y = mx",
      }
      pc.register_scalar_function(
          binary_function,
          func_name,
          binary_doc,
          {
              "m": pa.int64(),
              "x": pa.int64(),
          },
          pa.int64(),
      )
      return binary_function, func_name
  
imports: import pytest
  import numpy
  import pyarrow
  from pyarrow import compute
label_desc: Use image node_id 6 for calling a global function with example usage: binary_func_fixture() and returns: binary_function,  func_name, pc