Skip to content

Commit 3dd2ebc

Browse files
authored
Update 50-file-format-options.md (#1707)
1 parent 0a275c6 commit 3dd2ebc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/en/sql-reference/00-sql-reference/50-file-format-options.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ Determines the behavior when encountering missing fields during data loading. Re
227227
| `ERROR` (Default) | Generates an error if a missing field is encountered. |
228228
| `NULL` | Interprets missing fields as NULL values. An error will be generated for non-nullable fields. |
229229
| `FIELD_DEFAULT` | Uses the default value of the field for missing fields. |
230-
| `TYPE_DEFAULT` | Uses the default value of the field's data type for missing fields. |
231230

232231
### COMPRESSION
233232

@@ -246,4 +245,11 @@ Determines the behavior when encountering missing fields during data loading. Re
246245

247246
## ORC Options
248247

249-
No options available for the ORC format yet.
248+
### MISSING_FIELD_AS
249+
250+
Determines the behavior when encountering missing fields during data loading. Refer to the options in the table below for possible configurations.
251+
252+
| Available Values | Description |
253+
|------------------|-----------------------------------------------------------------------------------------------|
254+
| `ERROR` (Default)| Generates an error if a missing field is encountered. |
255+
| `FIELD_DEFAULT` | Uses the default value of the field for missing fields. |

0 commit comments

Comments
 (0)