code: def read_orc_statistics(
      filepaths_or_buffers,
      columns=None,
      **kwargs,
  ):
      """{docstring}"""
  
      files_statistics = []
      stripes_statistics = []
      for source in filepaths_or_buffers:
          (
              path_or_buf,
              compression,
          ) = ioutils.get_reader_filepath_or_buffer(
              path_or_data=source, compression=None, **kwargs
          )
          if compression is not None:
              ValueError(
                  "URL content-encoding decompression is not supported"
              )
  
          # Read in statistics and unpack
          (
              column_names,
              raw_file_statistics,
              raw_stripes_statistics,
          ) = liborc.read_raw_orc_statistics(path_or_buf)
  
          # Parse column names
          column_names = [
              column_name.decode("utf-8")
              for column_name in column_names
          ]
  
          # Parse statistics
          cs = cs_pb2.ColumnStatistics()
  
          file_statistics = {
              column_names[i]: _parse_column_statistics(
                  cs, raw_file_stats
              )
              for i, raw_file_stats in enumerate(raw_file_statistics)
              if columns is None or column_names[i] in columns
          }
          if any(
              not parsed_statistics
              for parsed_statistics in file_statistics.values()
          ):
              continue
          else:
              files_statistics.append(file_statistics)
  
          for raw_stripe_statistics in raw_stripes_statistics:
              stripe_statistics = {
                  column_names[i]: _parse_column_statistics(
                      cs, raw_file_stats
                  )
                  for i, raw_file_stats in enumerate(
                      raw_stripe_statistics
                  )
                  if columns is None or column_names[i] in columns
              }
              if any(
                  not parsed_statistics
                  for parsed_statistics in stripe_statistics.values()
              ):
                  continue
              else:
                  stripes_statistics.append(stripe_statistics)
  
      return files_statistics, stripes_statistics
  
file_path: cudf/python/cudf/cudf/io/orc.py
imports: import datetime
  import warnings
  import pyarrow
  from fsspec.utils import stringify_path
  import cudf
  from cudf._lib import orc
  from cudf.api.types import is_list_like
  from cudf.utils import ioutils
  from cudf.utils.metadata import orc_column_statistics_pb2
label_desc: Use image node_id 4 for calling a global function with example usage: read_orc_statistics(filepaths_or_buffers, columns) and returns: files_statistics,  stripes_statistics