code: def run_queries(
      data_folder: str,
      select: List[str] = None,
      use_arrow_dtype: bool = None,
      gpu: bool = False,
  ):
      if select:
          global queries
          queries = select
  
      # Load the data
      t1 = time.time()
      lineitem = load_lineitem(
          data_folder, use_arrow_dtype=use_arrow_dtype, gpu=gpu
      )
      orders = load_orders(
          data_folder, use_arrow_dtype=use_arrow_dtype, gpu=gpu
      )
      customer = load_customer(
          data_folder, use_arrow_dtype=use_arrow_dtype, gpu=gpu
      )
      nation = load_nation(
          data_folder, use_arrow_dtype=use_arrow_dtype, gpu=gpu
      )
      region = load_region(
          data_folder, use_arrow_dtype=use_arrow_dtype, gpu=gpu
      )
      supplier = load_supplier(
          data_folder, use_arrow_dtype=use_arrow_dtype, gpu=gpu
      )
      part = load_part(
          data_folder, use_arrow_dtype=use_arrow_dtype, gpu=gpu
      )
      partsupp = load_partsupp(
          data_folder, use_arrow_dtype=use_arrow_dtype, gpu=gpu
      )
      mars.execute(
          [
              lineitem,
              orders,
              customer,
              nation,
              region,
              supplier,
              part,
              partsupp,
          ]
      )
      print("Reading time (s): ", time.time() - t1)
  
      q01(lineitem)
      q02(part, partsupp, supplier, nation, region)
      q03(lineitem, orders, customer)
      q04(lineitem, orders)
      q05(lineitem, orders, customer, nation, region, supplier)
      q06(lineitem)
      q07(lineitem, supplier, orders, customer, nation)
      q08(part, lineitem, supplier, orders, customer, nation, region)
      q09(lineitem, orders, part, nation, partsupp, supplier)
      q10(lineitem, orders, customer, nation)
      q11(partsupp, supplier, nation)
      q12(lineitem, orders)
      q13(customer, orders)
      q14(lineitem, part)
      q15(lineitem, supplier)
      q16(part, partsupp, supplier)
      q17(lineitem, part)
      q18(lineitem, orders, customer)
      q19(lineitem, part)
      q20(lineitem, part, nation, partsupp, supplier)
      q21(lineitem, orders, supplier, nation)
      q22(customer, orders)
      print("Total Query time (s): ", time.time() - t1)
  
imports: import argparse
  import functools
  import time
  from typing import Callable, List, Optional, Set, Union
  import mars
  import mars.dataframe
label_desc: Use image node_id 32 for calling a global function with example usage: run_queries(data_folder, select, use_arrow_dtype, gpu) without return types