THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Create the sink table in the catalog based on the schema of the query result.
- Start the job and write the result to a temporary directory.
- If the job executes successfully, then load data into the sink table.
- 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
...