alesapin
|
247906a4d7
|
Move check alter to alter interpreter
|
2019-12-29 14:09:10 +03:00 |
|
alesapin
|
d341b648d2
|
Better alter
|
2019-12-26 21:17:05 +03:00 |
|
alesapin
|
8c7deaa70d
|
More safier, but still ugly mutations interpreter
|
2019-11-06 20:28:03 +03:00 |
|
alesapin
|
0d0ebf885f
|
Remove two redundant arguments from alter
|
2019-08-26 17:50:34 +03:00 |
|
alexey-milovidov
|
7012a421c6
|
Merge branch 'master' into alter_table_drop_detached_part
|
2019-08-23 05:22:07 +03:00 |
|
Alexey Milovidov
|
c4712f1e6e
|
Make the code less bad
|
2019-08-23 02:22:57 +03:00 |
|
Alexander Tokmakov
|
81022bb3e9
|
Merge branch 'master' into alter_table_drop_detached_part
|
2019-08-22 23:38:58 +03:00 |
|
Alexey Milovidov
|
c8859febcb
|
Merge branch 'master' into added-test-for-race-conditions
|
2019-08-20 21:05:25 +03:00 |
|
Alexey Milovidov
|
22a11343e8
|
Attempt to fix race condition
|
2019-08-19 22:02:20 +03:00 |
|
Alexander Tokmakov
|
b5eee531a9
|
fix setting name
|
2019-08-08 19:08:43 +03:00 |
|
Alexander Tokmakov
|
3c2172b750
|
parse and interpret query
|
2019-07-23 22:25:10 +03:00 |
|
Vitaliy Zakaznikov
|
a467e7c105
|
* Moving uexpect.py so that it can be found
* Trying to fix failed style checks
* Trying to fix clang build fail
|
2019-06-10 22:22:53 -04:00 |
|
Vitaliy Zakaznikov
|
a68980ab38
|
* Style check fixes
|
2019-06-10 07:41:33 -04:00 |
|
Vitaliy Zakaznikov
|
d112695c42
|
* Adding other changes to support LIVE VIEWs
|
2019-05-28 17:17:48 -04:00 |
|
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 |
|