mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Draft.
This commit is contained in:
parent
8289fe7b9f
commit
de5ed997ba
@ -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:
|
||||||
|
@ -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](#)
|
||||||
|
Loading…
Reference in New Issue
Block a user