Back to Starrocks

DROP PIPE

docs/en/sql-reference/sql-statements/loading_unloading/pipe/DROP_PIPE.md

4.1.0744 B
Original Source

DROP PIPE

DROP PIPE drops a pipe and the related jobs and metadata. Executing this statement on a pipe does not revoke the data that has been loaded via this pipe. This command is supported from v3.2 onwards.

Syntax

SQL
DROP PIPE [IF EXISTS] [db_name.]<pipe_name>

Parameters

db_name

The name of the database to which the pipe belongs.

pipe_name

The name of the pipe.

Examples

Drop the pipe named user_behavior_replica in the database named mydatabase:

SQL
USE mydatabase;
DROP PIPE user_behavior_replica;

References