Alexey Milovidov
5dad134760
Fixed error in reading config with settings for GraphiteMergeTree table engine [#METR-23978].
2016-12-30 01:06:31 +03:00
Alexey Milovidov
cf4f8d6ce4
Modified comment [#METR-2944].
2016-12-27 18:50:31 +03:00
Alexey Milovidov
c195b0212b
Fixed long delay when querying Merge table based on very large amount of StripeLog tables; fixed error in Merge table [#METR-23945].
2016-12-25 07:39:22 +03:00
Vitaliy Lyudvichenko
ba2b32b0ad
Added vertical_merge_algorithm_min_columns_to_activate option. [#METR-23783]
2016-12-22 16:19:03 +03:00
Vitaliy Lyudvichenko
e2bd364844
Added whole block optimization. [#METR-23783]
2016-12-22 16:19:02 +03:00
Alexey Milovidov
536f88ea55
Adjusted coefficients [#METR-23916].
2016-12-22 05:04:32 +03:00
Alexey Milovidov
7ebbf72ca6
Removed unused variable [#METR-23305].
2016-12-22 04:27:41 +03:00
Alexey Milovidov
c47406c42d
StorageBuffer: addition to prev. modification [#METR-23909].
2016-12-22 03:13:59 +03:00
proller
d270053c3c
Replace all !/bin/bash by !/usr/bin/env bash : allow running scripts with bash in non standard path. also on freebsd.
2016-12-21 23:04:27 +03:00
Alexey Milovidov
7222afe5eb
StorageBuffer: fixed exception safety [#METR-23909].
2016-12-21 20:10:32 +03:00
Alexey Milovidov
54587fec1b
Tracking memory used in merges [#METR-23888].
2016-12-20 05:29:35 +03:00
Alexey Milovidov
442ff1d3b8
StorageBuffer: simplification; added metrics [#METR-23888].
2016-12-20 02:55:13 +03:00
Vitaliy Lyudvichenko
e39b41e158
Typo and codestyle fix.
2016-12-18 22:38:30 +03:00
Vitaliy Lyudvichenko
5aa1822fb2
Consecutive optimization for vertical merge. [#METR-23783]
2016-12-18 22:12:25 +03:00
Vitaliy Lyudvichenko
8835275713
More detail log for merges. [#METR-23770] [#METR-23769] [#METR-23783]
2016-12-18 22:12:25 +03:00
Vladimir Chebotarev
d172cb1fc2
StorageReplicatedMergeTree: Correct taking /quorum/last_part into account when merging. [#METR-23826]
2016-12-15 17:32:47 +03:00
Vitaliy Lyudvichenko
876ad28dd8
Merge remote-tracking branch 'origin/master' into metrics_refinement
2016-12-12 19:17:23 +03:00
Alexey Milovidov
c1ecc41804
Fixed error after merge [#METR-19266].
2016-12-12 10:25:31 +03:00
Alexey Milovidov
54af522de1
Preparation [#METR-2944].
2016-12-12 10:24:56 +03:00
Alexey Milovidov
8a69df19c4
Fixed error after merge [#METR-19266].
2016-12-12 09:00:37 +03:00
Alexey Milovidov
de82683197
Fixed build on clang [#METR-2944].[C
2016-12-12 08:56:34 +03:00
Alexey Milovidov
e2ed20999c
Fixed build on clang [#METR-2944].
2016-12-12 08:53:37 +03:00
Alexey Milovidov
31c4636538
Using internal boost library [#METR-2944].
2016-12-12 07:59:19 +03:00
Alexey Milovidov
d5a002f441
Using internal boost library [#METR-2944].
2016-12-12 07:57:55 +03:00
Alexey Milovidov
d605bfdc9d
Using internal boost library [#METR-2944].
2016-12-12 07:57:09 +03:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
Alexey Milovidov
b3e85e6469
Addition to prev. revision [#METR-22442].
2016-12-11 14:59:55 +03:00
Alexey Milovidov
436d2c43c9
Addition to prev. revision [#METR-22442].
2016-12-11 14:47:09 +03:00
Alexey Milovidov
ce6556639e
Fixed tests after merge [#METR-19266] [#METR-22442].
2016-12-11 14:33:51 +03:00
Alexey Milovidov
c937d75a78
Merging [#METR-19266].
2016-12-10 09:10:29 +03:00
Alexey Milovidov
e53e32130d
Merging [#METR-19266].
2016-12-10 07:58:40 +03:00
Alexey Milovidov
e97ecb6cf7
Merge branch 'master' into METR-19266
...
Conflicts:
dbms/CMakeLists.txt
dbms/include/DB/Functions/FunctionsArray.h
dbms/include/DB/Functions/FunctionsString.h
dbms/include/DB/Parsers/ExpressionListParsers.h
dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
dbms/src/Core/ErrorCodes.cpp
dbms/src/Parsers/ASTFunction.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/MergeTreeReader.cpp
dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
Vitaliy Lyudvichenko
ea11f61433
Added requested changes. [#METR-19372]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
855dc56598
Added treshold setting for Vertical merge algorithm. [#METR-23305]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
774eb01fd3
Added MergesTime metric. [#METR-23305]
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
fc4c02c510
StorageSystemMerges refactoring.
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
f8eb9028fd
Refined query_log, processes and merges metrics.
...
Also, dbms/CMakeLists.txt was rewritten.
2016-12-09 13:11:25 +03:00
Alexey Milovidov
514715589b
Preparation [#METR-23747].
2016-12-08 05:49:04 +03:00
proller
76dc51aae5
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-07 22:08:09 +03:00
Alexey Milovidov
072f2fc7b8
Merges: start to lower maximum size of merge only when number of free entries in pool/queue is lower than specified threshold [#METR-21504].
2016-12-06 06:09:07 +03:00
Alexey Milovidov
0717bfa4d2
Simplified LevelMergeSelector [#METR-21504].
2016-12-06 00:34:46 +03:00
Vladimir Chebotarev
bcc5500f91
cmake: More options. [#METR-23701]
2016-12-05 15:43:14 +03:00
Alexey Milovidov
02eb36fd03
MergeSelector: attempt to make something better [#METR-21504].
2016-12-05 09:31:48 +03:00
Vitaliy Lyudvichenko
202ba912ce
Vertical merging algorithm for MergeTree engines. [#METR-23305]
2016-11-29 22:41:31 +03:00
proller
b529f29bb7
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-29 19:57:01 +03:00
Vitaliy Lyudvichenko
1472629799
Updated pk_condition test after recent changes.
2016-11-28 20:59:39 +03:00
Alexey Milovidov
0a2d1ebbb3
Attempt to improve merge selecting algorithm [#METR-23632].
2016-11-28 06:46:08 +03:00
Alexey Milovidov
cac8f9216f
MergeSelector: attempt to do something that has sense [#METR-23632].
2016-11-28 06:17:31 +03:00
proller
4c90ffd61d
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-27 15:03:35 +03:00
Alexey Milovidov
6209092b15
Added heuristic for merge algorithm [#METR-23615].
2016-11-26 07:08:49 +03:00
proller
26fe10a7b4
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-25 03:22:30 +03:00
Alexey Milovidov
7d280a55a3
Fixed error that server could not shutdown while fetching parts [#METR-23616].
2016-11-25 02:18:24 +03:00
Alexey Milovidov
167782c230
Addition to prev. revision [#METR-23615].
2016-11-25 01:43:49 +03:00
Alexey Milovidov
8e5889cf0e
Improved merge selecting algorithm for Replicated tables [#METR-23615].
2016-11-25 01:41:27 +03:00
proller
3b335b5546
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 22:58:40 +03:00
alexey-milovidov
8c2e228856
Revert "New "vertical" algorithm for MergeTrees' parts merges"
2016-11-24 23:08:54 +04:00
proller
e855c16f4a
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 21:25:56 +03:00
alexey-milovidov
8544a8b852
Merge pull request #171 from ludv1x/METR-23305
...
New "vertical" algorithm for MergeTrees' parts merges
2016-11-24 22:07:41 +04:00
Vitaliy Lyudvichenko
544ef67c28
Fixed IN <Set> usage inside PK expressions.
...
Refactoring of type conversion functions convertFieldToType().
2016-11-24 15:32:04 +03:00
proller
8c07957e38
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 04:01:18 +03:00
Vitaliy Lyudvichenko
4f9064ca19
Fixed case when pk column is wrapped by functions.
2016-11-23 22:58:33 +03:00
Vitaliy Lyudvichenko
d27951b4a7
Added requested changes. [#METR-23473]
2016-11-23 16:33:05 +03:00
Vitaliy Lyudvichenko
e07fc7cea5
Fixed Enum usage in PK expressions. [#METR-23473]
...
Added check for duplicates of column names in CREATE query.
2016-11-23 16:19:15 +03:00
Vitaliy Lyudvichenko
ef593d1b01
Added merge_tree.enable_vertical_merge_algorithm setting.
2016-11-23 15:59:25 +03:00
Vitaliy Lyudvichenko
588add5a49
Added requested changes.
...
Also fixed single thread read from empty storage Log.
2016-11-23 15:52:12 +03:00
Vitaliy Lyudvichenko
2cd5b8b604
Updated MergeInfo and progress callbacks with respect to vertical merge alg.
2016-11-23 15:52:12 +03:00
Vitaliy Lyudvichenko
ec9bcd8054
Vertical merging algorithm for ordinary MergeTreee.
2016-11-23 15:47:19 +03:00
proller
4f39c04854
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-23 01:33:37 +03:00
proller
eeeacd0805
merge upstream
2016-11-23 01:33:02 +03:00
Alexey Milovidov
4cab31a60e
Tiny improvement [#METR-2944].
2016-11-22 23:55:45 +03:00
Alexey Milovidov
bba5dcbcfa
Fixed deadlock [#METR-23557].
2016-11-22 22:27:45 +03:00
Alexey Milovidov
94e344ee38
Part checks don't lock ALTERs [#METR-22214].
2016-11-22 21:49:17 +03:00
Alexey Milovidov
886919a5c9
Removed excessive part checks [#METR-22214].
2016-11-22 21:29:36 +03:00
Alexey Milovidov
3b635bf641
Merge branch 'master' of github.com:yandex/ClickHouse
2016-11-22 20:42:21 +03:00
Alexey Milovidov
a464f2303d
Better logic for ALTER in ReplicatedMergeTree [#METR-22214].
2016-11-22 20:41:45 +03:00
proller
e280569453
Everything [maybe] works!
2016-11-22 18:03:54 +03:00
proller
0b40a13ea7
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-22 14:56:57 +03:00
Alexey Milovidov
e2b8236cf4
Fixed error [#METR-2944].
2016-11-20 16:17:51 +03:00
Alexey Milovidov
9018906e1a
Better [#METR-2944].
2016-11-20 15:43:20 +03:00
Alexey Milovidov
c38a9118b1
More tolerant to previous errors [#METR-22327].
2016-11-20 12:17:30 +03:00
Alexey Milovidov
60c62055ba
Added comment [#METR-22327].
2016-11-20 12:13:06 +03:00
Alexey Milovidov
c8c86208aa
Fixed error with ALTER of Enums in Nested fields [#METR-22442].
2016-11-20 11:57:11 +03:00
proller
61e6ee9100
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-18 15:14:34 +03:00
Alexey Milovidov
ea0c752852
Investigated flappy test [#METR-23540].
2016-11-18 12:02:49 +03:00
Alexey Milovidov
ef85902daa
Little better [#METR-22327].
2016-11-18 06:15:49 +03:00
Alexey Milovidov
dfd7f54c1c
Little improvement in case of too much parts [#METR-22327].
2016-11-18 05:50:28 +03:00
Alexey Milovidov
e73e4e887a
Better logic when there is very large number of parts in non-replicated MergeTree [#METR-22327].
2016-11-18 05:34:34 +03:00
Alexey Milovidov
a44e5193b0
Better backpressure for INSERT SELECT into MergeTree [#METR-22327].
2016-11-18 05:05:25 +03:00
proller
881319c4ec
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-18 04:48:21 +03:00
Alexey Milovidov
b19e61757e
Little improvement for large number of small inserts [#METR-22327].
2016-11-18 04:03:57 +03:00
Alexey Milovidov
cfcdb3f881
Added check [#METR-22327].
2016-11-18 03:20:22 +03:00
Alexey Milovidov
0700f53665
Fixed error with 'intersects previous part' [#METR-22327].
2016-11-18 03:19:35 +03:00
proller
278fbbb4da
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-17 00:02:25 +03:00
Alexey Milovidov
866e64a65e
Fixed deadlock in test when many replicas on single server try to execute multiple attaches and wait for each other [#METR-23507].
2016-11-16 09:08:29 +03:00
Alexey Milovidov
d5155fbe7a
Added quota_key to query_log and processlist [#METR-23505].
2016-11-16 08:09:41 +03:00
Alexey Milovidov
bee6183d35
Fixed error [#METR-2944].
2016-11-16 08:05:14 +03:00
proller
8fec8e2ac4
simple get works
2016-11-16 02:55:45 +03:00
alexey-milovidov
52390b0180
Merge pull request #150 from ludv1x/METR-23101
...
clickhouse-local application and File(...) storage
2016-11-14 04:03:03 +04:00
Vitaliy Lyudvichenko
107f7b34c7
Added requested PR changes, 2nd iteration.
2016-11-14 02:57:18 +03:00
Alexey Milovidov
5b72f0956a
Setting level to zero after ATTACH [#METR-23438].
2016-11-11 20:33:43 +03:00
Vitaliy Lyudvichenko
bf924009b9
Added support of seekable files for StorageFile, more options for clickhouse-local. [#METR-23101]
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
2242cfd6b0
Put DatabaseMemory class into separated file.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
0e2eb5436b
Added StorageFile and template for clickhouse-local app.
2016-11-09 22:03:47 +03:00
Alexey Milovidov
efa056fc77
Attempt to improve merge selecting algorithm [#METR-21840].
2016-11-05 04:11:51 +03:00
Alexey Milovidov
8ba7a32410
Fixed error with BackgroundProcesssingPool [#METRIKASUPP-7484].
2016-11-02 18:26:16 +03:00
Alexey Milovidov
22719b1114
MergeSelector: further [#METR-21840].
2016-11-01 23:30:40 +03:00
Alexey Milovidov
aaec9d1db6
Attempt for improvement [#METR-21840].
2016-11-01 22:20:24 +03:00
alexey-milovidov
d1f11af2c2
Merge pull request #151 from Civil/osx_compatibility
...
[WIP] Make it compilable on OS X
2016-11-01 21:09:48 +04:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
5d394a20a1
MergeSelector: changed logic of selection of parts for OPTIMIZE (more like it was before) [#METR-21841].
2016-11-01 18:22:04 +03:00
Alexey Milovidov
ecf2f6b6ab
MergeSelector: development [#METR-21841].
2016-11-01 14:27:29 +03:00
Alexey Milovidov
a3a8b49e80
MergeSelector: development [#METR-21841].
2016-11-01 14:26:36 +03:00
Alexey Milovidov
91dbf74ac0
MergeSelector: development [#METR-21841].
2016-11-01 11:38:55 +03:00
Alexey Milovidov
933c8f3d68
MergeSelector: development [#METR-21841].
2016-11-01 01:53:54 +03:00
Alexey Milovidov
573a84c89a
MergeSelector: development [#METR-21841].
2016-10-31 22:45:22 +03:00
Alexey Milovidov
49602c44a9
MergeSelector: development [#METR-21841].
2016-10-31 22:32:08 +03:00
Alexey Milovidov
4fd7183049
MergeSelector: fixed error [#METR-21841].
2016-10-31 22:11:09 +03:00
Alexey Milovidov
89328b498f
MergeSelector: development [#METR-21841].
2016-10-31 08:35:29 +03:00
Alexey Milovidov
bee00bfcfc
MergeSelector: development [#METR-21841].
2016-10-30 14:05:45 +03:00
Alexey Milovidov
a832a8cd71
MergeSelector: development [#METR-21840].
2016-10-30 11:54:27 +03:00
Alexey Milovidov
4dec8babf1
MergeSelector: development [#METR-21840].
2016-10-30 11:47:47 +03:00
Alexey Milovidov
bab6e9ea22
MergeSelector: development [#METR-21840].
2016-10-30 11:32:05 +03:00
Alexey Milovidov
1b2bbcd359
MergeSelector: development [#METR-21840].
2016-10-30 11:25:07 +03:00
Alexey Milovidov
ba48688f25
MergeSelector: development [#METR-21840].
2016-10-30 11:15:55 +03:00
Alexey Milovidov
c5c63bdf5d
MergeSelector: development [#METR-21840].
2016-10-30 06:39:28 +03:00
Alexey Milovidov
3d48f9d34b
MergeSelector: development [#METR-21840].
2016-10-30 06:12:25 +03:00
Alexey Milovidov
b5156a115d
Additions [#METR-21504].
2016-10-28 02:28:35 +03:00
Alexey Milovidov
74c3b30622
dbms: Simplified logic of selecting merges [#METR-21841].
2016-10-28 01:50:02 +03:00
Alexey Milovidov
687a6d1496
Addition to prev. revision [#METR-2944].
2016-10-25 09:57:12 +03:00
Alexey Milovidov
8be993bd1e
Preparation [#METR-2944].
2016-10-25 09:49:24 +03:00
Alexey Milovidov
daeac24f04
Added ClientInfo: passing original source of query during distributed query execution; improvement of per-user limits in ProcessList [#METR-23279].
2016-10-25 00:40:39 +03:00
Alexey Milovidov
15b369bd08
More instrumentation [#METR-23272].
2016-10-24 16:47:15 +03:00
Alexey Milovidov
9a3deed1ea
Added metric about leadership [#METR-23272].
2016-10-24 15:46:54 +03:00
Alexey Milovidov
2dd43be6e6
Don't hold shared_ptr to zookeeper for long time, because it makes very difficult to remove ephemeral nodes in case of temporary communication errors and thus breaks leader election [#METR-23272].
2016-10-24 15:34:08 +03:00
Alexey Milovidov
ea852bb9d8
Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237].
2016-10-24 07:06:27 +03:00
Alexey Milovidov
9af5ce1e3b
Separate compilation of ProfileEvents; comments [#METR-23237].
2016-10-24 05:02:37 +03:00
Alexey Milovidov
4d9b3fd3ee
Better [#METR-23198].
2016-10-23 13:59:53 +03:00
Alexey Milovidov
afcd933237
Probably better [#METR-23198].
2016-10-23 06:46:51 +03:00
Alexey Arno
a75cfb6df5
Merge branch 'master' into METR-19266 [#METR-19266]
2016-10-21 19:53:35 +03:00
Alexey Milovidov
15bf61c367
Fixed part of error [#METR-23198].
2016-10-21 04:44:57 +03:00
Alexey Arno
3792a9f302
dbms: Server: fixes [#METR-19266]
2016-10-20 13:13:07 +03:00
Alexey Arno
6c40d9b51e
dbms: Server: fixes [#METR-19266]
2016-10-19 21:18:02 +03:00
Yuri Dyachenko
297a1547c5
more usable settings for delayed insert. issue: #METR-22563
2016-10-19 20:58:27 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +03:00
Alexey Arno
b5ff08bce6
dbms: Server: semantic cleanup [#METR-19266]
2016-10-19 10:15:26 +03:00
Alexey Arno
e1099f47cb
dbms: Server: fix [#METR-19266]
2016-10-18 22:31:07 +03:00
alexey-milovidov
8d7ba10835
Merge pull request #132 from ludv1x/METR-22802
...
Automatic reload of remote_servers configuration.
2016-10-14 23:32:27 +04:00
alexey-milovidov
fad9272161
Merge pull request #137 from ludv1x/METR-22471
...
Fixed std::terminate on DROP of StorageReplicatedMergeTree
2016-10-14 23:28:39 +04:00
Vitaliy Lyudvichenko
3120b06c02
Small enhancement and typos fixes.
2016-10-14 21:00:55 +03:00
Vitaliy Lyudvichenko
a0760a4821
Added requested PR changes. [#METR-22802]
2016-10-14 20:54:18 +03:00
Vitaliy Lyudvichenko
669e2982a5
Made merge_selecting_thread creation & deletion atomic. [#METR-22471]
2016-10-14 14:47:11 +03:00
Vitaliy Lyudvichenko
aa863ea7bb
Fixed std::terminate on DROP of StorageReplicatedMergeTree. [#METR-22471]
2016-10-14 13:17:05 +03:00
Alexey Milovidov
dce56bfeba
Implemented TODO [#METR-23132].
2016-10-14 05:51:03 +03:00
Vitaliy Lyudvichenko
144d9018ba
Added port column into system.processes table. [#METR-22966]
2016-10-11 22:01:55 +03:00
Vitaliy Lyudvichenko
ebbc9b9877
Added abilty to automatically update clusters configuration. [#METR-22802]
2016-10-11 17:17:49 +03:00
Alexey Milovidov
6b2755bf2a
Non significant change [#METR-2944].
2016-09-23 23:33:06 +03:00
Alexey Milovidov
365be3c026
Fixed warning with gcc 6 [#METR-2944].
2016-09-19 09:24:18 +03:00
Alexey Arno
bd73b2d165
dbms: Server: Adding nullable type support to functions manipulating arrays. [#METR-19266]
2016-09-15 15:14:25 +03:00
Alexey Arno
b7ca838dc0
dbms: Server: cleanups [#METR-19266]
2016-09-11 13:06:34 +03:00
Vitaliy Lyudvichenko
1d02509ee0
Add new metadata_modification_time column for system.tables [#METR-22593]
2016-09-05 15:15:29 +03:00
Alexey Milovidov
469eebe4f0
Investigation [#METR-2944].
2016-09-04 20:12:07 +03:00
Alexey Arno
443613c153
dbms: Fixed bug in ALTER TABLE ... MODIFY COLUMN. [#METR-19622]
2016-09-02 18:43:43 +03:00
Alexey Milovidov
322e5031bd
Investigation [#METR-22327].
2016-09-02 07:03:40 +03:00
Alexey Milovidov
344e975a59
Temporarily improvement [#METR-22608].
2016-09-02 03:58:18 +03:00
Alexey Arno
91b20fe7ad
dbms: Disabled check because it is unreliable. A better solution is needed. [#METR-18510]
2016-09-01 17:40:02 +03:00
Alexey Arno
2b3a87b7c6
dbms: Catch missing parameter [#METR-18510]
2016-09-01 13:53:50 +03:00
Alexey Milovidov
0db84044e5
Better [#METR-22608].
2016-09-01 05:26:45 +03:00
alexey-milovidov
012f34a799
Merge pull request #96 from yurial/yurial-IStorage-enable_shared_from_this
...
use std::enable_shared_from_this for IStorage
2016-08-31 00:00:23 +04:00
Yuri Dyachenko
295ca40237
typo fix
2016-08-30 22:28:32 +03:00
Yuri Dyachenko
94a2186dde
rename ext::share_ptr_helper -> ext::shared_ptr_helper
2016-08-30 22:27:15 +03:00
Alexey Arno
9528405fe4
dbms: Extended CAST to nullable types. Added ALTER TABLE ... MODIFY COLUMN ... for nullable types. A column with a nullable type can have a default value in CREATE TABLE. [#METR-19266]
2016-08-29 19:57:59 +03:00
Yuri Dyachenko
e5825f790f
use std::enable_shared_from_this for IStorage
2016-08-29 16:28:34 +03:00
Alexey Milovidov
be6cfea281
Fixed typo in comment [#METR-2807].
2016-08-26 23:22:22 +03:00
alexey-milovidov
60b9234b50
Merge pull request #95 from yurial/yurial-more-warning-flags
...
add -Wold-style-cast
2016-08-26 23:58:05 +04:00
Yuri Dyachenko
065b02494a
add -Wold-style-cast
2016-08-26 22:55:11 +03:00
Alexey Milovidov
867b73b6b0
Fixed error with cancelling merges on ALTERs [#METR-22524].
2016-08-26 22:50:04 +03:00
Alexey Milovidov
0c39e52094
Fixed error [#METR-22462].
2016-08-26 21:06:24 +03:00
Alexey Milovidov
689f599e2a
Fixed error, removed partially duplicate code [#METR-22462].
2016-08-25 20:23:29 +03:00
Alexey Arno
824341c1c2
dbms: made code more readable [#METR-19266]
2016-08-24 13:27:19 +03:00
Alexey Arno
cd0541134a
dbms: post-testing fixes [#METR-19266]
2016-08-24 03:39:38 +03:00
Alexey Milovidov
e0f3cbb432
Added optional 'default_database' parameter for Cluster (allow Distributed tables to connect to different databases on different shards/replicas) [#METR-22462].
2016-08-22 23:34:21 +03:00
Alexey Arno
2a5abb17be
dbms: cleanup [#METR-19266]
2016-08-19 15:01:10 +03:00
Alexey Arno
7a4683140e
dbms: cleanup [#METR-19266]
2016-08-19 12:08:48 +03:00
Alexey Arno
eb98892e61
dbms: cleanup [#METR-19266]
2016-08-18 20:08:05 +03:00
Alexey Arno
22dc2f96a1
dbms: cleanup [#METR-19266]
2016-08-18 19:11:20 +03:00
Alexey Arno
e513df2e5c
dbms: reverted change (was bogus) [#METR-19266]
2016-08-15 20:26:06 +03:00
Alexey Arno
f4e77aaf97
dbms: Better code for functions processing. Code cleanup. [#METR-19266]
2016-08-15 14:14:29 +03:00
Alexey Milovidov
0cf32c8aed
Renamed method [#METR-22400].
2016-08-13 05:21:17 +03:00
Alexey Milovidov
b3b2cd110a
Tiny modification [#METR-22327].
2016-08-13 04:59:09 +03:00
Alexey Milovidov
d5ad347532
Fixed probable source of race conditions [#METR-22327].
2016-08-12 08:20:06 +03:00
Alexey Arno
9896c8ce78
dbms: Merged from master [#METR-19266]
2016-08-11 17:15:27 +03:00
Alexey Arno
f5d9d0ebc9
Merge branch 'master' into METR-19266 [#METR-19266]
2016-08-10 22:13:15 +03:00
Alexey Arno
e2b6e10ec1
dbms: Various fixes + more comments [#METR-19266]
2016-08-10 22:12:29 +03:00
Alexey Milovidov
d8eb52c189
Improvement [#METR-22352].
2016-08-10 10:20:21 +03:00
Alexey Milovidov
6bc1840b88
Fixed error [#METR-22352].
2016-08-10 07:20:50 +03:00
Alexey Milovidov
5e9be50a52
Fixed build of test [#METR-21594].
2016-08-10 02:14:36 +03:00
Alexey Milovidov
8cbf62236f
Fixed build of test [#METR-21594].
2016-08-10 02:13:41 +03:00
Alexey Milovidov
b51bdbd0c0
Allow to set 'force_restore_data' flag with creating file on local filesystem [#METR-21594], [#METR-17811].
2016-08-10 00:48:05 +03:00
Alexey Milovidov
4b41c52747
Attempt to improve performance of replication queue processing [#METR-22352].
2016-08-09 23:39:28 +03:00
Alexey Milovidov
f129e94429
Fixed warnings on clang [#METR-2944].
2016-08-07 19:17:57 +03:00
Alexey Milovidov
cb7a458ac4
Added check [#METR-22325].
2016-08-07 14:12:55 +03:00
Alexey Arno
531ff3d5ac
dbms: Merged with master [#METR-19266]
2016-08-05 18:44:19 +03:00
Alexey Milovidov
55ddf44693
Whitespaces [#METR-22173].
2016-08-05 05:40:45 +03:00
Alexey Milovidov
61b9996d9e
Better [#METR-22173].
2016-08-05 05:28:34 +03:00
Alexey Milovidov
fb5981871a
Avoid copying ColumnWithTypeAndName [#METR-22173].
2016-08-05 02:35:07 +03:00
Alexey Milovidov
d7ce4dd410
Better grepability [#METR-22173].
2016-08-03 23:25:09 +03:00
Alexey Milovidov
ee92f5d0cc
dbms: prefer fetching part from replica, in some cases [#METR-22288].
2016-08-02 22:02:00 +03:00
Alexey Milovidov
6cf89fa915
Attempt to not interrupt merges when ZK session is reinitialized [#METR-22283].
2016-08-02 21:33:55 +03:00
Alexey Milovidov
9a07830dbb
Removed useless code (experimental) [#METR-2944].
2016-08-02 04:46:05 +03:00
Alexey Milovidov
6f4fc79cde
Better [#METR-2944].
2016-07-31 06:53:16 +03:00
Alexey Milovidov
1700f4e132
Added support for complex typed arguments for function toString [#METR-22263].
2016-07-30 07:39:51 +03:00
Oleg Obleukhov
f38041836c
Replaced yandex-team.ru domain with .yandex in a help page
2016-07-29 12:31:32 +02:00
Alexey Milovidov
2811f2a17c
Fixed error when system.columns table throws 'Table is dropped' exception when there are many tables, created and dropped everytime [#METR-22205].
2016-07-26 20:22:55 +03:00
Alexey Arno
1fe6786b78
dbms: NULL support for MergeTree [#METR-19266]
2016-07-24 22:32:21 +03:00
Alexey Milovidov
130ec8b58b
Compatibility with new parser and AST of tables list [#METR-2944].
2016-07-22 23:39:28 +03:00
Alexey Arno
beeeb0ab13
dbms: NULL support for MergeTree [#METR-19266]
2016-07-21 19:22:24 +03:00
Alexey Arno
252d7994e7
dbms: cleanup [#METR-19266]
2016-07-19 13:57:57 +03:00
Alexey Arno
d0d1ad3be1
dbms: improvements [#METR-19266]
2016-07-14 15:58:30 +03:00
Alexey Milovidov
55ed2904f4
Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087].
2016-07-14 08:22:09 +03:00
Alexey Arno
ec30520c89
dbms: improvements [#METR-19266]
2016-07-13 20:05:52 +03:00
Alexey Arno
c336359299
dbms: improvements [#METR-19266]
2016-07-13 20:00:10 +03:00
Alexey Arno
fa9829ad85
dbms: removed unused code [#METR-19266]
2016-07-13 19:49:06 +03:00
Alexey Arno
69948c5865
dbms: added support for null values in StorageLog + fixed long-standing bug in StorageLog (if we called the ClickHouseClient with max_threads=1, SELECT threw an exception if a table was empty) [#METR-19266]
2016-07-13 19:41:19 +03:00
Alexey Arno
0bf5406662
dbms: adding support for nulls in the Log engine [#METR-19266]
2016-07-13 13:45:43 +03:00
Alexey Arno
a15cce69aa
dbms: adding support for nulls in the Log engine [#METR-19266]
2016-07-13 13:35:00 +03:00
Alexey Arno
6d753f05e6
dbms: adding support for nulls in the Log engine [#METR-19266]
2016-07-12 21:08:16 +03:00
Alexey Arno
93ac3ee3a8
dbms: Server: Feature development. [#METR-19266]
2016-07-06 18:15:15 +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
Alexey Milovidov
b8ca97a891
Added check for constants in primary key [#METR-2944].
2016-06-21 20:06:12 +03:00
Alexey Milovidov
e8ffd48e49
Loosen safety threshold on amount of ALTER changes [#METR-21615].
2016-06-06 22:50:30 +03:00
Alexey Milovidov
168ca22435
Fixed error when too long merges cannot be successful [#METR-21616].
2016-06-06 22:16:34 +03:00
Alexey Milovidov
47898ae73b
Disabled implicit moving to PREWHERE when using FINAL [#METR-20644].
2016-06-06 21:41:28 +03:00
Alexey Milovidov
3e60a95cdd
Allowed subqueries in views [#METR-21586].
2016-06-06 21:19:28 +03:00
Alexey Milovidov
a4a543f1c3
Merge branch 'master' of github.com:yandex/ClickHouse
2016-05-30 21:24:35 +03:00
Alexey Milovidov
d03d19ab57
Updated comment [#METR-2944].
2016-05-30 21:24:19 +03:00
Alexey Milovidov
7651dcbc0a
Fixed error after moving to non-recursive mutex [#METR-21503].
2016-05-30 04:16:22 +03:00
Alexey Milovidov
c518abe882
Get rid of Poco::SharedPtr [#METR-21503].
2016-05-28 20:31:50 +03:00
Alexey Milovidov
36efb7063e
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 19:00:04 +03:00
Alexey Milovidov
e336ba10eb
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:56:51 +03:00
Alexey Milovidov
9e553dec0a
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:54:40 +03:00
Alexey Milovidov
6a51b999da
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:50:16 +03:00
Alexey Milovidov
fc65afb6f0
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:46:03 +03:00
Alexey Milovidov
8c4abcdd43
Using std::shared_ptr for functions and AST [#METR-21503].
2016-05-28 18:42:22 +03:00
Alexey Milovidov
646d70a545
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 17:14:18 +03:00
Alexey Milovidov
3c1c9d46f7
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:35:44 +03:00
Alexey Milovidov
6863e72f3d
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:15:36 +03:00
Alexey Milovidov
f9b2cd5ab6
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:23:36 +03:00
Alexey Milovidov
61ae4e5547
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:15:50 +03:00
Alexey Milovidov
bf71e2ed90
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 11:11:52 +03:00
Alexey Milovidov
be394f2c84
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 10:48:40 +03:00
Alexey Milovidov
4b7f461e46
Using std::shared_ptr for columns [#METR-21503].
2016-05-28 08:31:36 +03:00
Alexey Milovidov
f2ccbc9802
Better exception message [#METR-21479].
2016-05-26 00:35:57 +03:00
Alexey Arno
113dc3e82f
dbms: Server: Fixed grammar in a few error messages [#METR-20000]
2016-05-24 19:53:29 +03:00
Vladimir Chebotarev
866c8929e2
dbms, contrib: GCC 6 build fixes [#METR-20000]
2016-05-23 03:41:26 +03:00
Alexey Milovidov
adc850993c
Fixed error [#METR-21326].
2016-05-19 23:58:24 +03:00
Alexey Milovidov
92ca4ab538
Investigating [#METR-21326].
2016-05-19 23:24:41 +03:00
Alexey Milovidov
5dbed81502
Added comment [#METR-21326].
2016-05-18 07:03:27 +03:00
Alexey Milovidov
6151fcc3e6
Fixed error [#METR-21326].
2016-05-18 06:58:23 +03:00
Alexey Milovidov
c4407306d5
Always materialize columns while merge [#METR-21119].
2016-05-18 05:49:52 +03:00
Alexey Milovidov
8f50b30268
Alter primary key: development [#METR-21119].
2016-05-18 00:07:10 +03:00
Alexey Milovidov
9a60b90941
Alter primary key: development [#METR-21119].
2016-05-17 23:11:43 +03:00
Alexey Milovidov
d680a7f8da
Alter primary key: development [#METR-21119].
2016-05-17 04:17:32 +03:00
Alexey Milovidov
bf265e264a
Alter primary key: development [#METR-21119].
2016-05-17 02:04:03 +03:00
Alexey Milovidov
2f1fead382
Merge
2016-05-16 21:47:34 +03:00
Alexey Milovidov
093f69c45d
Added support for FINAL and PARTITION specification for OPTIMIZE query [#METR-21326].
2016-05-16 21:43:38 +03:00
Alexey Milovidov
6942819013
Altering primary key [#METR-21119].
2016-05-14 00:08:19 +03:00
Alexey Milovidov
e37ffe7c3d
Tiny modification [#METR-2944].
2016-05-13 06:23:23 +03:00
Alexey Milovidov
203cdbe244
Addition [#METR-21287].
2016-05-13 06:22:53 +03:00
Alexey Milovidov
65de71b5a2
Added table function 'shardByHash' [#METR-21287].
2016-05-13 06:22:16 +03:00
Alexey Arno
6df8377161
dbms: Server: Modified code so that only column names are considered for table consistency checking. [#METR-18510]
2016-05-11 11:20:51 +03:00
Alexey Milovidov
fcbc9eed88
Fixed error with falsely unexpected parts after merge [#METRIKASUPP-6885].
2016-05-07 16:42:03 +03:00
Alexey Milovidov
eea75db9fb
Modify primary key: development [#METR-21119].
2016-05-05 21:28:46 +03:00
Alexey Milovidov
4d3b2dd417
Addition [#METR-21159].
2016-05-04 22:05:42 +03:00
Alexey Milovidov
83df6fdf23
Merge
2016-05-04 22:01:26 +03:00
Alexey Milovidov
37d6b5ae56
Addition to prev. revision [#METR-21048].
2016-04-25 00:46:14 +03:00
Alexey Milovidov
9ae0277632
Fixed build of test [#METR-21048].
2016-04-24 22:47:10 +03:00
Alexey Milovidov
e344f3275b
Merge
2016-04-24 22:46:37 +03:00
Alexey Milovidov
1fd8914e10
Merge
2016-04-24 13:39:18 +03:00
Alexey Milovidov
07f04d70d3
Merge
2016-04-24 12:44:47 +03:00
Alexey Milovidov
55b580f882
More profile events [#METR-2944].
2016-04-23 05:39:40 +03:00
Alexey Arno
3d9dc30e8c
dbms: Added more fault tolerance [#METR-18510]
2016-04-21 17:58:25 +03:00
Alexey Milovidov
cff1004f04
Lowered batch size in pullLogsToQueue [#METR-21013].
2016-04-21 00:24:12 +03:00
Alexey Milovidov
c6722da2b2
Merge
2016-04-19 00:38:06 +03:00
Alexey Milovidov
c43b34d3f0
Added function 'indexHint' [#METR-20940].
2016-04-16 02:10:29 +03:00
Alexey Milovidov
a5d7c41253
Addition [#METR-20644].
2016-04-15 23:11:03 +03:00
Alexey Milovidov
9f3d9277af
Addition to prev. revision [#METR-20644].
2016-04-15 22:55:07 +03:00
Alexey Milovidov
d6ba48a610
Merge
2016-04-15 22:37:19 +03:00
Alexey Milovidov
2bb5a4749b
Merge
2016-04-15 22:09:42 +03:00
Alexey Milovidov
3923c7abce
Merge
2016-04-15 20:42:51 +03:00
Alexey Milovidov
d79174b2ce
Preparation [#METR-20644].
2016-04-15 20:13:51 +03:00
Alexey Arno
68f427398d
dbms: server: Retry after a timeout issue. [#METR-20825]
2016-04-15 01:00:39 +03:00
Alexey Arno
b884690fbf
dbms: server: Bug fix: avoid empty log entries. Also added missing logging. [#METR-20825]
2016-04-14 23:52:16 +03:00
Alexey Arno
1ed2615f7c
dbms: Fixed minor issue with logging [#METR-20825]
2016-04-14 19:25:09 +03:00
Alexey Arno
35e16aed04
dbms: Bug fix: under certain circumstances, ClickHouse would fail to attach a partition whose name coincides with the name of another partition that was previously dropped [#METR-20825]
2016-04-14 19:21:17 +03:00
Alexey Milovidov
b1ee71c026
Fixed build [#METR-2944].
2016-04-13 23:46:11 +03:00
Alexey Milovidov
8b9cf82c6c
More checking [#METR-12588].
2016-04-13 07:48:41 +03:00
Alexey Milovidov
8b346c7f43
Fixed build of tests [#METR-2944].
2016-04-11 00:50:36 +03:00
Alexey Milovidov
edc561d6b5
Fixed error [#METR-20803].
2016-04-10 03:28:44 +03:00
Alexey Milovidov
0b7a474beb
Better exception message [#METR-20817].
2016-04-09 08:45:42 +03:00