Skip to content

Commit

Permalink
Merge pull request #3365 from ykskb/write-partition-columns-option
Browse files Browse the repository at this point in the history
Add write_partition_columns option into statement copy page.
  • Loading branch information
szarnyasg authored Sep 9, 2024
2 parents 3e9674e + 43a4e2a commit f78ecd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/sql/statements/copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ The below options are applicable to all formats written with `COPY`.
| `PARTITION_BY` | The columns to partition by using a Hive partitioning scheme, see the [partitioned writes section]({% link docs/data/partitioning/partitioned_writes.md %}). | `VARCHAR[]` | (empty) |
| `PER_THREAD_OUTPUT` | Generate one file per thread, rather than one file in total. This allows for faster parallel writing. | `BOOL` | `false` |
| `USE_TMP_FILE` | Whether or not to write to a temporary file first if the original file exists (`target.csv.tmp`). This prevents overwriting an existing file with a broken file in case the writing is cancelled. | `BOOL` | `auto` |
| `WRITE_PARTITION_COLUMNS` | Whether or not to write partition columns into files. Only has an effect when used with `partition_by`. | `BOOL` | `false` |

### Syntax

Expand Down

0 comments on commit f78ecd0

Please sign in to comment.