Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: limit total rows copied in COPY TABLE FROM stmt #940

Merged
merged 3 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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');
```
```
Loading