code: def make_recordbatch(length):
      schema = pa.schema(
          [pa.field("f0", pa.int16()), pa.field("f1", pa.int16())]
      )
      a0 = pa.array(
          np.random.randint(0, 255, size=length, dtype=np.int16)
      )
      a1 = pa.array(
          np.random.randint(0, 255, size=length, dtype=np.int16)
      )
      batch = pa.record_batch([a0, a1], schema=schema)
      return batch
  
imports: import sys
  import sysconfig
  import pytest
  import pyarrow
  import numpy
label_desc: Use image node_id 20 for calling a global function with example usage: make_recordbatch(length) and returns: batch