You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -118,6 +119,22 @@ For the connection parameters available for accessing Tencent Cloud Object Stora
118
119
119
120
See [Input & Output File Formats](../../00-sql-reference/50-file-format-options.md) for details.
120
121
122
+
### PARTITION BY
123
+
124
+
Specifies an expression used to partition the unloaded data into separate folders. The expression must evaluate to a `STRING` type. Each distinct value produced by the expression creates a subfolder in the destination path, and the corresponding rows are written into files under that subfolder.
125
+
126
+
- If the expression evaluates to `NULL`, the rows are placed in a special `_NULL_` folder.
127
+
- The expression can reference any columns from the source table or query.
128
+
- Path traversal (`..`) is not allowed in partition values.
129
+
130
+
The following options are incompatible with `PARTITION BY` and will cause an error if set:
When the partition expression evaluates to `NULL`, the data is placed in a `_NULL_` folder. Each unique partition value creates its own subfolder containing the corresponding data files.
0 commit comments