Skip to content

Commit 7c95115

Browse files
authored
updates (#873)
1 parent 81c0f7e commit 7c95115

File tree

6 files changed

+20
-9
lines changed

6 files changed

+20
-9
lines changed

docs/en/guides/40-load-data/04-transform/05-data-load-transform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY INTO [<database_name>.]<table_name> [ ( <col_name> [ , <col_name> ... ] ) ]
1212
[ PATTERN = '<regex_pattern>' ]
1313
[ FILE_FORMAT = (
1414
FORMAT_NAME = '<your-custom-format>'
15-
| TYPE = { CSV | TSV | NDJSON | PARQUET | XML } [ formatTypeOptions ]
15+
| TYPE = { CSV | TSV | NDJSON | PARQUET | ORC } [ formatTypeOptions ]
1616
) ]
1717
[ copyOptions ]
1818
```

docs/en/guides/40-load-data/index.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This guide provides detailed instructions on how to import data into Databend.
1212
<DetailsWrap>
1313

1414
<details>
15-
<summary> Parquet Files </summary>
15+
<summary> Parquet </summary>
1616

1717
- [How to load Parquet file into a table](./03-load-semistructured/00-load-parquet.md)
1818
- [How to export a table to Parquet file](../50-unload-data/00-unload-parquet.md)
@@ -21,7 +21,7 @@ This guide provides detailed instructions on how to import data into Databend.
2121
</details>
2222

2323
<details>
24-
<summary> CSV Files </summary>
24+
<summary> CSV </summary>
2525

2626
- [How to load CSV file into a table](./03-load-semistructured/01-load-csv.md)
2727
- [How to export a table to CSV file](../50-unload-data/01-unload-csv.md)
@@ -31,7 +31,7 @@ This guide provides detailed instructions on how to import data into Databend.
3131

3232

3333
<details>
34-
<summary> TSV Files </summary>
34+
<summary> TSV </summary>
3535

3636
- [How to load TSV file into a table](./03-load-semistructured/02-load-tsv.md)
3737
- [How to export a table to TSV file](../50-unload-data/02-unload-tsv.md)
@@ -40,14 +40,22 @@ This guide provides detailed instructions on how to import data into Databend.
4040
</details>
4141

4242
<details>
43-
<summary> NDJSON Files </summary>
43+
<summary> NDJSON </summary>
4444

4545
- [How to load NDJSON file into a table](./03-load-semistructured/03-load-ndjson.md)
4646
- [How to export a table to NDJSON file](../50-unload-data/03-unload-ndjson.md)
4747
- [How to query directly on NDJSON file](./04-transform/03-querying-ndjson.md)
4848

4949
</details>
5050

51+
<details>
52+
<summary> ORC </summary>
53+
54+
- [How to load ORC file into a table](./03-load-semistructured/04-load-orc.md)
55+
- [How to query directly on ORC file](./04-transform/03-querying-orc.md)
56+
57+
</details>
58+
5159

5260
<details>
5361
<summary> HTTP(S), S3, and More </summary>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,3 +244,6 @@ Determines the behavior when encountering missing fields during data loading. Re
244244
| `ERROR` (Default)| Generates an error if a missing field is encountered. |
245245
| `FIELD_DEFAULT` | Uses the default value of the field for missing fields. |
246246

247+
## ORC Options
248+
249+
No options available for the ORC format yet.

docs/en/sql-reference/10-sql-commands/00-ddl/03-stage/01-ddl-create-stage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Creates an internal or external stage.
1515
CREATE [ OR REPLACE ] STAGE [ IF NOT EXISTS ] <internal_stage_name>
1616
[ FILE_FORMAT = (
1717
FORMAT_NAME = '<your-custom-format>'
18-
| TYPE = { CSV | TSV | NDJSON | PARQUET | XML } [ formatTypeOptions ]
18+
| TYPE = { CSV | TSV | NDJSON | PARQUET | ORC } [ formatTypeOptions ]
1919
) ]
2020
[ COPY_OPTIONS = ( copyOptions ) ]
2121
[ COMMENT = '<string_literal>' ]
@@ -25,7 +25,7 @@ CREATE STAGE [ IF NOT EXISTS ] <external_stage_name>
2525
externalStageParams
2626
[ FILE_FORMAT = (
2727
FORMAT_NAME = '<your-custom-format>'
28-
| TYPE = { CSV | TSV | NDJSON | PARQUET | XML } [ formatTypeOptions ]
28+
| TYPE = { CSV | TSV | NDJSON | PARQUET | ORC } [ formatTypeOptions ]
2929
) ]
3030
[ COPY_OPTIONS = ( copyOptions ) ]
3131
[ COMMENT = '<string_literal>' ]

docs/en/sql-reference/10-sql-commands/10-dml/dml-copy-into-location.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ COPY INTO { internalStage | externalStage | externalLocation }
2222
FROM { [<database_name>.]<table_name> | ( <query> ) }
2323
[ FILE_FORMAT = (
2424
FORMAT_NAME = '<your-custom-format>'
25-
| TYPE = { CSV | TSV | NDJSON | PARQUET | XML } [ formatTypeOptions ]
25+
| TYPE = { CSV | TSV | NDJSON | PARQUET } [ formatTypeOptions ]
2626
) ]
2727
[ copyOptions ]
2828
[ VALIDATION_MODE = RETURN_ROWS ]

docs/en/sql-reference/10-sql-commands/10-dml/dml-copy-into-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ COPY INTO [<database_name>.]<table_name>
2626
[ PATTERN = '<regex_pattern>' ]
2727
[ FILE_FORMAT = (
2828
FORMAT_NAME = '<your-custom-format>'
29-
| TYPE = { CSV | TSV | NDJSON | PARQUET | XML } [ formatTypeOptions ]
29+
| TYPE = { CSV | TSV | NDJSON | PARQUET | ORC } [ formatTypeOptions ]
3030
) ]
3131
[ copyOptions ]
3232
```

0 commit comments

Comments
 (0)