Deletes an ETL task from the current resource group.
Engine version
The DROP ETL statement requires the stream engine at version 3.1.8 or later.
Note
To view or upgrade the minor version of your instance, go to the console.
Syntax
DROP ETL [ IF EXISTS ] etl_name
Parameters
| Parameter | Description |
|---|---|
IF EXISTS |
Optional. The statement succeeds even if the named ETL task does not exist. |
etl_name |
The name of the ETL task to delete. |
Examples
Delete an ETL task
DROP ETL filter2;
Delete an ETL task without raising an error if it does not exist
DROP ETL IF EXISTS filter2;
Verify the result
Run SHOW ETLS; to confirm the task has been removed.