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

[doc]Refresh table statement document modification #1843

Merged
merged 12 commits into from
Jan 21, 2025

Conversation

qsy840035156
Copy link
Contributor

DESC TABLE
CANCEL ALTER TABLE
TRUNCATE TABLE
DROP TABLE
SHOW CREATE TABLE


```sql
CANCEL ALTER TABLE COLUMN
FROM db_name.table_name
CANCEL ALTER TABLE COLUMN|ROLLUP FROM <db_name>.<table_name> [ <job_id1> [ , <job_id2> ... ]]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
CANCEL ALTER TABLE COLUMN|ROLLUP FROM <db_name>.<table_name> [ <job_id1> [ , <job_id2> ... ]]
CANCEL ALTER TABLE { COLUMN | MATERIALIZED VIEW | ROLLUP }
FROM <db_name>.<table_name> [ ( <job_id1> [ , <job_id2> ... ] ) ]

```

2. Undo the ALTER TABLE ROLLUP operation
## Required Parameters
**1. `COLUMN|ROLLUP`**
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
**1. `COLUMN|ROLLUP`**
**1. `{ COLUMN | ROLLUP }`**

Comment on lines 112 to 114
```sql
(To be implemented...)
```
Copy link
Contributor

Choose a reason for hiding this comment

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

这是个未完成的TODO?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

原始的官网是这样写的

@KassieZ KassieZ added bug Something is incorrect request review labels Jan 20, 2025
# Conflicts:
#	docs/sql-manual/sql-statements/table-and-view/table/CANCEL-ALTER-TABLE.md
#	docs/sql-manual/sql-statements/table-and-view/table/DESC-TABLE.md
#	docs/sql-manual/sql-statements/table-and-view/table/DROP-TABLE.md
#	docs/sql-manual/sql-statements/table-and-view/table/SHOW-CREATE-TABLE.md
#	docs/sql-manual/sql-statements/table-and-view/table/TRUNCATE-TABLE.md
#	i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/table-and-view/table/CANCEL-ALTER-TABLE.md
#	i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/table-and-view/table/DESC-TABLE.md
#	i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/table-and-view/table/DROP-TABLE.md
#	i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/table-and-view/table/SHOW-CREATE-TABLE.md
#	i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/table-and-view/table/TRUNCATE-TABLE.md
@KassieZ KassieZ merged commit 3f08952 into apache:master Jan 21, 2025
1 check passed
echo-hhj pushed a commit to echo-hhj/doris-website that referenced this pull request Jan 23, 2025
DESC TABLE 
CANCEL ALTER TABLE 
TRUNCATE TABLE 
DROP TABLE
SHOW CREATE TABLE
ixzc pushed a commit to ixzc/doris-website that referenced this pull request Jan 23, 2025
DESC TABLE 
CANCEL ALTER TABLE 
TRUNCATE TABLE 
DROP TABLE
SHOW CREATE TABLE
ixzc pushed a commit to ixzc/doris-website that referenced this pull request Jan 23, 2025
DESC TABLE 
CANCEL ALTER TABLE 
TRUNCATE TABLE 
DROP TABLE
SHOW CREATE TABLE
xiaozhuoyang pushed a commit to xiaozhuoyang/doris-website that referenced this pull request Jan 23, 2025
DESC TABLE 
CANCEL ALTER TABLE 
TRUNCATE TABLE 
DROP TABLE
SHOW CREATE TABLE
yuanyuan8983 pushed a commit to yuanyuan8983/doris-website that referenced this pull request Jan 23, 2025
DESC TABLE 
CANCEL ALTER TABLE 
TRUNCATE TABLE 
DROP TABLE
SHOW CREATE TABLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is incorrect request review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants