code: def mysql_load_data_in_file(
      table: str, full_path_wildcard: str, cursor, cnx
  ):
      cols = get_column_names(table)
      h = ""
      b = ""
      for i, c in enumerate(cols):
          h = h + "@" + c
          hj = "%s = NULLIF(@%s,'null')" % (c, c)
          b = b + hj
          if i + 1 != len(cols):
              h = h + ",\n"
              b = b + ",\n"
  
      a = glob.glob(full_path_wildcard)
      for fi in a:
          sql = """LOAD DATA LOCAL INFILE '%s'
          INTO TABLE %s
          FIELDS TERMINATED BY '|'
          (%s)
          SET %s;"""
          sql = sql % (fi, table, h, b)
          print(sql)
          try:
              cursor.execute(sql)
              # Make sure data is committed to the database
              cnx.commit()
          except mysql.connector.Error as err:
              if err.errno == errorcode.ER_TABLE_EXISTS_ERROR:
                  print("already exists.")
                  return
              else:
                  print(err.msg)
                  return
          print("load data done!")
  
file_path: blazingsql/tests/BlazingSQLTest/DataBase/mysqlSchema.py
imports: import os
  import glob
  from .createSchema import get_sql_connection, get_column_names, sql_connection
  from blazingsql import DataType
  import mysql.connector
  from mysql.connector import errorcode
label_desc: Use image node_id 2 for calling a global function with example usage: mysql_load_data_in_file(table, full_path_wildcard, cursor, cnx) without return types