code: def get_spark_schema(table, nullable):
      column_names = get_column_names(table)
      column_types = get_dtypes(table)
  
      schema = st.StructType()
      for name, type in zip(column_names, column_types):
          schema.add(name, get_dtypes_spark(type), nullable)
      return schema
  
imports: import os
  import re
  import tempfile
  from collections import OrderedDict
  from os import listdir
  from os.path import isdir
  import glob
  from enum import IntEnum, unique
  import cudf
  import dask_cudf
  import numpy
  import pandas
  import pyblazing
  from blazingsql import DataType
  from pyhive import hive
  from Configuration import Settings
  from DemoTest.chronometer import Chronometer
label_desc: Use image node_id 6 for calling a global function with example usage: get_spark_schema(table, nullable) and returns: schema