From f2c17fd1f83f0602f43b4c8a419a83c9449b544d Mon Sep 17 00:00:00 2001 From: ykskb Date: Thu, 8 Aug 2024 23:44:11 +0800 Subject: [PATCH] Add write_partition_columns option into statement copy page. --- docs/sql/statements/copy.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/sql/statements/copy.md b/docs/sql/statements/copy.md index dc7c66b9dca..2500236d56e 100644 --- a/docs/sql/statements/copy.md +++ b/docs/sql/statements/copy.md @@ -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