This commit adds checks in place during table creation
and updates to ensure that we don't allow `CODEC` for
ALIAS (`default_type` column) like:
```sql
CREATE TABLE compression_codec_on_alias
(
`c0` ALIAS c1 CODEC(ZSTD),
`c1` UInt64
)
ENGINE = MergeTree()
PARTITION BY c0
ORDER BY c1;
```
After these safeguards in place, when trying to create/update column
codec, we will get excaptions like this:
```sql
-- create
CREATE TABLE compression_codec_on_alias
(
`c0` ALIAS c1 CODEC(ZSTD),
`c1` UInt64
)
ENGINE = MergeTree()
PARTITION BY c0
ORDER BY c1
Received exception from server (version 20.8.1):
Code: 377. DB::Exception: Received from localhost:9000. DB::Exception: Cannot specify codec for column type ALIAS.
0 rows in set. Elapsed: 0.006 sec.
-- modify
ALTER TABLE compression_codec_on_alias
ADD COLUMN `c3` ALIAS c2 CODEC(ZSTD) AFTER c2
Received exception from server (version 20.8.1):
Code: 377. DB::Exception: Received from localhost:9000. DB::Exception: Cannot specify codec for column type ALIAS.
0 rows in set. Elapsed: 0.005 sec.
```
* Docs in English for the ttl_only_drop_parts setting.
* Docs in Russian.
* Update docs/ru/operations/settings/settings.md
Co-authored-by: BayoNet <da-daos@yandex.ru>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
1.8 seconds is too small delay, which eventually can lead to
false-positive if the machine will be slow enough.
Increase number of remote streams and the delay, to avoid
false-positive.
* Remove machine_translated
* Add 'For non-Linux operating systems and for AArch64 CPU' section
* Translate getting-started/install.md to ja
* Fix index.md anchors
* Translate index.md via GitLocalize
* Translate index.md via GitLocalize
* Translate getting-started/playground.md to ja
* Translate getting-started/index.md to ja
* Translate experiment to 試す in ja
* Translate getting-started/tutoial.md to ja
* Translate getting-started/tutoial.md to ja
* Translate getting-started/example-datasets to ja
* Fix original article path
* Fix getting-started/index.md
* Revert ja/index.md
* Fix Input/Output to 入出力
* Fix Original argicle en
* Fix missing links md files.
`getting-started/sql-reference/statements/optimize.md` is not placed in ja directory.
Currentry, it refer to english one.
* Change link to optimize.md copied from en
* Change link to alter.md ja