Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"label":"Pipe","position":17}
21 changes: 21 additions & 0 deletions docs/cn/sql-reference/10-sql-commands/00-ddl/17-pipe/alter-pipe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: ALTER PIPE
sidebar_position: 1
---

修改一个 pipe。

## 语法

```sql
ALTER PIPE [ IF EXISTS ] <name> SET PIPE_EXECUTION_PAUSED = <bool>
ALTER PIPE [ IF EXISTS ] <name> SET COMMENTS = '<comment>'
ALTER PIPE [ IF EXISTS ] <name> REFRESH [ PREFIX = '<prefix>' ] [ MODIFIED_AFTER = '<timestamp>' ]
```

## 示例

```sql
ALTER PIPE my_pipe SET PIPE_EXECUTION_PAUSED = true;
ALTER PIPE my_pipe REFRESH PREFIX = '2025/';
```
6 changes: 6 additions & 0 deletions docs/cn/sql-reference/10-sql-commands/00-ddl/17-pipe/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Pipe
---
| 命令 | 描述 |
|---------|-------------|
| [ALTER PIPE](alter-pipe.md) | 修改 pipe 的执行或刷新行为 |
1 change: 1 addition & 0 deletions docs/cn/sql-reference/10-sql-commands/00-ddl/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ title: DDL(Data Definition Language)命令
| 组件 | 描述 |
|-----------|-------------|
| **[暂存区 (Stage)](03-stage/index.md)** | 为数据加载定义存储位置 |
| **[Pipe](17-pipe/index.md)** | 修改基于 `COPY INTO` 的导入管道 |
| **[流 (Stream)](04-stream/index.md)** | 捕获和处理数据变更 |
| **[任务 (Task)](04-task/index.md)** | 调度和自动化 SQL 操作 |
| **[序列 (Sequence)](04-sequence/index.md)** | 生成唯一的序列号 |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"label":"Pipe","position":17}
21 changes: 21 additions & 0 deletions docs/en/sql-reference/10-sql-commands/00-ddl/17-pipe/alter-pipe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: ALTER PIPE
sidebar_position: 1
---

Modifies a pipe.

## Syntax

```sql
ALTER PIPE [ IF EXISTS ] <name> SET PIPE_EXECUTION_PAUSED = <bool>
ALTER PIPE [ IF EXISTS ] <name> SET COMMENTS = '<comment>'
ALTER PIPE [ IF EXISTS ] <name> REFRESH [ PREFIX = '<prefix>' ] [ MODIFIED_AFTER = '<timestamp>' ]
```

## Example

```sql
ALTER PIPE my_pipe SET PIPE_EXECUTION_PAUSED = true;
ALTER PIPE my_pipe REFRESH PREFIX = '2025/';
```
6 changes: 6 additions & 0 deletions docs/en/sql-reference/10-sql-commands/00-ddl/17-pipe/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Pipe
---
| Command | Description |
|---------|-------------|
| [ALTER PIPE](alter-pipe.md) | Modifies pipe execution or refresh behavior |
1 change: 1 addition & 0 deletions docs/en/sql-reference/10-sql-commands/00-ddl/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ These topics provide reference information for the DDL (Data Definition Language
| Component | Description |
|-----------|-------------|
| **[Stage](03-stage/index.md)** | Define storage locations for data loading |
| **[Pipe](17-pipe/index.md)** | Modify ingestion pipes backed by `COPY INTO` |
| **[Stream](04-stream/index.md)** | Capture and process data changes |
| **[Task](04-task/index.md)** | Schedule and automate SQL operations |
| **[Sequence](04-sequence/index.md)** | Generate unique sequential numbers |
Expand Down
Loading