code: def create_parquet_metadata_dir(
      dataset: str,
      config: str,
      split: str,
      parquet_metadata_directory: StrPath,
  ) -> tuple[Path, str]:
      dir_path = (
          Path(parquet_metadata_directory).resolve()
          / dataset
          / DATASET_SEPARATOR
          / config
          / split
      )
      parquet_metadata_dir_subpath = (
          f"{dataset}/{DATASET_SEPARATOR}/{config}/{split}"
      )
      makedirs(dir_path, PARQUET_METADATA_DIR_MODE, exist_ok=True)
      return dir_path, parquet_metadata_dir_subpath
  
imports: from os import makedirs
  from pathlib import Path
  import pyarrow.parquet
  from libcommon.constants import DATASET_SEPARATOR
  from libcommon.storage import StrPath
label_desc: Use image node_id 1 for calling a global function with example usage: create_parquet_metadata_dir(dataset, config, split, parquet_metadata_directory) and returns: dir_path,  parquet_metadata_dir_subpath