Skip to content

Commit

Permalink
docs: output of COPY INTO TABLE. (#12605)
Browse files Browse the repository at this point in the history
* docs: output of COPY INTO TABLE.

* Update docs/doc/14-sql-commands/10-dml/dml-copy-into-table.md

Co-authored-by: soyeric128 <soyeric128@yahoo.com>

* Update docs/doc/14-sql-commands/10-dml/dml-copy-into-table.md

Co-authored-by: soyeric128 <soyeric128@yahoo.com>

* Update docs/doc/14-sql-commands/10-dml/dml-copy-into-table.md

Co-authored-by: soyeric128 <soyeric128@yahoo.com>

* Update docs/doc/14-sql-commands/10-dml/dml-copy-into-table.md

Co-authored-by: soyeric128 <soyeric128@yahoo.com>

* Update docs/doc/14-sql-commands/10-dml/dml-copy-into-table.md

Co-authored-by: soyeric128 <soyeric128@yahoo.com>

---------

Co-authored-by: soyeric128 <soyeric128@yahoo.com>
  • Loading branch information
youngsofun and soyeric128 authored Aug 29, 2023
1 parent 2666f40 commit 857e0e1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
13 changes: 13 additions & 0 deletions docs/doc/14-sql-commands/10-dml/dml-copy-into-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,19 @@ copyOptions ::=
When importing large volumes of data, such as logs, it is recommended to set both `PURGE` and `FORCE` to True. This ensures efficient data import without the need for interaction with the Meta server (updating the copied-files set). However, it is important to be aware that this may lead to duplicate data imports.
:::

### Output

COPY INTO provides a summary of the data loading results with these columns:

| Column | DataType | Nullable | Description |
|------------------|----------|----------|--------------------------------------------|
| FILE | VARCHAR | NO | The relative path to the source file. |
| ROWS_LOADED | INT | NO | The number of rows loaded from the source file. |
| ERRORS_SEEN | INT | NO | Number of error rows in the source file |
| FIRST_ERROR | VARCHAR | YES | The first error found in the source file. |
| FIRST_ERROR_LINE | INT | YES | Line number of the first error. |


## Examples

### 1. Loading Data from an Internal Stage
Expand Down
7 changes: 1 addition & 6 deletions website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2626,15 +2626,10 @@ caniuse-api@^3.0.0:
lodash.memoize "^4.1.2"
lodash.uniq "^4.5.0"

caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001426, caniuse-lite@^1.0.30001449:
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001426, caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001517:
version "1.0.30001517"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz"

caniuse-lite@^1.0.30001517:
version "1.0.30001517"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz#90fabae294215c3495807eb24fc809e11dc2f0a8"
integrity sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==

ccount@^1.0.0:
version "1.1.0"
resolved "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz"
Expand Down

1 comment on commit 857e0e1

@vercel
Copy link

@vercel vercel bot commented on 857e0e1 Aug 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

databend – ./

databend-git-main-databend.vercel.app
databend-databend.vercel.app
databend.vercel.app
databend.rs

Please sign in to comment.