Guillaume Bienkowski
05/12/2026, 9:10 AMRocky
05/12/2026, 9:11 AMCREATE PIPE privilege is granted at the Database level. This allows a user to create new pipe objects within that specific database.
sql
GRANT CREATE PIPE ON DATABASE <database_name> TO USER <user_identity>;
2. Granting the right to Drop or Alter Pipes
To manage existing pipes (Drop, Alter, Suspend, Resume), you grant privileges on the Pipe objects themselves. You can grant these for a specific pipe or for all pipes within a database.
* For all pipes in a database:
sql
GRANT ALTER, DROP ON ALL PIPES IN DATABASE <database_name> TO USER <user_identity>;
* For a specific pipe:
sql
GRANT ALTER, DROP ON PIPE <database_name>.<pipe_name> TO USER <user_identity>;
Summary of Pipe Privileges
Object Type | Privilege | Description
DATABASE | CREATE PIPE | Allows creating a new pipe in the database.
PIPE | ALTER | Allows modifying a pipe (ALTER PIPE) or its state (SUSPEND/RESUME).
PIPE | DROP | Allows deleting a pipe.
PIPE | USAGE | Allows viewing pipe info or status.
Note: To actually load data using a pipe, the user will also need INSERT privileges on the destination table and appropriate access to the external storage (like S3 or HDFS).
References
• sql-reference/sql-statements/loading_unloading/pipe/CREATE_PIPE.md
• sql-reference/sql-statements/account-management/GRANT.md
• sql-reference/information_schema/pipes.md
• sql-reference/sql-statements/loading_unloading/pipe/DROP_PIPE.md