code: def test_to_parquet_execution(setup, setup_hdfs):
      hdfs = setup_hdfs
  
      test_df = pd.DataFrame(
          {
              "a": np.arange(10).astype(np.int64, copy=False),
              "b": [f"s{i}" for i in range(10)],
              "c": np.random.rand(10),
          }
      )
      df = md.DataFrame(test_df, chunk_size=5)
  
      dir_name = f"hdfs://localhost:8020{TEST_DIR}/test_to_parquet/"
      hdfs.mkdir(dir_name)
      df.to_parquet(dir_name).execute()
  
      result = md.read_parquet(dir_name).to_pandas()
      pd.testing.assert_frame_equal(
          result.reset_index(drop=True), test_df
      )
  
      # test wildcard
      dir_name = (
          f"hdfs://localhost:8020{TEST_DIR}/test_to_parquet2/*.parquet"
      )
      hdfs.mkdir(dir_name.rsplit("/", 1)[0])
      df.to_parquet(dir_name).execute()
  
      result = md.read_parquet(dir_name.rsplit("/", 1)[0]).to_pandas()
      pd.testing.assert_frame_equal(
          result.reset_index(drop=True), test_df
      )
  
imports: import pandas
  import numpy
  import pytest
  from ....None import dataframe
  from ....tests.core import require_hadoop
label_desc: Use image node_id 2 for calling a global function with example usage: test_to_parquet_execution(setup, setup_hdfs) without return types