This commit is contained in:
ana-uvarova 2020-11-08 17:55:26 +03:00
parent 8289fe7b9f
commit de5ed997ba
2 changed files with 28 additions and 0 deletions

View File

@ -122,6 +122,9 @@ Example:
ALTER TABLE visits MODIFY COLUMN browser Array(String) ALTER TABLE visits MODIFY COLUMN browser Array(String)
``` ```
## ALTER TABLE MODIFY COLUMN col_name REMOVE what_to_remove
Здесь будет описание для задачи 3122.
Changing the column type is the only complex action it changes the contents of files with data. For large tables, this may take a long time. Changing the column type is the only complex action it changes the contents of files with data. For large tables, this may take a long time.
There are several processing stages: There are several processing stages:

View File

@ -10,3 +10,28 @@ You can change [table TTL](../../../engines/table-engines/mergetree-family/merge
``` sql ``` sql
ALTER TABLE table-name MODIFY TTL ttl-expression ALTER TABLE table-name MODIFY TTL ttl-expression
``` ```
# ALTER TABLE REMOVE TTL
Brief description of what the statement does.
Syntax:
```sql
Syntax of the statement.
```
## Other necessary sections of the description (Optional)
Examples of descriptions with a complicated structure:
- https://clickhouse.tech/docs/en/sql-reference/statements/grant/
- https://clickhouse.tech/docs/en/sql-reference/statements/revoke/
- https://clickhouse.tech/docs/en/sql-reference/statements/select/join/
## See Also (Optional)
Links to related topics as a list.
- [link](#)