Skip to content

Commit

Permalink
docs: limit total rows copied in COPY TABLE FROM stmt (#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
irenjj authored May 9, 2024
1 parent ce619f4 commit 982f5ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/nightly/en/reference/sql/copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ COPY tbl FROM '/path/to/folder/xxx.parquet' WITH (FORMAT = 'parquet');
|---|---|---|
| `FORMAT` | Target file(s) format, e.g., JSON, CSV, Parquet | **Required** |
| `PATTERN` | Use regex to match files. e.g., `*_today.parquet` | Optional |
| `MAX_INSERT_ROWS` | Maximum number of rows for insertion. e.g., `1000` | Optional |

#### `CONNECTION` Option

Expand Down
3 changes: 2 additions & 1 deletion docs/nightly/zh/reference/sql/copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ COPY tbl FROM '/path/to/folder/xxx.parquet' WITH (FORMAT = 'parquet');
|---|---|---|
| `FORMAT` | 目标文件格式,例如 JSON, CSV, Parquet | **** |
| `PATTERN` | 使用正则匹配文件,例如 `*_today.parquet` | 可选 |
| `MAX_INSERT_ROWS` | 一次性插入最大行数,例如 `1000` | 可选 |

#### Connection 选项

Expand Down Expand Up @@ -164,4 +165,4 @@ COPY tbl TO 'C:\xxx\xxx\output.parquet' WITH (FORMAT = 'parquet');

-- 下列语句能够正常执行
COPY tbl TO 'C:/xxx/xxx/output.parquet' WITH (FORMAT = 'parquet');
```
```

0 comments on commit 982f5ae

Please sign in to comment.