code: def check_chunked_overflow(name, col):
      if col.num_chunks == 1:
          return
  
      if col.type in (ext.binary(), ext.string()):
          raise ValueError(
              "Column '{}' exceeds 2GB maximum capacity of "
              "a Feather binary column. This restriction may be "
              "lifted in the future".format(name)
          )
      else:
          # TODO(wesm): Not sure when else this might be reached
          raise ValueError(
              "Column '{}' of type {} was chunked on conversion "
              "to Arrow and cannot be currently written to "
              "Feather format".format(name, str(col.type))
          )
  
file_path: arrow/python/pyarrow/feather.py
imports: import os
  from pyarrow.pandas_compat import _pandas_api
  from pyarrow.lib import Codec, Table, concat_tables, schema
  import pyarrow.lib
  from pyarrow import _feather
  from pyarrow._feather import FeatherError
label_desc: Use image node_id 1 for calling a global function with example usage: check_chunked_overflow(name, col) without return types