code: def _read_orc_stripes(fs, path, stripes, schema, columns):
      # Construct a list of RecordBatch objects.
      # Each ORC stripe will corresonpond to a single RecordBatch.
      if columns is None:
          columns = list(schema)
  
      batches = []
      with fs.open(path, "rb") as f:
          o = orc.ORCFile(f)
          _stripes = range(o.nstripes) if stripes is None else stripes
          for stripe in _stripes:
              batches.append(o.read_stripe(stripe, columns))
      return batches
  
file_path: dask/dask/dataframe/io/orc/arrow.py
imports: from __future__ import annotations
  import pyarrow
  import pyarrow.orc
  from dask.dataframe.io.utils import _get_pyarrow_dtypes, _meta_from_dtypes
label_desc: Use image node_id 1 for calling a global function with example usage: _read_orc_stripes(fs, path, stripes, schema, columns) and returns: batches