code: def test_file_with_over_int16_max_row_groups():
      # PARQUET-1857: Parquet encryption support introduced a INT16_MAX upper
      # limit on the number of row groups, but this limit only impacts files with
      # encrypted row group metadata because of the int16 row group ordinal used
      # in the Parquet Thrift metadata. Unencrypted files are not impacted, so
      # this test checks that it works (even if it isn't a good idea)
      t = pa.table([list(range(40000))], names=["f0"])
      _check_roundtrip(t, row_group_size=1)
  
imports: from collections import OrderedDict
  import io
  import warnings
  from shutil import copytree
  import numpy
  import pytest
  import pyarrow
  from pyarrow import fs
  from pyarrow.filesystem import LocalFileSystem, FileSystem
  from pyarrow.tests import util
  from pyarrow.tests.parquet.common import _check_roundtrip, _roundtrip_table, _test_dataframe
label_desc: Use image node_id 10 for calling a global function with example usage: test_file_with_over_int16_max_row_groups() without return types