Alexey Zatelepin
|
67be566325
|
KILL MUTATION skeleton [#CLICKHOUSE-3912]
|
2019-02-05 21:08:41 +03:00 |
|
Nikita Vasilev
|
a1b0dede07
|
Data Skipping Indices (#4143)
* made index parser
* added index parsing
* some fixes
* added index interface and factory
* fixed compilation
* ptrs
* added indexParts
* indextypes
* index condition
* IndexCondition
* added indexes in selectexecutor
* fix
* changed comment
* fix
* added granularity
* comments
* fix
* fix
* added writing indexes
* removed indexpart class
* fix
* added setSkipIndexes
* add rw for MergeTreeIndexes
* fixes
* upd error
* fix
* fix
* reading
* test index
* fixed nullptr error
* fixed
* fix
* unique names
* asts -> exprlist
* minmax index
* fix
* fixed select
* fixed merging
* fixed mutation
* working minmax
* removed test index
* fixed style
* added indexes to checkDataPart
* added tests for minmax index
* fixed constructor
* fix style
* fixed includes
* fixed setSkipIndexes
* added indexes meta to zookeeper
* added parsing
* removed throw
* alter cmds parse
* fix
* added alter
* fix
* alters fix
* fix alters
* fix "after"
* fixed alter
* alter fix + test
* fixes
* upd setSkipIndexes
* fixed alter bug with drop all indices
* fix metadata editing
* new test and repl fix
* rm test files
* fixed repl alter
* fix
* fix
* indices
* MTReadStream
* upd test for bug
* fix
* added useful parsers and ast classes
* fix
* fix comments
* replaced columns
* fix
* fixed parsing
* fixed printing
* fix err
* basic IndicesDescription
* go to IndicesDescr
* moved indices
* go to indicesDescr
* fix test minmax_index*
* fixed MT alter
* fixed bug with replMT indices storing in zk
* rename
* refactoring
* docs ru
* docs ru
* docs en
* refactor
* rename tests
* fix docs
* refactoring
* fix
* fix
* fix
* fixed style
* unique idx
* unique
* fix
* better minmax calculation
* upd
* added getBlock
* unique_condition
* added termForAST
* unique
* fixed not
* uniqueCondition::mayBeTrueOnGranule
* fix
* fixed bug with double column
* is always true
* fix
* key set
* spaces
* test
* tests
* fix
* unique
* fix
* fix
* fixed bug with duplicate column
* removed unused data
* fix
* fixes
* __bitSwapLastTwo
* fix
|
2019-02-05 17:50:25 +03:00 |
|
Alexey Milovidov
|
1d4701b0bc
|
Added some warnings from clang's -Weverything
|
2019-01-04 15:10:00 +03:00 |
|
alesapin
|
8bc00f4632
|
CLICKHOUSE-4229: Fix user forwarding for replicated queries which actually send queries to master node
|
2018-12-28 19:21:32 +03:00 |
|
alesapin
|
9342700ce1
|
Move processing pool to ternary logic
|
2018-12-26 20:03:29 +03:00 |
|
Alexey Zatelepin
|
1b27fb046d
|
Merge branch 'master' into alter-order-by
Conflicts:
dbms/programs/server/Server.cpp
|
2018-11-28 16:47:07 +03:00 |
|
Alexey Zatelepin
|
e085bc9816
|
adapt code of #3609 [#CLICKHOUSE-3859]
|
2018-11-27 20:07:10 +03:00 |
|
Ivan Lezhankin
|
73aa7f2027
|
Rename method partition() → alterPartition()
Also fix build with internal shared libraries.
|
2018-11-26 17:43:40 +03:00 |
|
Alexey Zatelepin
|
d3d9242462
|
Merge branch 'master' into alter-order-by
Conflicts:
dbms/src/Parsers/ASTAlterQuery.h
dbms/src/Parsers/ParserAlterQuery.cpp
dbms/src/Storages/AlterCommands.cpp
dbms/src/Storages/AlterCommands.h
|
2018-11-26 16:01:48 +03:00 |
|
Alexey Milovidov
|
c77930fe30
|
Whitespaces [#CLICKHOUSE-2]
|
2018-11-26 03:56:50 +03:00 |
|
alexey-milovidov
|
5038f13b08
|
Merge pull request #3514 from abyss7/CLICKHOUSE-3766
Implement 'ALTER … FREEZE' command
|
2018-11-21 07:17:21 +03:00 |
|
Ivan Lezhankin
|
1e070a7c51
|
Move FREEZE_ALL command source code inside |PartitionCommand|
|
2018-11-20 20:13:59 +03:00 |
|
Ivan Lezhankin
|
74fe350451
|
Refactor partition commands handling into separate interface method.
|
2018-11-20 17:59:34 +03:00 |
|
Sabyanin Maxim
|
e3fc18fcb8
|
add getters of expressions names in StorageReplicatedMergeTree
|
2018-11-20 15:19:12 +03:00 |
|
Sabyanin Maxim
|
08fc057a15
|
make is_in_primary_key and etcetera work. add test.
|
2018-11-19 17:31:16 +03:00 |
|
Alexey Zatelepin
|
2cc0aae82c
|
rearrange AST members in MergeTreeData [#CLICKHOUSE-3859]
|
2018-11-13 16:15:17 +03:00 |
|
Alexey Zatelepin
|
7167bfd7b3
|
fix prewhere with FINAL for VersionedCollapsingMergeTree [#CLICKHOUSE-3859]
|
2018-11-13 16:15:12 +03:00 |
|
Alexey Zatelepin
|
8b85822192
|
store original key ASTs, and not extracted ASTExpressionLists [#CLICKHOUSE-3859]
|
2018-11-13 16:14:44 +03:00 |
|
Alexey Zatelepin
|
0c0c4fd28d
|
add sorting_and_primary_keys_independent [#CLICKHOUSE-3859]
|
2018-11-13 16:13:19 +03:00 |
|
Alexey Zatelepin
|
c4bf38ef07
|
comments [#CLICKHOUSE-3859]
|
2018-11-13 16:13:06 +03:00 |
|
Alexey Zatelepin
|
f4c26e78d2
|
renames [#CLICKHOUSE-3859]
|
2018-11-13 16:13:01 +03:00 |
|
Alexey Zatelepin
|
9a92c0a55c
|
sort key is distinct from primary key [#CLICKHOUSE-3859]
|
2018-11-13 16:12:49 +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 |
|
Sabyanin Maxim
|
94594d8c06
|
add order_key section in system.tables
|
2018-11-11 18:44:21 +03:00 |
|
Sabyanin Maxim
|
51c7284583
|
add getSecondaryExpression
|
2018-11-09 12:41:52 +03:00 |
|
Nikolai Kochetov
|
b1fa3fab9d
|
Fix prewhere whith final. #2827
|
2018-10-04 21:18:54 +03:00 |
|
alesapin
|
ca2334f992
|
Fix build
|
2018-09-12 22:57:14 +03:00 |
|
Nikolai Kochetov
|
6e41be3476
|
Avoid removing columns used in sample expression in prewhere actions. [#CLICKHOUSE-3969]
|
2018-09-07 19:01:21 +03:00 |
|
Nikolai Kochetov
|
391b4b5927
|
Merged with master.
|
2018-08-20 15:25:06 +03:00 |
|
alexey-milovidov
|
0ef2a94d46
|
Merge pull request #2782 from VadimPE/CLICKHOUSE-3714
CLICKHOUSE-3714 add max_partition_size_to_drop
|
2018-08-06 20:20:59 +03:00 |
|
Alexey Milovidov
|
2016374d20
|
Merging #2226
|
2018-08-05 10:05:43 +03:00 |
|
Alexey Zatelepin
|
a0730d7696
|
old mutations cleaner for non-replicated MergeTree engines [#CLICKHOUSE-3828]
|
2018-08-03 22:21:44 +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
|
88aa790a2d
|
save mutations to disk and load them on startup [#CLICKHOUSE-3748]
|
2018-07-16 06:22:22 +03:00 |
|
Alexey Zatelepin
|
78b83d78f0
|
execute part mutations in a background pool [#CLICKHOUSE-3748]
|
2018-07-16 06:22:22 +03:00 |
|
Alexey Zatelepin
|
88300258a7
|
info in system.mutations for nonreplicated MergeTree [#CLICKHOUSE-3748]
|
2018-07-16 06:22:22 +03:00 |
|
Alexey Zatelepin
|
ce17868a5c
|
execute mutations synchronously for StorageMergeTree [#CLICKHOUSE-3748]
|
2018-07-16 06:22:22 +03:00 |
|
Nikolai Kochetov
|
ba4cf6faf0
|
Merged with master.
|
2018-06-25 15:08:21 +03:00 |
|
Alexey Milovidov
|
d56c199f07
|
Merging: Fixed half of problems #2260
|
2018-06-09 18:48:22 +03:00 |
|
Alexey Milovidov
|
0bc678474e
|
Merge branch 'feature/support_truncate' of https://github.com/zhang2014/ClickHouse into zhang2014-feature/support_truncate
|
2018-06-09 17:24:50 +03:00 |
|
Alexey Zatelepin
|
f6c72f8e56
|
Merge branch 'master' into replicated-mergetree-mutations
Conflicts:
dbms/src/Common/ActionBlocker.h
dbms/src/Storages/MergeTree/ActiveDataPartSet.cpp
dbms/src/Storages/MergeTree/ActiveDataPartSet.h
dbms/src/Storages/MergeTree/MergeTreeData.h
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeAlterThread.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
dbms/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
dbms/src/Storages/StorageMergeTree.cpp
dbms/src/Storages/StorageReplicatedMergeTree.cpp
dbms/src/Storages/StorageReplicatedMergeTree.h
|
2018-05-28 18:37:30 +03:00 |
|
Alexey Zatelepin
|
1147e052e8
|
select and write part mutations to queue [#CLICKHOUSE-3747]
|
2018-05-25 23:13:00 +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 |
|
zhang2014
|
6613e56784
|
ISSUES-2259 support truncate syntax
|
2018-05-21 11:38:46 +08:00 |
|
Nikolai Kochetov
|
a3308bf675
|
added IStorage::getQueryProcessingStage
|
2018-04-19 17:47:09 +03:00 |
|
Alexey Milovidov
|
590feb02b5
|
Fixed error; added test from Alexander Zaitsev [#CLICKHOUSE-2]
|
2018-03-19 17:29:40 +03:00 |
|
Alexey Zatelepin
|
fdffbe53ac
|
encapsulate ColumnsDeclaration [#CLICKHOUSE-3241]
|
2018-03-13 17:41:25 +03:00 |
|
Alexey Zatelepin
|
71642b0880
|
use ColumnsDescription everywhere [#CLICKHOUSE-3241]
|
2018-03-12 22:07:48 +03:00 |
|
Alexey Milovidov
|
722b6287ec
|
Miscellaneous [#CLICKHOUSE-2]
|
2018-02-25 05:43:27 +03:00 |
|
Nikolai Kochetov
|
a75e095a80
|
added data_path and metadata_path to system.tables
|
2018-02-22 13:03:35 +03:00 |
|
Nikolai Kochetov
|
64b3a8baa7
|
added secondary sort expression [#CLICKHOUSE-3479]
|
2018-02-13 00:13:50 +03:00 |
|
Vlad Arkhipov
|
be96cf5133
|
Replace subqueries and table expressions on the right side of the IN operator with their results in order to make MergeTree storage engines evaluate the corresponding conditions by using the index.
|
2018-01-21 11:22:52 +03:00 |
|
Vitaliy Lyudvichenko
|
03bca2144d
|
OPTIMIZE doesn't produce intersecting merges now, add optimize_throw_if_noop setting. [#CLICKHOUSE-3432] [#CLICKHOUSE-3420]
Resolves #1753
|
2018-01-15 13:13:18 +03:00 |
|
Alexey Milovidov
|
fcdd5de47d
|
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
This reverts commit fcabe8b888 .
|
2017-12-28 07:39:19 +03:00 |
|
Alexey Milovidov
|
c89041ce63
|
Removed questionable code (2) [#CLICKHOUSE-2].
|
2017-12-26 01:51:04 +03:00 |
|
Alexey Milovidov
|
ec71908b00
|
Revert "Removed questionable code (2) [#CLICKHOUSE-2]."
This reverts commit fcabe8b888 .
|
2017-12-26 00:57:29 +03:00 |
|
Alexey Milovidov
|
fcabe8b888
|
Removed questionable code (2) [#CLICKHOUSE-2].
|
2017-12-26 00:32:33 +03:00 |
|
Alexey Milovidov
|
a85b2e5a95
|
Removed questionable code [#CLICKHOUSE-2].
|
2017-12-26 00:10:46 +03:00 |
|
Alexey Zatelepin
|
b07dbf52c6
|
remove unused function [#CLICKHOUSE-2]
|
2017-12-25 14:40:59 +03:00 |
|
Alexey Milovidov
|
4e04c4da5f
|
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
|
2017-11-04 06:56:31 +03:00 |
|
Alexey Milovidov
|
974a1e4fa5
|
Attempt to change ext::shared_ptr_helper (incomplete) [#CLICKHOUSE-2].
|
2017-11-04 06:56:31 +03:00 |
|
Alexey Zatelepin
|
a7c85e0c89
|
save index_granularity to ATTACH query if it wasn't set explicitly [#CLICKHOUSE-3000]
|
2017-10-20 21:28:44 +03:00 |
|
Alexey Zatelepin
|
728a23f60e
|
allow creation of custom-partitioned tables with experimental syntax [#CLICKHOUSE-3000]
|
2017-09-26 20:40:02 +03:00 |
|
Alexey Zatelepin
|
a10ba0cd91
|
serialize partition key in Replicated tables metadata [#CLICKHOUSE-3000]
|
2017-09-26 20:40:02 +03:00 |
|
Alexey Zatelepin
|
68cb592277
|
allow arbitrary partition literals in ALTER PARTITION queries [#CLICKHOUSE-3000]
|
2017-09-26 20:40:02 +03:00 |
|
Alexey Zatelepin
|
14ba0a9acf
|
rename partition -> partition_id for clarity [#CLICKHOUSE-3000]
|
2017-08-31 23:32:03 +03:00 |
|
Alexey Zatelepin
|
99969ab77a
|
Introduce MergeTreePartitionIndex. Isolate its loading code. [#CLICKHOUSE-3000]
|
2017-08-31 23:32:03 +03:00 |
|
Alexey Milovidov
|
9406b6a5aa
|
Get rid of ASTSet, because it is not really an AST and it lead to bugs [#CLICKHOUSE-3148].
|
2017-07-15 06:48:36 +03:00 |
|
Vitaliy Lyudvichenko
|
d7db235269
|
Better names and log messages. [#CLICKHOUSE-2896]
|
2017-06-22 18:32:09 +03:00 |
|
Vitaliy Lyudvichenko
|
99f502d5e0
|
Support OPTIMIZE query on non-leader replica. [#CLICKHOUSE-2]
|
2017-06-22 18:01:08 +03:00 |
|
Alexey Milovidov
|
0d7d379b44
|
Removed duplicate code [#CLICKHOUSE-2].
|
2017-06-06 21:36:13 +03:00 |
|
Alexey Milovidov
|
9c5ddce06d
|
Get rid of .hpp files [#CLICKHOUSE-2].
|
2017-06-06 20:18:32 +03:00 |
|
Alexey Milovidov
|
9ebf0b633f
|
Added IStorage::startup method to avoid starting replication and merging threads too early during server startup [#CLICKHOUSE-2].
|
2017-06-06 20:06:14 +03:00 |
|
Alexey Milovidov
|
80080f1ad6
|
Small refinements [#CLICKHOUSE-2].
|
2017-06-02 18:54:39 +03:00 |
|
Alexey Milovidov
|
a77369d082
|
Preparation: Storages do not modify query [#CLICKHOUSE-31].
|
2017-05-25 04:12:41 +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
|
48f65e9097
|
Preparation: untangling [#CLICKHOUSE-31].
|
2017-05-25 00:06:29 +03:00 |
|
Alexey Milovidov
|
0f252046ca
|
Preparations [#CLICKHOUSE-2]
|
2017-05-22 01:25:25 +03:00 |
|
Alexey Milovidov
|
5ca7650c86
|
Removed Increment and CounterInFile [#CLICKHOUSE-2].
|
2017-05-10 02:49:19 -04:00 |
|
Yuri Dyachenko
|
10082f3ef4
|
support DEDUPLICATE option in OPTIMIZE query
|
2017-04-17 21:15:14 +03:00 |
|
f1yegor
|
0b243a8b01
|
translate comments
|
2017-04-16 23:17:32 +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 |
|