Important

Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.

DETACH PIPELINE

The DETACH PIPELINE command is similar to the STOP PIPELINE command with the difference being ALTER TABLE can be performed on a detached pipeline for the table that is currently being referenced by the pipeline.

Syntax

DETACH PIPELINE [IF EXISTS] <pipeline_name>;

Remarks

  • Use the START PIPELINE clause to reattach a detached pipeline.

  • Use the SHOW PIPELINES clause to see the pipeline's state.

  • For more information on altering a table, see ALTER TABLE.

  • Refer to the Permissions Matrix for the required permissions.

Examples

DETACH PIPELINE IF EXISTS books;
SHOW PIPELINES;
+-------------------------+----------+
| Pipelines_in_testdb     | State    |
+-------------------------+----------+
| books                   | Detached |
+-------------------------+----------+
START PIPELINES;
SHOW PIPELINES;
+-------------------------+---------+
| Pipelines_in_testdb     | State   |
+-------------------------+---------+
| books                   | Running |
+-------------------------+---------+

Last modified:

Was this article helpful?