code: def test_should_create_job_with_if_not_exists(self):
      if_not_exists = "IF NOT EXISTS"
  
      queries = [
          """CREATE OR REPLACE FUNCTION HomeSalesForecast FROM
                  ( SELECT * FROM postgres_data.home_sales )
                  TYPE Forecasting
                  PREDICT 'price';""",
          "Select HomeSalesForecast(10);",
      ]
  
      query = """CREATE JOB {} {} AS {{
                      {}
                  }}
                  START '2023-04-01'
                  END '2023-05-01'
                  EVERY 2 week;
              """
  
      # Create the database.
      execute_query_fetch_all(
          self.evadb,
          query.format(if_not_exists, self.job_name, "".join(queries)),
      )
  
      # Trying to create the same database should raise an exception.
      with self.assertRaises(ExecutorError):
          execute_query_fetch_all(
              self.evadb,
              query.format("", self.job_name, "".join(queries)),
          )
  
      # Trying to create the same database should warn if "IF NOT EXISTS" is provided.
      execute_query_fetch_all(
          self.evadb,
          query.format(if_not_exists, self.job_name, "".join(queries)),
      )
  
file_path: evadb/test/integration_tests/short/test_create_job_executor.py
imports: import unittest
  from datetime import datetime
  from test.util import get_evadb_for_testing, shutdown_ray
  from evadb.executor.executor_utils import ExecutorError
  from evadb.server.command_handler import execute_query_fetch_all
label_desc: Use image node_id 6 for calling the CreateJobTest obj's underlying member method code with example usage: obj.test_should_create_job_with_if_not_exists() without return types