code: def test_binary_array_overflow_to_chunked():
      # ARROW-3762
  
      # 2^31 + 1 bytes
      values = [b"x"] + [b"x" * (1 << 20)] * 2 * (1 << 10)
      df = pd.DataFrame({"byte_col": values})
  
      tbl = pa.Table.from_pandas(df, preserve_index=False)
      read_tbl = _simple_table_roundtrip(tbl)
  
      col0_data = read_tbl[0]
      assert isinstance(col0_data, pa.ChunkedArray)
  
      # Split up into 2GB chunks
      assert col0_data.num_chunks == 2
  
      assert tbl.equals(read_tbl)
  
imports: import decimal
  import io
  import numpy
  import pytest
  import pyarrow
  from pyarrow.tests import util
  from pyarrow.tests.parquet.common import _check_roundtrip
label_desc: Use image node_id 22 for calling a global function with example usage: test_binary_array_overflow_to_chunked() without return types