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

Revert "add doc for column comment" #22552

Merged
merged 1 commit into from
Aug 24, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 2 additions & 5 deletions docs/en/12-taos-sql/03-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,12 @@ ALTER TABLE [db_name.]tb_name alter_table_clause

alter_table_clause: {
alter_table_options
| ADD COLUMN col_name column_definition
| ADD COLUMN col_name column_type
| DROP COLUMN col_name
| MODIFY COLUMN col_name column_definition
| MODIFY COLUMN col_name column_type
| RENAME COLUMN old_col_name new_col_name
}

column_definition:
type_name [comment 'string_value']

alter_table_options:
alter_table_option ...

Expand Down
12 changes: 3 additions & 9 deletions docs/zh/12-taos-sql/03-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ create_subtable_clause: {
}

create_definition:
col_name column_definition

column_definition:
type_name [comment 'string_value']
col_name column_type

table_options:
table_option ...
Expand Down Expand Up @@ -92,15 +89,12 @@ ALTER TABLE [db_name.]tb_name alter_table_clause

alter_table_clause: {
alter_table_options
| ADD COLUMN col_name column_definition
| ADD COLUMN col_name column_type
| DROP COLUMN col_name
| MODIFY COLUMN col_name column_definition
| MODIFY COLUMN col_name column_type
| RENAME COLUMN old_col_name new_col_name
}

column_definition:
type_name [comment 'string_value']

alter_table_options:
alter_table_option ...

Expand Down