code: def test_nested_types(compression):
      # https://issues.apache.org/jira/browse/ARROW-8860
      table = pa.table(
          {
              "col": pa.StructArray.from_arrays(
                  [[0, 1, 2], [1, 2, 3]], names=["f1", "f2"]
              )
          }
      )
      _check_arrow_roundtrip(table, compression=compression)
  
      table = pa.table({"col": pa.array([[1, 2], [3, 4]])})
      _check_arrow_roundtrip(table, compression=compression)
  
      table = pa.table(
          {"col": pa.array([[[1, 2], [3, 4]], [[5, 6], None]])}
      )
      _check_arrow_roundtrip(table, compression=compression)
  
imports: import io
  import os
  import sys
  import tempfile
  import pytest
  import hypothesis
  import hypothesis.strategies
  import numpy
  import pyarrow
  import pyarrow.tests.strategies
  from pyarrow.feather import read_feather, write_feather, read_table, FeatherDataset
label_desc: Use image node_id 55 for calling a global function with example usage: test_nested_types(compression) without return types