Skip to content

Commit

Permalink
Merge pull request #3590 from szarnyasg/nits-20240909i
Browse files Browse the repository at this point in the history
Nits 20240909i
  • Loading branch information
szarnyasg authored Sep 9, 2024
2 parents 4e2e2d6 + 629dcee commit 0862c1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GIT

GIT
remote: https://github.com/duckdb/rouge.git
revision: e09fb64ac1d2b08001c012b96f2e03185f80ca7c
revision: b52942adc0cea140cdfed1fbe3ed898e2f231624
branch: duckdb
specs:
rouge (3.3823.1)
Expand Down
7 changes: 4 additions & 3 deletions docs/sql/statements/copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ COPY FROM DATABASE db1 TO db2 (SCHEMA);

### CSV Options

The below options are applicable when writing `CSV` files.
The below options are applicable when writing CSV files.

| Name | Description | Type | Default |
|:--|:-----|:-|:-|
Expand All @@ -264,7 +264,7 @@ The below options are applicable when writing `CSV` files.

### Parquet Options

The below options are applicable when writing `Parquet` files.
The below options are applicable when writing Parquet files.

| Name | Description | Type | Default |
|:--|:-----|:-|:-|
Expand All @@ -274,7 +274,8 @@ The below options are applicable when writing `Parquet` files.
| `ROW_GROUP_SIZE_BYTES` | The target size of each row group. You can pass either a human-readable string, e.g., `2MB`, or an integer, i.e., the number of bytes. This option is only used when you have issued `SET preserve_insertion_order = false;`, otherwise, it is ignored. | `BIGINT` | `row_group_size * 1024` |
| `ROW_GROUP_SIZE` | The target size, i.e., number of rows, of each row group. | `BIGINT` | 122880 |
| `ROW_GROUPS_PER_FILE` | Create a new Parquet file if the current one has a specified number of row groups. If multiple threads are active, the number of row groups in a file may slightly exceed the specified number of row groups to limit the amount of locking – similarly to the behaviour of `FILE_SIZE_BYTES`. However, if `per_thread_output` is set, only one thread writes to each file, and it becomes accurate again. | `BIGINT` | (empty) |
Some examples of `FIELD_IDS` are:

Some examples of `FIELD_IDS` are as follows.

Assign `field_ids` automatically:

Expand Down

0 comments on commit 0862c1d

Please sign in to comment.