code: def test_roundtrip_from_dask(tmpdir, divisions, write_metadata_file):
      tmpdir = str(tmpdir)
      ddf.to_parquet(
          tmpdir,
          write_metadata_file=write_metadata_file,
          engine="pyarrow",
      )
      files = sorted(
          (os.path.join(tmpdir, f) for f in os.listdir(tmpdir)),
          key=natural_sort_key,
      )
  
      # Read list of parquet files
      ddf2 = dask_cudf.read_parquet(
          files, calculate_divisions=divisions
      )
      dd.assert_eq(ddf, ddf2, check_divisions=divisions)
  
      # Specify columns=['x']
      ddf2 = dask_cudf.read_parquet(
          files, columns=["x"], calculate_divisions=divisions
      )
      dd.assert_eq(ddf[["x"]], ddf2, check_divisions=divisions)
  
      # Specify columns='y'
      ddf2 = dask_cudf.read_parquet(
          files, columns="y", calculate_divisions=divisions
      )
      dd.assert_eq(ddf[["y"]], ddf2, check_divisions=divisions)
  
      # Now include metadata
      ddf2 = dask_cudf.read_parquet(
          tmpdir, calculate_divisions=divisions
      )
      dd.assert_eq(ddf, ddf2, check_divisions=divisions)
  
      # Specify columns=['x'] (with metadata)
      ddf2 = dask_cudf.read_parquet(
          tmpdir, columns=["x"], calculate_divisions=divisions
      )
      dd.assert_eq(ddf[["x"]], ddf2, check_divisions=divisions)
  
      # Specify columns='y' (with metadata)
      ddf2 = dask_cudf.read_parquet(
          tmpdir, columns="y", calculate_divisions=divisions
      )
      dd.assert_eq(ddf[["y"]], ddf2, check_divisions=divisions)
  
imports: import glob
  import math
  import os
  import numpy
  import pandas
  import pytest
  import dask
  from dask import dataframe
  from dask.utils import natural_sort_key
  import cudf
  import dask_cudf
label_desc: Use image node_id 2 for calling a global function with example usage: test_roundtrip_from_dask(tmpdir, divisions, write_metadata_file) without return types