code: def create_and_load_tpch_schema(
      sql: sql_connection, only_create_tables: bool = False
  ):
      schema = sql.schema
      if not schema:
          temporaryFile = NamedTemporaryFile(delete=False)
          schema = temporaryFile.name
      connection = sqlite3.connect(schema)
  
      cursor = connection.cursor()
  
      conda_prefix = os.environ.get("CONDA_PREFIX", "")
      tabs_dir = os.path.join(
          conda_prefix, "blazingsql-testing-files/data/tpch-with-nulls/"
      )
  
      for (
          table,
          table_description,
      ) in sqlite_tpch_table_descriptions.items():
          ok = create_sqlite_table(table_description, cursor)
          if ok and not only_create_tables:
              table_files = "%s/%s_*.psv" % (tabs_dir, table)
              sqlite_load_data_in_file(
                  table, table_files, cursor, connection
              )
          else:
              print(
                  "SQLite table %s already exists, will not load any data!"
                  % table
              )
  
      cursor.close()
      connection.close()
  
file_path: blazingsql/tests/BlazingSQLTest/DataBase/sqliteSchema.py
imports: import csv
  import glob
  import os
  import sqlite3
  from tempfile import NamedTemporaryFile
  from .createSchema import sql_connection
label_desc: Use image node_id 3 for calling a global function with example usage: create_and_load_tpch_schema(sql, only_create_tables) without return types