Skip to content

Commit fea30a6

Browse files
authored
Update 01-ddl-create_task.md
1 parent 14b141e commit fea30a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/en/sql-reference/10-sql-commands/00-ddl/04-task/01-ddl-create_task.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ AS
5353
- Boolean operators such as AND, OR, NOT, and others.
5454
- Casts between numeric, string and boolean types.
5555
- Comparison operators such as equal, not equal, greater than, less than, and others.
56+
57+
:::note
58+
Warning: When using STREAM_STATUS in tasks, you must include the database name when referencing the stream (e.g., `STREAM_STATUS('mydb.stream_name')`).
59+
:::
5660

5761
- Multiple tasks that consume change data from a single table stream retrieve different deltas. When a task consumes the change data in a stream using a DML statement, the stream advances the offset. The change data is no longer available for the next task to consume. Currently, we recommend that only a single task consumes the change data from a stream. Multiple streams can be created for the same table and consumed by different tasks.
5862
- Tasks will not retry on each execution; each execution is serial. Each script SQL is executed one by one, with no parallel execution. This ensures that the sequence and dependencies of task execution are maintained.

0 commit comments

Comments
 (0)