Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create the sink table  in the catalog based on the schema of the query result.
  2. Start the job and write the result to a temporary directory.
  3. If the job executes successfully, then load data into the sink table.
  4. If the job execution fails, then drop the sink table.(optional)This capability requires runtime module support, and SQL passes relevant parameters to the runtime module.)

Drop a Table if the job fails requires some additional support:


Code Changes

parserImpls.ftl

...