[Doc] (Show) add doc for show create repository statement (#18542)

This commit is contained in:
GoGoWen
2023-04-14 09:44:54 +08:00
committed by GitHub
parent cc24e2ae13
commit dedcfd7c28
4 changed files with 120 additions and 1 deletions

View File

@ -42,7 +42,7 @@ SHOW CREATE LOAD for load_name;
illustrate:
1`load_name`: import job name
- `load_name`: import job name
### Example

View File

@ -0,0 +1,59 @@
---
{
"title": "SHOW-CREATE-REPOSITORY",
"language": "en"
}
---
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
## SHOW-CREATE-REPOSITORY
### Name
SHOW CREATE REPOSITORY
### Description
This statement is used to demonstrate the creation statement of a repository.
grammar:
```sql
SHOW CREATE REPOSITORY for repository_name;
````
illustrate:
- `repository_name`: repository name
### Example
1. Show the creation statement of the specified repository
```sql
SHOW CREATE REPOSITORY for test_repository
````
### Keywords
SHOW, CREATE, REPOSITORY
### Best Practice

View File

@ -913,6 +913,7 @@
"sql-manual/sql-reference/Show-Statements/SHOW-CREATE-DATABASE",
"sql-manual/sql-reference/Show-Statements/SHOW-CREATE-MATERIALIZED-VIEW",
"sql-manual/sql-reference/Show-Statements/SHOW-CREATE-LOAD",
"sql-manual/sql-reference/Show-Statements/SHOW-CREATE-REPOSITORY",
"sql-manual/sql-reference/Show-Statements/SHOW-CREATE-ROUTINE-LOAD",
"sql-manual/sql-reference/Show-Statements/SHOW-CREATE-FUNCTION",
"sql-manual/sql-reference/Show-Statements/SHOW-COLUMNS",

View File

@ -0,0 +1,59 @@
---
{
"title": "SHOW-CREATE-REPOSITORY",
"language": "zh-CN"
}
---
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
## SHOW-CREATE-REPOSITORY
### Name
SHOW CREATE REPOSITORY
### Description
该语句用于展示仓库的创建语句.
语法:
```sql
SHOW CREATE REPOSITORY for repository_name;
```
说明:
- `repository_name`: 仓库名称
### Example
1. 展示指定仓库的创建语句
```sql
SHOW CREATE REPOSITORY for test_repository
```
### Keywords
SHOW, CREATE, REPOSITORY
### Best Practice