code: def main(dask_client, spark, dir_data_file, bc, nRals):
      global tmpPath
      tempdir = tempfile.TemporaryDirectory(dir="/tmp")
      tmpPath = tempdir.name + "/BlazingSQL/partitions/"
  
      testsWithNulls = Settings.data["RunSettings"]["testsWithNulls"]
      if testsWithNulls == "true":
          tmpPath += "nulls/"
      else:
          tmpPath += "without-nulls/"
  
      start_mem = gpuMemory.capture_gpu_memory_usage()
  
      for fileSchemaType in data_types:
          createPartitions(fileSchemaType, dir_data_file)
  
      executionTestAuto(dask_client, spark, dir_data_file, bc, nRals)
      executionTestWithPartitions(
          dask_client, spark, dir_data_file, bc, nRals
      )
      executionTestWithSomePartitions(
          dask_client, spark, dir_data_file, bc, nRals
      )
  
      end_mem = gpuMemory.capture_gpu_memory_usage()
  
      gpuMemory.log_memory_usage(queryType, start_mem, end_mem)
  
file_path: blazingsql/tests/BlazingSQLTest/EndToEndTests/oldScripts/hiveFileTest.py
imports: from blazingsql import DataType
  from Configuration import ExecutionMode
  from Configuration import Settings
  from DataBase import createSchema
  from pynvml import nvmlInit
  from Runner import runTest
  from Utils import Execution, gpuMemory, init_context, skip_test, utilityHive
  import shutil
  import pandas
  import tempfile
label_desc: Use image node_id 4 for calling a global function with example usage: main(dask_client, spark, dir_data_file, bc, nRals) without return types