Ivan Lezhankin
|
4f6a494af8
|
Revert references where they were before refactoring.
|
2019-03-15 19:14:13 +03:00 |
|
Ivan Lezhankin
|
d1ead22073
|
Rename As<…> → as<…>
|
2019-03-11 16:22:51 +03:00 |
|
Ivan Lezhankin
|
1e9f7847dc
|
Merge remote-tracking branch 'upstream/master' into iast-as
|
2019-03-11 16:11:22 +03:00 |
|
Ivan Lezhankin
|
a7e838e328
|
Replace all other casts to method IAST::As<Derived>
Also remove some redundant methods like IsIdentifier() et. al.
|
2019-03-11 15:49:39 +03:00 |
|
Alex Zatelepin
|
896b8b15f6
|
fix build
|
2019-03-07 23:52:25 +03:00 |
|
Alexey Zatelepin
|
3344955154
|
separate Read and Write lock holders, better method names
|
2019-03-07 21:10:21 +03:00 |
|
Alexey Zatelepin
|
ab025805a3
|
alter intention lock
|
2019-03-07 20:21:18 +03:00 |
|
Alexey Milovidov
|
4c0b95ac02
|
Less dependencies [#CLICKHOUSE-2]
|
2018-12-26 02:11:36 +03:00 |
|
Alexey Zatelepin
|
4cc4027821
|
add default database to table identifiers in alter commands #3597
|
2018-12-06 21:54:52 +03:00 |
|
Ivan Lezhankin
|
73aa7f2027
|
Rename method partition() → alterPartition()
Also fix build with internal shared libraries.
|
2018-11-26 17:43:40 +03:00 |
|
Ivan Lezhankin
|
74fe350451
|
Refactor partition commands handling into separate interface method.
|
2018-11-20 17:59:34 +03:00 |
|
Ivan Lezhankin
|
935615a647
|
Reimplement FREEZE command.
|
2018-11-12 15:26:14 +03:00 |
|
Ivan Lezhankin
|
03e6a29eb2
|
Implement 'ALTER … FREEZE' command.
Need some tests!
|
2018-11-12 15:26:14 +03:00 |
|
chertus
|
e8f9e3c2a2
|
better fix for distributed DDL [CLICKHOUSE-4036] [CLICKHOUSE-4015]
|
2018-10-25 12:40:30 +03:00 |
|
Alexey Zatelepin
|
b6a5bbc4e9
|
move validation to MutationsInterpreter [#CLICKHOUSE-13]
|
2018-09-04 17:33:48 +03:00 |
|
VadimPE
|
93202ca781
|
CLICKHOUSE-3714 fix code-style and copy-paste
|
2018-08-06 11:25:29 +03:00 |
|
VadimPE
|
b97fa2eb4d
|
CLICKHOUSE-3714 bool ckeck_CanBeDropped -> void ...
|
2018-08-03 12:39:01 +03:00 |
|
VadimPE
|
6142d9ae6a
|
CLICKHOUSE-3714 fix function names and get partition size
|
2018-08-03 11:33:57 +03:00 |
|
VadimPE
|
08fe108ba8
|
CLICKHOUSE-3714 fix methods name
|
2018-08-02 11:48:57 +03:00 |
|
VadimPE
|
66d9ba3eb7
|
CLICKHOUSE-3714 add max_partition_size_to_drop
|
2018-08-01 20:41:18 +03:00 |
|
Alexey Zatelepin
|
c5c601f662
|
save serialized commands in ReplicatedMergeTreeMutationEntry; split InterpreterAlterQuery::parseAlter() [#CLICKHOUSE-3747]
|
2018-06-13 17:14:08 +03:00 |
|
Alexey Zatelepin
|
14947b494f
|
make ASTAlterQuery::Parameters a real AST element ASTAlterCommand [#CLICKHOUSE-3747]
|
2018-06-13 17:13:28 +03:00 |
|
Vitaliy Lyudvichenko
|
c888903488
|
Add query ALTER TABLE t1 [REPLACE|ATTACH] PARTITION FROM t2
* Add ATTACH PARTITION FROM table for MergeTree. [#CLICKHOUSE-3546]
* Implemented replicated case on non-leader replica. [#CLICKHOUSE-3546]
* Disable merges in the dropping range. [#CLICKHOUSE-3546]
* DROP PARTITION is atomic and simpler now. [#CLICKHOUSE-3546]
* Implemented more SYSTEM queries. [#CLICKHOUSE-2931] [#CLICKHOUSE-3546]
SYSTEM queries:
RESTART REPLICAS
SYNC REPLICA db.name
STOP MERGES [db.name]
START MERGES [db.name]
STOP FETCHES [db.name]
START FETCHES [db.name]
STOP REPLICATED SENDS [db.name]
START REPLICATED SENDS [db.name]
STOP REPLICATION QUEUES [db.name]
START REPLICATION QUEUES [db.name]
* Fixed a bunch of bugs in REPLACE PARTITION. [#CLICKHOUSE-3546]
* Add tests for REPLACE PARTITION and SYSTEM. [#CLICKHOUSE-3546]
* Add system.part_log logging. [#CLICKHOUSE-3546]
* Fixed long wait in SYNC REPLICA. [#CLICKHOUSE-3546]
* Add requested changes. [#CLICKHOUSE-3546]
Fixed clickhouse-client bad return code.
* Add requested chenges. [#CLICKHOUSE-3546]
* Add requested chenges. [#CLICKHOUSE-3546]
|
2018-05-21 16:49:54 +03:00 |
|
Alexey Zatelepin
|
d31b897ba7
|
validate mutation commands [#CLICKHOUSE-3688]
|
2018-05-16 05:46:15 +03:00 |
|
Alexey Zatelepin
|
3b97d3938f
|
alter delete skeleton [#CLICKHOUSE-3688]
|
2018-05-16 05:46:15 +03:00 |
|
Vitaliy Lyudvichenko
|
400ad55754
|
Support allow_databases in distributed DDL. [#CLICKHOUSE-3]
Resolves #2189
|
2018-04-17 22:33:58 +03:00 |
|
Alexey Zatelepin
|
5906c9a988
|
rename for clarity
|
2018-03-13 18:00:28 +03:00 |
|
Alexey Zatelepin
|
fdffbe53ac
|
encapsulate ColumnsDeclaration [#CLICKHOUSE-3241]
|
2018-03-13 17:41:25 +03:00 |
|
Alexey Zatelepin
|
de1db216a5
|
getStructureOfRemoteTable returns info about column default kinds [#CLICKHOUSE-3241]
|
2018-03-12 23:21:54 +03:00 |
|
Alexey Zatelepin
|
71642b0880
|
use ColumnsDescription everywhere [#CLICKHOUSE-3241]
|
2018-03-12 22:07:48 +03:00 |
|
Alexey Milovidov
|
601ff1eee4
|
Simplification of AST #1947
|
2018-02-26 06:37:08 +03:00 |
|
Alexey Milovidov
|
5872cd5b63
|
Removed useless code [#CLICKHOUSE-2]
|
2018-02-08 22:20:24 +03:00 |
|
Alexey Milovidov
|
9f57a1f7a5
|
Fixed error: if default user had readonly accesss, the server could not start [#CLICKHOUSE-2]
|
2018-01-19 02:40:32 +03:00 |
|
Alexey Milovidov
|
729b114c15
|
Removed unsupported functionality [#CLICKHOUSE-2].
|
2017-11-18 05:34:00 +03:00 |
|
Alexey Zatelepin
|
68cb592277
|
allow arbitrary partition literals in ALTER PARTITION queries [#CLICKHOUSE-3000]
|
2017-09-26 20:40:02 +03:00 |
|
Vitaliy Lyudvichenko
|
c6eb11aad5
|
Use more suitable method hasRealColumn. [#CLICKHOUSE-2896]
|
2017-07-15 03:21:19 +03:00 |
|
Vitaliy Lyudvichenko
|
9ce4ff4c5b
|
Add check for unexisting column in CLEAR COLUMN. [#CLICKHOUSE-2896]
|
2017-07-15 03:21:19 +03:00 |
|
Alexey Milovidov
|
5b5795633e
|
Using lexer (incomplete) [#CLICKHOUSE-2].
|
2017-07-13 08:59:01 +03:00 |
|
Vitaliy Lyudvichenko
|
d7db235269
|
Better names and log messages. [#CLICKHOUSE-2896]
|
2017-06-22 18:32:09 +03:00 |
|
Vitaliy Lyudvichenko
|
eff3588f28
|
Rename DROP COLUMN FROM PARTITION -> CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-2896]
|
2017-06-22 16:18:19 +03:00 |
|
Vitaliy Lyudvichenko
|
9fd8d6b79f
|
Add ALTER queries. [#CLICKHOUSE-5]
|
2017-06-01 13:49:20 +03:00 |
|
Alexey Milovidov
|
557c3dc7f4
|
Preparation: removed support for unreplicated data in Replicated tables [#CLICKHOUSE-31].
|
2017-05-25 00:38:56 +03:00 |
|
Alexey Milovidov
|
66e209b492
|
Preparations, part 1 [#CLICKHOUSE-31].
|
2017-05-23 21:01:50 +03:00 |
|
Alexey Milovidov
|
0f252046ca
|
Preparations [#CLICKHOUSE-2]
|
2017-05-22 01:25:25 +03:00 |
|
artpaul
|
050f1d4b0a
|
drop column from partition for MergeTree
|
2017-04-15 06:52:04 +03:00 |
|
Alexey Milovidov
|
310736cd7e
|
Moved headers and sources to same place [#CLICKHOUSE-3].
|
2017-04-01 12:22:42 +03:00 |
|
Alexey Milovidov
|
137ad95929
|
Changed tabs to spaces in code [#CLICKHOUSE-3].
|
2017-04-01 11:35:09 +03:00 |
|
Alexey Milovidov
|
4e67e05835
|
Fixed error [#CLICKHOUSE-2].
|
2017-03-14 03:14:19 +03:00 |
|
Alexey Milovidov
|
9018906e1a
|
Better [#METR-2944].
|
2016-11-20 15:43:20 +03:00 |
|
Alexey Milovidov
|
5ded454986
|
Added 'WITH NAME' section to ALTER TABLE ... FREEZE PARTITION query [#METR-21884].
|
2016-06-28 23:50:37 +03:00 |
|