Skip to content

Commit 24ed803

Browse files
authored
docs: improve copy_history syntax docs (#3020)
1 parent 09d2483 commit 24ed803

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

docs/cn/sql-reference/00-sql-reference/31-system-tables/system-copy-history.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,16 @@ import FunctionDescription from '@site/src/components/FunctionDescription';
88

99
包含 COPY 历史的相关信息。
1010

11+
## Syntax
12+
13+
```sql
14+
SELECT * FROM copy_history('<table_name>');
15+
```
16+
17+
- `table_name`: 表名。
18+
1119
```sql
12-
select * from copy_history('abc');
20+
select * from copy_history('my_table');
1321

1422
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
1523
│ file_name │ content_length │ last_modified │ etag │

docs/en/sql-reference/00-sql-reference/31-system-tables/system-copy-history.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,16 @@ import FunctionDescription from '@site/src/components/FunctionDescription';
88

99
Contains information about copy history.
1010

11+
## Syntax
12+
13+
```sql
14+
SELECT * FROM copy_history('<table_name>');
15+
```
16+
17+
- `table_name`: The table name.
18+
1119
```sql
12-
select * from copy_history('abc');
20+
select * from copy_history('my_table');
1321

1422
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
1523
│ file_name │ content_length │ last_modified │ etag │

0 commit comments

Comments
 (0)