code: def generate_test_embedding(
      slt_path: str,
      csv_path: str,
      copy_path: str,
      num: int,
      dim: int,
      generate_if_exists: bool,
  ):
      if (
          os.path.exists(slt_path)
          and os.path.exists(csv_path)
          and not generate_if_exists
      ):
          print(
              "File {} and {} already existed exists. Skip Generating.".format(
                  slt_path, csv_path
              )
          )
          return
      low, high = 0, 1000
      table_name = "big_embedding_table"
      with open(slt_path, "w") as slt_file, open(
          csv_path, "w"
      ) as csv_file:
          slt_file.write("statement ok\n")
          slt_file.write(
              "DROP TABLE IF EXISTS {};\n".format(table_name)
          )
          slt_file.write("\n")
  
          slt_file.write("statement ok\n")
          slt_file.write(
              "CREATE TABLE {} ( c1 int, c2 embedding(int, {}));\n".format(
                  table_name, dim
              )
          )
          slt_file.write("\n")
  
          slt_file.write("query I\n")
          slt_file.write(
              "COPY {} FROM '{}' WITH ( DELIMITER ',' );\n".format(
                  table_name, copy_path
              )
          )
          slt_file.write("----\n")
          slt_file.write("\n")
  
          slt_file.write("query II\n")
          slt_file.write("SELECT c1, c2 FROM {};\n".format(table_name))
          slt_file.write("----\n")
          for _i in range(num):
              integer = random.randint(low, high)
              col_n = random.randint(dim // 2, dim)
              embedding = [
                  random.randint(low, high) for _ in range(col_n)
              ]
              csv_file.write(
                  str(integer)
                  + ',"['
                  + ",".join([str(x) for x in embedding])
                  + ']"\n'
              )
              embedding.extend([0] * (dim - col_n))
              slt_file.write(
                  str(integer)
                  + " "
                  + ",".join([str(x) for x in embedding])
                  + "\n"
              )
          slt_file.write("\n")
  
          slt_file.write("statement ok\n")
          slt_file.write("DROP TABLE {};\n".format(table_name))
  
imports: import os
  import random
  import argparse
label_desc: Use image node_id 2 for calling a global function with example usage: generate_test_embedding(slt_path, csv_path, copy_path, num, dim, generate_if_exists) without return types