Skip to content

Commit ce29cb0

Browse files
authored
added Important Notes (#1974)
1 parent b0ff913 commit ce29cb0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/en/sql-reference/10-sql-commands/10-dml/dml-insert-multi.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ SELECT ...
5757
| WHEN | Conditional statement to determine when to insert data into specific target tables.<br/>- A conditional multi-table insert requires at least one WHEN clause.<br/>- A WHEN clause can include multiple INTO clauses, and these INTO clauses can target the same table.<br/>- To unconditionally execute a WHEN clause, you can use `WHEN 1 THEN ...`. |
5858
| ELSE | Specifies the action to take if none of the conditions specified in the WHEN clauses are met. |
5959

60+
## Important Notes
61+
62+
- Aggregate functions, external UDFs, and window functions are not allowed in the `VALUES(...)` expressions.
63+
6064
## Examples
6165

6266
### Example-1: Unconditional INSERT ALL

docs/en/sql-reference/10-sql-commands/10-dml/dml-insert.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ INSERT { OVERWRITE | INTO } <table>
3030
| OVERWRITE | Indicates whether existing data should be truncated before insertion. |
3131
| VALUES | Allows direct insertion of specific values or the default values of the columns. |
3232

33+
## Important Notes
34+
35+
- Aggregate functions, external UDFs, and window functions are not allowed in the `VALUES(...)` expressions.
36+
3337
## Examples
3438

3539
### Example-1: Insert Values with OVERWRITE

0 commit comments

Comments
 (0)