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
Alexey Milovidov
2a85a1d266
Added setting 'replicated_alter_columns_timeout' [#METR-20816].
2016-04-09 08:43:55 +03:00
Alexey Milovidov
11df87ea54
Merge
2016-04-09 07:22:11 +03:00
Alexey Milovidov
d0365e9501
Separated code for checking parts [#METR-20803].
2016-04-09 06:50:02 +03:00
Alexey Milovidov
8a14cdc966
Fixed error [#METR-20803].
2016-04-09 05:29:15 +03:00
Alexey Milovidov
86e19f1e87
Merge
2016-04-08 00:35:42 +03:00
Alexey Milovidov
f0844ecb66
Attempt to fix an error [#METR-20803].
2016-04-08 00:35:01 +03:00
Alexey Arno
2a23271645
dbms: fixed typo that led to a bug [#METR-18510]
2016-04-06 18:08:28 +03:00
Alexey Milovidov
b0e9fd6da3
Improved exception message [#METR-20762].
2016-04-06 03:31:22 +03:00
Alexey Milovidov
3973277936
Allowed to modify 'max_files_to_modify_in_alter_columns' [#METR-20763].
2016-04-05 21:18:16 +03:00
Alexey Milovidov
6e75a1d1c0
Cloud databases: development [#METR-19998].
2016-04-05 00:41:16 +03:00
Alexey Milovidov
f2edb5d1fb
Attempt to fix an error with yielding leadership [#METR-20691].
2016-04-03 00:22:39 +03:00
Alexey Milovidov
eb5d905600
Added support for using index for LIKE expressions with fixed prefix [#METR-20706].
2016-04-03 00:19:58 +03:00
Alexey Milovidov
60252fed27
Removed old code as promised [#METR-2944].
2016-04-01 19:47:25 +03:00
Alexey Milovidov
f41bba57a5
Better [#METR-20691].
2016-04-01 02:49:31 +03:00
Alexey Milovidov
4f597ed7c3
Fixed error [#METR-20679].
2016-03-31 20:42:57 +03:00
Alexey Milovidov
ba3f35f83c
Merge
2016-03-31 15:21:57 +03:00
Alexey Milovidov
f7bb03e417
Modified comment [#METR-20659].
2016-03-31 15:21:26 +03:00
Alexey Milovidov
e1a80f5ded
Added support for case when merged data differs from data on another replicas [#METR-20670].
2016-03-31 04:25:16 +03:00
Alexey Milovidov
2501af25e8
Cancelling checking parts on shutdown [#METR-20660].
2016-03-31 03:09:12 +03:00
Alexey Milovidov
a2e7b7c904
Addition to prev. revision [#METR-19997].
2016-03-30 22:01:33 +03:00
Alexey Milovidov
0e6993b3ea
Removed obsolete Chunks and ChunkRef storages [#METR-19997].
2016-03-30 19:04:53 +03:00
Alexey Milovidov
5c400d5c5c
Better [#METR-20659].
2016-03-30 02:03:15 +03:00
Alexey Milovidov
bcb8e4e92c
Attempt to fix an error [#METR-20659].
2016-03-30 01:52:11 +03:00
Alexey Milovidov
04875a022a
Removed code for freezing partitions due to unacceptable implementation [#METR-20656].
2016-03-29 22:39:44 +03:00
Alexey Milovidov
34f6887a28
Merge
2016-03-29 19:59:22 +03:00
Alexey Milovidov
c2d1d04157
Added 'is_local' column to system.clusters table [#METR-20655].
2016-03-29 19:58:52 +03:00
Alexey Arno
21ff6d9f94
dbms: Comment updates. Naming simplfications. Use better hashing. [#METR-18510]
2016-03-29 19:29:39 +03:00
Alexey Arno
09985be3ba
dbms: Added more comments. Made some code more understandable. [#METR-18510]
2016-03-28 16:00:00 +03:00
Alexey Milovidov
86617c8339
Cloud databases: development [#METR-19998].
2016-03-28 14:19:51 +03:00
Alexey Milovidov
605e9c4afb
Addition to prev. revision [#METR-20607].
2016-03-27 17:36:59 +03:00
Alexey Milovidov
702876f9f0
Fixed suboptimal index usage in point queries [#METR-20607].
2016-03-27 14:37:25 +03:00
Alexey Arno
776a0e3041
dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510]
2016-03-25 15:21:10 +03:00
Alexey Arno
32a38485e6
Merge
2016-03-25 14:48:45 +03:00
Alexey Milovidov
43d323013c
Fixed error [#METR-19997].
2016-03-23 00:26:13 +03:00
Alexey Milovidov
288fb9dcdf
Less wrong [#METR-19997].
2016-03-22 02:46:24 +03:00
Alexey Milovidov
114713a9c3
StorageBuffer: don't return empty blocks to read [#METR-20540].
2016-03-22 02:04:50 +03:00
Alexey Milovidov
5fc44df6b5
Squashed commit of the following:
...
commit f9b478181cd49224154cc350fb57df7121842f1c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 04:06:36 2016 +0300
Database engines: development [#METR-19997].
commit f7a10a67761ccfd05f3dac32d6444920cd8d4d60
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 03:44:37 2016 +0300
Database engines: development [#METR-19997].
commit bd98a8558e98bad2bed278e5762c4e0fc66e6f38
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 00:33:59 2016 +0300
Database engines: development [#METR-19997].
commit 19712fd884c22a4e2c2b67474086dea8f44e7c7b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 00:03:11 2016 +0300
Database engines: development [#METR-19997].
commit 50274d6df7e91fcc34aab8a8c72347daa2c6512f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 23:24:57 2016 +0300
Database engines: development [#METR-19997].
commit 4a0b99b19b34e90ef8b7be2d199f6232e36ef3f7
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 22:50:36 2016 +0300
Database engines: development [#METR-19997].
commit 44ff3ebba7a3e460a27a89f31ddf199dbea1d182
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 15:09:17 2016 +0300
Database engines: development [#METR-19997].
commit 137c31f3004cfd282473b6acb01cbe1b4ca2aadd
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 03:26:34 2016 +0300
Database engines: development [#METR-19997].
commit aa4c0496d4afe4a691164254be2bd5600542b38a
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 03:22:59 2016 +0300
Database engines: development [#METR-19997].
commit 5a94d1f0607450a2dac28a4d7df8b1393a864c23
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 01:02:40 2016 +0300
Database engines: development [#METR-19997].
commit 50fd5b52ea1141955a5dfba0dcb191f3289ac25b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 23:23:40 2016 +0300
Database engines: development [#METR-19997].
commit a333d91b058e4f56dd83a6d2878c3c2bd8efc002
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 20:29:07 2016 +0300
Database engines: development [#METR-19997].
commit f81d366e7ac8348436f2698d040f8e341743a024
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 01:30:23 2016 +0300
Database engines: development [#METR-19997].
commit d0696860c9060827896214c08d147c759ea79376
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 21:55:31 2016 +0300
Database engines: development [#METR-19997].
commit 46a168c2ada140a0e95cd8d4b9d8ba9bac855d11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 08:00:58 2016 +0300
Database engines: development [#METR-19997].
commit 20a2bad161454225fc1b5f9b919b842fbebc3231
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 06:51:10 2016 +0300
Database engines: development [#METR-19997].
commit ca0a77fcc2a8d0b276eb3743c53551ad3fe16314
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 06:02:20 2016 +0300
Reverted erroneous modification [#METR-19997].
commit 1370bdcc4594182f6ef2b146f9afabfe1c295080
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 00:41:34 2016 +0300
Database engines: development [#METR-19997].
commit 16e72c67041cae6471509d3f0f3d4a9aa7b7dc0f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Mar 15 00:41:48 2016 +0300
Database engines: development [#METR-19997].
2016-03-19 04:18:49 +03:00
Alexey Arno
4ce2d94be7
dbms: Removed code that was not needed anymore since we have now a better way to check issues with connections. [#METR-18510]
2016-03-10 18:42:36 +03:00
Alexey Milovidov
4f3e9dfc95
dbms: addition to prev. revision [#METR-20301].
2016-03-10 06:45:03 +03:00
Alexey Milovidov
b92b0660a7
dbms: fixed error [#METR-20301].
2016-03-10 06:08:09 +03:00
Alexey Arno
50bdb806b9
dbms: Code cleanup. [#METR-18510]
2016-03-09 16:59:34 +03:00
Alexey Arno
75f31de790
dbms: Code cleanup. [#METR-18510]
2016-03-09 16:40:47 +03:00
Alexey Arno
79d5c899b0
dbms: Fault tolerance improvement. Fixed a race condition. Some cleanup. [#METR-18510]
2016-03-09 15:03:39 +03:00
Evgeniy Gatov
6aa4d59400
Merge
2016-03-08 20:52:42 +03:00
Alexey Arno
e9718711d0
dbms: Code cleanup. [#METR-18510]
2016-03-08 18:38:06 +03:00
Alexey Arno
0f35ecc357
dbms: Code cleanup. [#METR-18510]
2016-03-08 16:46:00 +03:00
Alexey Milovidov
0194495b99
Fixed build [#METR-2807].
2016-03-07 11:10:52 +03:00
Alexey Milovidov
85863529cf
Fixing warnings on clang [#METR-2807].
2016-03-07 10:47:41 +03:00
Alexey Milovidov
0536f42f8c
Fixing build on clang [#METR-2807].
2016-03-07 09:49:07 +03:00
Alexey Milovidov
fcbe00ce94
Fixing warnings on clang [#METR-2807].
2016-03-07 07:53:17 +03:00
Alexey Milovidov
a75b6ca3dd
Fixing warnings on clang [#METR-2807].
2016-03-07 07:43:14 +03:00
Alexey Milovidov
ebf5b3afdd
Merge
2016-03-07 05:21:16 +03:00
Alexey Arno
a1fd25865b
dbms: Code cleanup. [#METR-18510]
2016-03-05 13:33:01 +03:00
Alexey Milovidov
f5247021b1
Fixed error [#METR-20296].
2016-03-05 06:17:11 +03:00
Alexey Milovidov
36e4bcc125
Better diagnostics [#METR-19808].
2016-03-05 05:30:20 +03:00
Alexey Milovidov
fb4e0b1402
Fixed error and added test for '_sample_factor' virtual column [#METR-20296].
2016-03-05 02:42:30 +03:00
Alexey Arno
f5c520bde1
dbms: Improved locking. [#METR-18510]
2016-03-04 19:33:31 +03:00
Alexey Arno
860bfcf676
dbms: Code cleanup. [#METR-18510]
2016-03-04 13:04:01 +03:00
Alexey Arno
b44f3f4f5d
dbms: Code cleanup. [#METR-18510]
2016-03-04 13:00:00 +03:00
Alexey Milovidov
4e0be26844
Addition to prev. revision [#METR-20296].
2016-03-04 07:56:43 +03:00
Alexey Milovidov
42883fddc4
Added virtual column '_sample_factor' [#METR-20296].
2016-03-04 07:54:10 +03:00
Alexey Milovidov
d1aee1d615
Fixed error with StorageBuffer and automatic moving conditions to PREWHERE [#METR-20257].
2016-03-04 05:54:26 +03:00
Alexey Milovidov
a8f423a74c
Merge
2016-03-03 23:29:52 +03:00
Alexey Arno
aeb14a7855
dbms: More locking improvements. [#METR-18510]
2016-03-03 19:22:10 +03:00
Alexey Arno
3b9ea20c91
dbms: More locking improvements. [#METR-18510]
2016-03-03 19:20:19 +03:00
Pavel Kartavyy
4e2a760474
Merge
2016-03-03 18:38:13 +03:00
Alexey Arno
d21060c35b
dbms: Locking performance and correctness improvements. [#METR-18510]
2016-03-03 17:37:15 +03:00
Alexey Arno
9efcf9d204
dbms: Code cleanup. [#METR-18510]
2016-03-03 11:40:21 +03:00
Alexey Arno
da03a011b2
dbms: Modified function implementation to make it cleaner. [#METR-18510]
2016-03-03 10:39:02 +03:00
Alexey Milovidov
e29eb14b79
dbms: attempt to fix an error [#METR-20273].
2016-03-03 07:30:36 +03:00
Alexey Milovidov
0119de05bb
DataPartsExchange: better [#METR-20273].
2016-03-03 06:54:37 +03:00
Alexey Arno
aa10c8c87d
dbms: Code cleanup. [#METR-18510]
2016-03-02 23:27:29 +03:00
Alexey Arno
514cf0fcba
dbms: Code cleanup. [#METR-18510]
2016-03-02 17:12:04 +03:00
Alexey Arno
6232e1cf9a
dbms: Added stricter checkings for coordinated requests originating from shards and a more reliable cluster naming scheme. [#METR-18510]
2016-03-02 16:35:30 +03:00
Alexey Arno
fc2c3c1f2e
dbms: Server: Reverted old modification that found its way into master by error. It could have lead to deadlocks. [#METR-18510]
2016-03-01 22:16:27 +03:00
Alexey Arno
6efc98d1f3
Merge
2016-03-01 20:47:53 +03:00
Alexey Milovidov
56b316bff7
Fixed error when symlinked part couldn't be removed [#METR-20080].
2016-02-19 23:13:54 +03:00
Alexey Milovidov
7af87e367f
Better diagnostics [#METR-20079].
2016-02-18 00:02:06 +03:00
Alexey Milovidov
8b3afeb60d
Squashed commit of the following:
...
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:11:29 2016 +0300
Addition [#METR-2944].
commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:08:43 2016 +0300
Fixed error (incomplete) [#METR-2944].
commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 05:37:43 2016 +0300
Improving performance of row formats [#METR-2944].
commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:37:12 2016 +0300
Improving performance of text formats [#METR-2944].
commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:18:00 2016 +0300
Improving performance of row formats [#METR-2944].
commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Mon Feb 15 00:53:27 2016 +0300
Fixed error.
commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 23:13:46 2016 +0300
Improving performance of row formats [#METR-2944].
commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 16:58:56 2016 +0300
Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
bb122a2fa7
dbms: less locking while clearing old parts; better while loading parts [#METR-2944].
2016-02-14 14:02:47 +03:00
Alexey Milovidov
5a78d4b0da
Lowered size of index in memory (experimental) [#METR-2944].
2016-02-14 08:43:03 +03:00
Alexey Milovidov
7a92c3cf1a
Preparation [#METR-2944].
2016-02-14 07:58:47 +03:00
Alexey Milovidov
d14a12151e
Fixed error with leak of watches [#METR-19975].
2016-02-11 04:48:34 +03:00
Pavel Kartavyy
eca42536d8
dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon
2016-02-09 20:06:50 +03:00
Alexey Milovidov
df1d66e51a
Removed sensitive data.
2016-02-08 00:58:58 +03:00
Alexey Milovidov
02958c1c7f
dbms: fixed race condition between attaches and download of parts [#METR-19399].
2016-02-07 20:31:13 +03:00
Alexey Milovidov
43c73cf7ee
dbms: added support for CSV format [#METR-19957].
2016-02-07 11:42:21 +03:00
Alexey Milovidov
563e410b72
Moved threadpool library to contrib [#METR-17973].
2016-02-05 08:07:39 +03:00
Alexey Milovidov
3519c3cea2
dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973].
2016-02-03 04:17:58 +03:00
Alexey Milovidov
48a1fe182d
dbms: attempt to fix an error [#METR-19866].
2016-02-03 00:30:27 +03:00
Alexey Milovidov
038a6278d5
dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901].
2016-02-02 23:33:03 +03:00
Alexey Milovidov
21fb1cca7c
dbms: protection from attaching inactive parts at second ATTACH [#METR-19399].
2016-01-30 06:26:24 +03:00
Alexey Milovidov
a0e7a59ab1
dbms: fixing errors with ATTACHes [#METR-19399].
2016-01-30 05:29:20 +03:00
Alexey Milovidov
dae8a1d99d
dbms: allowed to merge parts after DETACH PARTITION and then ATTACH [#METR-19397].
2016-01-30 04:36:13 +03:00
Alexey Milovidov
f0a009bd70
dbms: attempt to fix an error [#METR-19399].
2016-01-30 03:57:35 +03:00
Alexey Milovidov
061306d04b
Merge
2016-01-29 05:24:50 +03:00
Alexey Milovidov
1b93d7d874
dbms: fixed error with possible conflict of names of parts when doing ATTACH after DROP PARTITION [#METR-18510].
2016-01-29 05:24:03 +03:00
Alexey Milovidov
d5163b5060
Removed few old files [#METR-18510].
2016-01-29 05:22:43 +03:00
Alexey Arno
113b592380
Merge
2016-01-28 19:06:57 +03:00
Alexey Milovidov
e5d4149ca4
Merge
2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7
Merge
2016-01-28 04:00:27 +03:00
Alexey Milovidov
b7d3f0e4d6
Merge
2016-01-28 03:59:35 +03:00
Alexey Milovidov
5d962f241f
dbms: fixed error with ATTACH [#METR-19835].
2016-01-28 03:39:11 +03:00
Alexey Milovidov
5c90d7d45c
Merge
2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a
Merge
2016-01-26 04:56:42 +03:00
Alexey Arno
ae2f7c7613
Merge
2016-01-26 03:30:18 +03:00
Alexey Milovidov
6d50fb4b44
dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779].
2016-01-24 08:00:24 +03:00
Alexey Milovidov
409954428b
dbms: using numeric constants while evaluating PKCondition [#METR-19758].
2016-01-23 00:28:58 +03:00
Alexey Milovidov
e720a53cf2
dbms: return early on WHERE 0 [#METR-19758].
2016-01-22 23:43:16 +03:00
Alexey Milovidov
48be0fb3e4
dbms: faster removing of lost parts from queue [#METR-19754].
2016-01-21 23:45:56 +03:00
Alexey Milovidov
a08281d2eb
dbms: fixed error when replica has too large delay [#METR-19586].
2016-01-21 22:43:00 +03:00
Alexey Arno
a3ea32b985
Merge
2016-01-21 19:30:05 +03:00
Alexey Milovidov
14d525d991
dbms: fixed error with insert quorum [#METR-16779].
2016-01-21 07:06:20 +03:00
Alexey Milovidov
0f3e163c4e
dbms: CurrentMetrics: development [#METR-19596].
2016-01-21 04:47:28 +03:00
Alexey Milovidov
30e559636d
dbms: added support for global metrics: sending to graphite; added system.metrics table [#METR-19596].
2016-01-21 00:32:01 +03:00
Alexey Milovidov
3f89d9e0f5
dbms: added profile event for yielding leadership [#METR-17573].
2016-01-20 23:43:42 +03:00
Alexey Milovidov
fa22ca0d09
dbms: added comment [#METR-19586].
2016-01-20 03:18:58 +03:00
Alexey Milovidov
277167af17
dbms: fixed error with exceptions while queue processing [#METR-19586].
2016-01-20 00:38:01 +03:00
Alexey Milovidov
acd611c326
dbms: fixed calculation of delays [#METR-17573].
2016-01-19 21:49:37 +03:00
Alexey Milovidov
fc951a9304
dbms: pulling logs at startup for better calculation of delays [#METR-17573].
2016-01-19 20:17:22 +03:00
Alexey Milovidov
dd1effe99c
Merge
2016-01-18 19:27:57 +03:00
Alexey Milovidov
25036fec31
dbms: addition [#METR-19586].
2016-01-18 19:27:27 +03:00
Alexey Milovidov
82a96d22b1
dbms: tracking replicas delays [#METR-17573].
2016-01-17 16:00:42 +03:00
Alexey Milovidov
d1882fe766
dbms: addition to prev. revision [#METR-2944].
2016-01-17 11:27:52 +03:00
Alexey Milovidov
d603d0a12d
Merge
2016-01-17 11:12:48 +03:00
Alexey Milovidov
a30532594b
dbms: fixed error [#METR-19586].
2016-01-17 08:22:22 +03:00
Alexey Milovidov
d8e6b1dcf1
dbms: fixed error in prev. revision [#METR-19586].
2016-01-13 05:36:11 +03:00
Alexey Milovidov
ab1b725779
dbms: less dependencies [#METR-2944].
2016-01-13 03:32:59 +03:00
Alexey Milovidov
949ecc2070
dbms: optimized function pullLogsToQueue [#METR-19586].
2016-01-12 22:45:51 +03:00
Alexey Milovidov
13c7d0983a
dbms: cutting dependency [#METR-2944]..
2016-01-12 00:46:36 +03:00
Alexey Milovidov
1f7f7cd682
dbms: better [#METR-19586].
2016-01-10 07:44:12 +03:00
Alexey Milovidov
a5b8166541
dbms: better [#METR-19586].
2016-01-10 07:43:30 +03:00
Alexey Milovidov
a419ce1052
Preparation to build with in-tree Poco library [#METR-19593].
2016-01-07 22:52:21 +03:00
Andrey Mironov
325107ad5a
dbms: FunctionCast for Enums: allow changing names but not values for existing elements [#METR-19265]
2015-12-29 15:57:22 +03:00
Andrey Mironov
40e6f51370
dbms: allow cheap alter of Enums [#METR-19265]
2015-12-28 20:06:15 +03:00
Alexey Milovidov
0cf09f76f8
dbms: better [#METR-2944]..
2015-12-28 17:24:31 +03:00
Alexey Milovidov
43350f51bb
dbms: don't thrash mark_cache on merges (and ALTER MODIFY TYPE) [#METR-19575].
2015-12-26 03:59:09 +03:00
Andrey Mironov
13f56d4465
dbms: use CAST internally whenever a conversion is required [#METR-19265]
2015-12-25 15:06:16 +03:00
Alexey Milovidov
f1f3619df4
dbms: cancelling fetching of parts on table shutdown [#METR-19544].
2015-12-25 00:28:18 +03:00
Alexey Milovidov
89c64fe863
dbms: removed unused field [#METR-2944].
2015-12-24 21:35:01 +03:00
Alexey Milovidov
fe0e9d2248
dbms: little better [#METR-19417].
2015-12-16 05:38:11 +03:00
Alexey Milovidov
0939b5e881
Merge
2015-12-16 05:32:49 +03:00
Alexey Milovidov
9143952e83
dbms: probably better [#METR-19172].
2015-12-13 15:02:10 +03:00
Alexey Milovidov
2aeb48be2d
dbms: added backoff on slow reads [#METR-17579].
2015-12-13 07:52:13 +03:00
Alexey Milovidov
236f04d2dc
dbms: Buffer: fixed error [#METR-19371],
2015-12-11 05:19:32 +03:00
Alexey Milovidov
db8d82f13e
dbms: Buffer: better [#METR-19249].
2015-12-09 09:55:49 +03:00
Alexey Milovidov
e473834770
dbms: StorageBuffer: write correct info about block flushed [#METR-19249].
2015-12-09 09:16:24 +03:00
Alexey Milovidov
9e33ab5519
dbms: fixed error with StorageBuffer [#METR-19249].
2015-12-09 09:10:13 +03:00
Alexey Milovidov
6eb47b0db4
dbms: fixed error with StorageBuffer [#METR-19249].
2015-12-09 09:04:00 +03:00
Alexey Milovidov
6260ac34a3
dbms: fixed high CPU usage on shutdown [#METR-19056].
2015-12-09 08:05:42 +03:00
Alexey Milovidov
e0653fda4e
dbms: little better [#METR-19172].
2015-12-09 07:41:46 +03:00
Alexey Milovidov
f6973a32c4
dbms: added support for empty StripeLog tables [#METR-19298].
2015-12-08 23:04:11 +03:00
Alexey Milovidov
78b560c846
dbms: fixed error [#METR-19283].
2015-12-07 22:30:50 +03:00
Alexey Milovidov
b76731a578
dbms: improved startup times for lagged replica [#METR-18563].
2015-12-05 10:03:17 +03:00
Alexey Milovidov
117060cf43
dbms: fixed error [#METR-18167].
2015-12-03 07:03:20 +03:00
Alexey Milovidov
a7387d9ce4
dbms: improvement [#METR-2944].
2015-11-30 23:20:37 +03:00
Alexey Milovidov
39004c76f5
dbms: addition [#METR-19052].
2015-11-29 15:54:58 +03:00
Alexey Milovidov
b6aaf1fe32
dbms: development; provided monotonicity properties for date-time functions [#METR-19052].
2015-11-29 14:58:44 +03:00
Alexey Milovidov
d9bc972a59
dbms: allowed to use index if column is wrapped by piecewise-monotonic functions: initial implementation [#METR-19052].
2015-11-29 11:06:29 +03:00
Alexey Milovidov
8314861690
dbms: improved performance of INSERT SELECT [#METR-19025].
2015-11-21 18:47:32 +03:00
Andrey Mironov
715d2f6ce5
dbms: add key description to system.dictionaries[#METR-17328]
2015-11-20 19:20:54 +03:00
Alexey Milovidov
0713e4c592
dbms: addition to prev. revision [#METR-18847].
2015-11-20 06:08:12 +03:00
Alexey Milovidov
5e2499eb77
dbms: addition to prev. revision [#METR-18847].
2015-11-20 05:42:26 +03:00
Alexey Milovidov
4318712300
dbms: addition to prev. revision [#METR-18847].
2015-11-20 05:29:16 +03:00
Alexey Milovidov
2d00e5d84f
dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847].
2015-11-20 00:34:53 +03:00
Alexey Milovidov
1b08920e50
dbms: SAMPLE OFFSET: development [#METR-18847].
2015-11-19 06:24:59 +03:00
Alexey Milovidov
09dd253636
dbms: added support for SAMPLE ... OFFSET [#METR-18847].
2015-11-19 00:37:28 +03:00
Alexey Milovidov
513b4e0dc2
dbms: fixed error message [#METR-18810].
2015-11-13 23:31:02 +03:00
Evgeniy Gatov
998f5fd552
dbms: temporarily disabled shards multiplexing [#METR-18300].
2015-11-13 20:21:16 +03:00
Alexey Milovidov
7f736e4065
dbms: temporarily disabled shards multiplexing [#METR-18300].
2015-11-12 04:17:44 +03:00
Alexey Milovidov
9b991b3d6c
dbms: whitespaces [#METR-2944].
2015-11-11 05:13:24 +03:00
Alexey Milovidov
d21307c535
dbms: fixed error with views [#METR-18748].
2015-11-10 23:07:38 +03:00
Alexey Milovidov
f8e58463a6
dbms: addition to prev. revision [#METR-17573].
2015-11-10 00:07:22 +03:00
Alexey Milovidov
e78ed9f802
dbms: replication delays: development [#METR-17573].
2015-11-09 23:30:54 +03:00
Alexey Milovidov
4482871274
dbms: allowed aliases without AS keyword in SELECT clause at top level [#METR-15573].
2015-11-08 03:28:12 +03:00
Alexey Milovidov
a43d225da7
Merge
2015-11-06 21:46:23 +03:00
Alexey Milovidov
d7831a6317
dbms: fixed error [#METR-17573].
2015-11-06 21:45:48 +03:00
Alexey Arno
29dc5f91d1
Merge
2015-11-06 20:44:01 +03:00
Alexey Milovidov
4a35d9169f
dbms: merges don't block ALTERs [#METR-18690].
2015-11-06 20:34:48 +03:00
Alexey Milovidov
53dd07b8ca
dbms: checking replication delays: development [#METR-17573].
2015-11-05 23:08:18 +03:00
Alexey Milovidov
e29df2814c
dbms: checking replication delays [#METR-17573].
2015-11-05 22:44:19 +03:00
Alexey Milovidov
11447a4e1a
dbms: accurate checking of replication delays (incomplete) [#METR-17573].
2015-11-05 20:38:24 +03:00
Alexey Milovidov
213a6dedbd
dbms: probably fixed error [#METR-18611].
2015-11-02 22:19:29 +03:00
Alexey Arno
3c115c4dbe
dbms: Server: Compilation fix. [#METR-16213]
2015-11-02 13:53:40 +03:00
Alexey Milovidov
c9a8f19def
dbms: fixed error with tuples of consts [#METR-18586].
2015-10-29 00:21:18 +03:00
Alexey Milovidov
400588148c
dbms: fixed error in PKCondition [#METR-18585].
2015-10-29 00:00:44 +03:00
Andrey Mironov
d2188a1183
dbms: alter: allow altering between any default types. [#METR-18221]
...
add commentary about altering to FixedString(N) columns with existing files
2015-10-21 17:54:13 +03:00
Andrey Mironov
8242d24d1d
dbms: fix alters involving FixedString columns and defaults [#METR-18221]
2015-10-21 17:54:13 +03:00
Alexey Arno
2660fbaa21
dbms: Server: merged branch METR-16213 into master
2015-10-20 17:59:29 +03:00
Andrey Mironov
4195842841
dbms: add ext::identity and ext::collection_cast, use in ITableDeclaration
2015-10-16 14:44:44 +03:00
Andrey Mironov
3b879c444d
dbms: simplify ITableDeclaration::getColumnsList
2015-10-15 20:58:28 +03:00
Andrey Mironov
b0d70b6753
dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further
2015-10-15 20:51:23 +03:00
Andrey Mironov
ecf917de65
dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further
2015-10-15 19:50:10 +03:00
Alexey Arno
5f17c9d55d
Merge
2015-10-12 17:53:16 +03:00
Alexey Milovidov
bb283e6602
dbms: added support for different numeric types in function has [#METR-18382].
2015-10-12 10:05:54 +03:00
Alexey Milovidov
0a7b4dd536
dbms: fixed little error [#METR-16457].
2015-10-08 23:01:09 +03:00
Alexey Milovidov
4e75ccee03
Probably better [#METR-17973].
2015-10-05 08:40:27 +03:00
Alexey Milovidov
918422ad48
Moved files [#METR-17973].
2015-10-05 04:35:28 +03:00
Alexey Milovidov
f90c3003ea
Moved files [#METR-17973].
2015-10-05 04:11:12 +03:00
Alexey Milovidov
4a061b97cb
Moved file [#METR-17973].
2015-10-05 03:44:40 +03:00
Alexey Milovidov
fefd3791f1
Moved files [#METR-17973].
2015-10-05 03:33:43 +03:00
Alexey Milovidov
733324645f
dbms: aggregation by arrays: preparation [#METR-13168].
2015-10-04 06:17:36 +03:00
Alexey Milovidov
f356545bbe
dbms: allowed DROP/DETACH partition on non-leader [#METR-17573].
2015-10-03 00:28:19 +03:00
Alexey Milovidov
b8c8662457
dbms: preparation [#METR-18167].
2015-10-02 21:33:46 +03:00
Alexey Milovidov
d339ad0048
Merge
2015-10-01 06:30:50 +03:00
Alexey Milovidov
1f6def094f
dbms: fixed build [#METR-18202].
2015-09-29 22:19:54 +03:00
Alexey Milovidov
003cc854fd
dbms: changed 'at most' to 'at least' for rows to read when specifying absolute SAMPLE size [#METRIKASUPP-5748].
2015-09-28 22:10:07 +03:00
Alexey Milovidov
932a09ad6e
dbms: fixed race condition in ATTACH [#METR-17573].
2015-09-27 17:22:23 +03:00
Alexey Milovidov
e96705ed44
dbms: fixed error [#METR-16779].
2015-09-27 16:45:20 +03:00
Alexey Milovidov
88f8d02ae7
dbms: fixed error [#METR-16779].
2015-09-27 16:35:14 +03:00
Alexey Milovidov
9a4a46af9b
dbms: fixed error [#METR-16779].
2015-09-27 16:03:41 +03:00
Alexey Milovidov
1a2f063fc8
dbms: addition to prev. revision [#METR-16779].
2015-09-27 15:52:58 +03:00
Alexey Milovidov
9025f88561
dbms: fixed error [#METR-18061].
2015-09-27 15:34:32 +03:00
Alexey Milovidov
87e1e69ff6
dbms: allowed to write block again after failed quorum write [#METR-16779].
2015-09-27 13:45:49 +03:00
Alexey Milovidov
3979b2aa49
dbms: don't use unreplicated data if there are no parts [#METR-18198].
2015-09-27 10:11:00 +03:00
Andrey Mironov
07a3ea8eb1
Merge
2015-09-25 16:39:13 +03:00
Alexey Milovidov
093a8b12a7
dbms: added 'max_network_bytes' setting [#METR-18186].
2015-09-25 15:52:47 +03:00
Alexey Milovidov
d86761f504
dbms: fixed error with 'max_concurrent_queries_for_user' setting in distributed queries [#METR-17965].
2015-09-25 15:47:33 +03:00
Andrey Mironov
efc1f35c21
dbms: fix reverse order of ranges for FINAL with merge_tree_uniform_read_distribution = 1 [#METR-16457]
2015-09-25 14:35:58 +03:00
Alexey Milovidov
1a16709162
dbms: fixed error [#METR-18170].
2015-09-25 10:51:00 +03:00
Alexey Milovidov
c757bf9063
dbms: setting thread names [#METR-2944].
2015-09-24 21:54:21 +03:00
Alexey Arno
19bc3181f2
Merge
2015-09-24 15:40:36 +03:00
Alexey Milovidov
fb654a1255
Merge
2015-09-24 10:39:47 +03:00
Alexey Milovidov
07b34aa432
dbms: fixed build [#METR-2944].
2015-09-24 10:03:20 +03:00
Alexey Milovidov
a3e706ead8
dbms: fixed error [#METR-18167].
2015-09-24 09:20:50 +03:00
Alexey Milovidov
3d817fe625
dbms: lowered data size in ZK [#METR-18170].
2015-09-24 08:47:17 +03:00
Alexey Milovidov
6fc99c48e1
dbms: better [#METR-2944].
2015-09-24 07:52:02 +03:00
Alexey Milovidov
1481d7f293
dbms: specifying port to send queries in ZK [#METR-18167].
2015-09-24 07:50:53 +03:00
Alexey Milovidov
7784606c6a
dbms: addition to prev. revision [#METR-2944].
2015-09-24 07:14:35 +03:00
Alexey Milovidov
a531680a92
dbms: removed most of log messages 'all_data_parts is locked' [#METR-2944].
2015-09-24 07:13:06 +03:00
Alexey Milovidov
75a16854db
dbms: moved files [#METR-2944].
2015-09-24 06:50:09 +03:00
Alexey Milovidov
dc209def73
dbms: table system.replication_queue: development [#METR-18061].
2015-09-24 04:18:25 +03:00
Alexey Milovidov
f8d94fcbd9
dbms: just-written parts does not participate in sanity check [#METR-18169].
2015-09-24 04:17:10 +03:00
Alexey Milovidov
a840af70ab
dbms: addition to prev. revision [#METR-18061].
2015-09-24 03:31:47 +03:00
Alexey Milovidov
6af8215af5
dbms: added table system.replication_queue [#METR-18061].
2015-09-24 03:21:02 +03:00
Alexey Milovidov
0f8b651fe8
dbms: fixing error with 'nonincrement_block_numbers' [#METR-18139].
2015-09-23 05:39:07 +03:00
Alexey Milovidov
926a661e38
Merge
2015-09-22 01:44:18 +03:00
Alexey Milovidov
c89541646c
dbms: instrumenting replication queue [#METR-18061].
2015-09-22 01:43:38 +03:00
Alexey Milovidov
5df201add2
dbms: clarification [#METR-2944].
2015-09-22 01:33:20 +03:00
Alexey Milovidov
4e28608077
dbms: fixed error [#METR-16779].
2015-09-21 21:47:46 +03:00
Andrey Mironov
244eabb54b
dbms: allow moving primary key columns to PREWHERE if the can't be used by PKCondition [#METR-18063]
2015-09-21 15:13:11 +03:00
Alexey Milovidov
726443131b
dbms: addition to prev. revision [#METR-16779].
2015-09-20 15:25:10 +03:00
Alexey Milovidov
4047e4ed5b
dbms: tiny modification [#METR-2944].
2015-09-20 14:56:14 +03:00
Alexey Milovidov
6571769d3b
dbms: added setting 'select_sequential_consistency' [#METR-16779].
2015-09-20 14:54:58 +03:00
Alexey Milovidov
3b5a3e7325
dbms: quorum insert: development [#METR-16779].
2015-09-20 14:02:59 +03:00
Alexey Milovidov
dcf40ef7c8
dbms: addition [#METR-17573].
2015-09-20 09:40:17 +03:00
Alexey Milovidov
a78ac9c6ee
dbms: addition to prev. revision [#METR-18099].
2015-09-20 09:35:28 +03:00
Alexey Milovidov
b14bbf3928
Merge
2015-09-20 09:31:19 +03:00
Alexey Milovidov
227b41b0eb
dbms: set queue entry time when cloning replica or repairing missing or damaged parts [#METR-18085].
2015-09-20 08:50:15 +03:00
Alexey Milovidov
615181b3a6
dbms: added last_queue_update column to system.replicas table; clarifications [#METR-17573].
2015-09-20 08:21:43 +03:00
Alexey Milovidov
3ea789e23f
dbms: fixed log message [#METR-2944].
2015-09-19 11:19:25 +03:00
Alexey Milovidov
b068913aeb
dbms: removed bogus messages from error log; improved diagnostics; extended system.replicas table [#METR-17573].
2015-09-19 08:56:40 +03:00
Alexey Arno
1cae6e8b54
Merge
2015-09-18 16:36:10 +03:00
Alexey Milovidov
a53f7473d3
dbms: removed misleading error messages about canceled merges [#METR-18087].
2015-09-18 09:39:39 +03:00
Alexey Milovidov
7a7a2ac6e0
dbms: attempt to fix an error (incomplete) [#METR-17286].
2015-09-18 00:31:26 +03:00
Alexey Milovidov
10b86afd3c
dbms: saving create time for log entries in ZK [#METR-18085].
2015-09-18 00:30:43 +03:00
Alexey Milovidov
b0b44b1565
dbms: removing old queue entries: continue development [#METR-18035].
2015-09-17 00:12:59 +03:00
Alexey Milovidov
13112cc66e
dbms: better [#METR-18035].
2015-09-16 23:40:01 +03:00
Alexey Milovidov
cf7d220f10
dbms: fixed error [#METR-18035].
2015-09-16 23:38:50 +03:00
Andrey Mironov
b3db6a06fc
dbms: fix for non-final select just in case [#METR-16457]
2015-09-16 15:15:25 +03:00
Andrey Mironov
55087bddc7
dbms: fix segfault when SELECT FINAL selects zero parts[#METR-16457]
2015-09-16 14:49:09 +03:00
Alexey Milovidov
fa0e61086f
dbms: removed bad code [#METR-17988].
2015-09-16 08:09:58 +03:00
Alexey Milovidov
200742d632
Merge
2015-09-16 07:18:52 +03:00
Alexey Milovidov
d51404633b
dbms: fixed error [#METR-16457].
2015-09-16 07:18:16 +03:00
Alexey Milovidov
d829d9fe10
dbms: clearing impossible queue entries: development [#METR-18035].
2015-09-15 04:55:22 +03:00
Alexey Milovidov
23a11f19c7
dbms: clearing impossible entries from replication queue [#METR-18035].
2015-09-15 04:20:40 +03:00
Alexey Milovidov
0743a87ebd
dbms: clearing impossible entries from replication queue [#METR-18035].
2015-09-15 01:45:19 +03:00
Alexey Milovidov
15a6ac31f4
dbms: quorum inserts: development [#METR-16779].
2015-09-11 05:51:35 +03:00
Alexey Milovidov
d53f173478
dbms: quorum inserts: development [#METR-16779].
2015-09-11 05:13:59 +03:00
Alexey Milovidov
a26a43fcc0
dbms: quorum inserts: development [#METR-16779].
2015-09-10 23:43:42 +03:00
Alexey Milovidov
ec2151e646
dbms: removing deduplicated parts immediately [#METR-17988].
2015-09-09 22:03:46 +03:00
Alexey Milovidov
f6cfc72000
dbms: addition to prev. revision [#METR-16779].
2015-09-09 21:34:58 +03:00
Alexey Milovidov
aaa70348af
dbms: quorum inserts: development [#METR-16779].
2015-09-09 21:15:36 +03:00
Alexey Milovidov
66b130a2e5
dbms: implemented method 'pull' for GLOBAL subqueries [#METR-17758].
2015-09-05 04:22:09 +03:00
Alexey Milovidov
767a3c8090
dbms: fixed error with WITH TOTALS in subquery with distributed table with one shard and LIMIT [#METR-17561].
2015-09-04 22:40:55 +03:00
Andrey Mironov
40026a8e7b
Merge
2015-09-03 16:30:50 +03:00
Andrey Mironov
11857853a4
Merge
2015-09-03 12:20:04 +03:00
Alexey Milovidov
57c03c0dce
dbms: whitespace [#METR-17552].
2015-09-02 22:58:29 +03:00
Alexey Milovidov
f46326c4e8
dbms: StorageBuffer: better [#METR-17889].
2015-09-02 20:47:29 +03:00
Andrey Mironov
959d66cfa4
dbms: use actual settings [#METR-16457]
2015-09-02 14:15:16 +03:00
Alexey Milovidov
dab47ec36d
dbms: fixed error with StorageBuffer [#METR-17889].
2015-09-02 00:48:38 +03:00
Andrey Mironov
ef356f9267
Merge
2015-09-01 19:09:12 +03:00
Andrey Mironov
b2fa52394b
dbms: support final with new code [#METR-16457]
2015-09-01 15:24:38 +03:00
Andrey Mironov
84d24ae336
merge branch 'master'
2015-08-31 18:50:06 +03:00
Alexey Milovidov
5374c2a927
dbms: removed random shuffling of data parts on SELECT [#METR-17757].
2015-08-19 21:35:02 +03:00
Andrey Mironov
4bdecf9c29
dbms: print detailed exception text in system.dictionaries.last_exception [#METR-17487]
2015-08-19 16:19:37 +03:00
Alexey Milovidov
f1655cc62f
Merge
2015-08-18 00:09:36 +03:00
Alexey Milovidov
5011e4d581
dbms: added StripeLog engine [#METR-17716].
2015-08-16 11:18:34 +03:00
Alexey Milovidov
469b409ba0
dbms: added storage StripeLog (incomplete) [#METR-17716].
2015-08-16 10:01:41 +03:00
Alexey Milovidov
cf4a0e85ef
dbms: lowered memory usage for INSERT [#METR-17704].
2015-08-14 05:45:40 +03:00
Alexey Milovidov
38d6128150
dbms: added column sizes to system.columns table [#METR-17475].
2015-07-26 14:34:41 +03:00
Andrey Mironov
28d333adff
Merge
2015-07-23 20:54:07 +03:00
Andrey Mironov
defba956d9
Merge
2015-07-23 16:11:27 +03:00
Alexey Milovidov
8d5cd69bb2
dbms: fixed exception message [#METR-2944].
2015-07-17 21:11:10 +03:00
Alexey Milovidov
c0e029bb1b
dbms: renamed ColumnWithNameAndType to ColumnWithTypeAndName for clarification [#METR-2944].
2015-07-17 04:27:35 +03:00
Alexey Milovidov
71f64f2d49
Merge
2015-07-17 00:32:51 +03:00
Alexey Milovidov
41faaed60e
dbms: addition to prev. revision [#METR-17305].
2015-07-17 00:08:50 +03:00
Alexey Milovidov
791cc23dd6
dbms: addition to prev. revision [#METR-17305].
2015-07-17 00:06:45 +03:00
Alexey Milovidov
52847e6591
Merge
2015-07-17 00:03:53 +03:00
Alexey Milovidov
c9689b255d
dbms: system.replicas: added columns 'inserts_oldest_time' and 'merges_oldest_time' [#METR-17306]..
2015-07-16 22:11:59 +03:00
Alexey Milovidov
efdc07a1da
Merge
2015-07-16 21:13:58 +03:00
Alexey Arno
5dcda93405
dbms: Server: Fixed unsigned int overflow issues. Updated functional test. [#METR-16435]
2015-07-16 16:01:49 +03:00
Alexey Milovidov
ba7b7dd52d
dbms: fixed race condition in storage Chunks [#METR-17327].
2015-07-15 23:40:19 +03:00
Alexey Milovidov
1f03f17a49
dbms: passing proper Context to subqueries analyzer in PREWHERE [#METR-17231].
2015-07-15 07:50:48 +03:00
Alexey Milovidov
226731128b
dbms: get rid of columns inside Context [#METR-15553].
2015-07-15 04:26:35 +03:00
Andrey Mironov
874f665ffd
Merge
2015-07-14 16:11:38 +03:00
Alexey Milovidov
52bab67d5f
Merge
2015-07-14 03:48:34 +03:00
Andrey Mironov
f92714712f
dbms: extract IDictionaryBase, fix devirtualization. [#METR-17111]
2015-07-13 20:11:17 +03:00
Alexey Arno
231588919f
Merge
2015-07-13 14:45:59 +03:00
Alexey Milovidov
c449820a13
dbms: addition to prev. revision [#METR-16999].
2015-07-08 17:22:31 +03:00
Alexey Milovidov
af0070c16b
Merge
2015-07-08 07:38:46 +03:00
Alexey Arno
992e7dc7a5
Merge
2015-07-08 02:11:30 +03:00
Andrey Mironov
a5bfc70920
Merge
2015-07-07 18:30:10 +03:00
Alexey Arno
1d9066bb8a
Merge
2015-07-03 16:04:03 +03:00
Alexey Milovidov
efddabd212
Merge
2015-07-01 23:42:42 +03:00
Alexey Milovidov
d71b7ca1b0
dbms: better diagnostics [#METR-12542].
2015-07-01 23:14:23 +03:00
Alexey Arno
072d110f67
Merge
2015-07-01 20:33:00 +03:00
Andrey Mironov
85d2dbcd76
Merge
2015-06-29 13:49:24 +03:00
Alexey Milovidov
efc741efb0
dbms: added setting 'distributed_group_by_no_merge' [#METR-17060].
2015-06-28 09:48:42 +03:00
Alexey Arno
37f008afd0
dbms: Server: Added support for multiple time zones: part 1 (does not add any new functionality, does not change current functionality) [#METR-15618]
2015-06-26 18:11:31 +03:00
Andrey Mironov
a9d16d8a9f
Merge
2015-06-26 13:52:20 +03:00
Andrey Mironov
9dd999708c
Merge
2015-06-25 16:03:46 +03:00
Alexey Milovidov
4ecc523ea5
dbms: fixed error with using comparison of Date or DateTime with constant string in index [#METR-2944].
2015-06-25 00:24:06 +03:00
Andrey Mironov
aa7fe63962
dbms: temporarily add merge_tree_uniform_read_distribution setting. [#METR-16457]
2015-06-24 16:22:31 +03:00
Andrey Mironov
b18764404a
Merge
2015-06-24 14:03:53 +03:00
Alexey Milovidov
7f2fddeed2
dbms: fixed error in materialized views after refactoring [#METR-16945].
2015-06-23 02:17:49 +03:00
Andrey Mironov
f012d95b7a
dbms: implement alter table detach unreplicated partition [#MTRSADMIN-1093]
2015-06-22 21:24:02 +03:00
Andrey Mironov
be68461fc6
dbms: correctly determine mark to end of previous block [#MTRSADMIN-1093]
2015-06-22 21:24:02 +03:00
Andrey Mironov
978aba0f4c
Merge
2015-06-22 21:24:02 +03:00
Alexey Milovidov
6f3d8f0efc
dbms: added simple priorities system [#METR-16911].
2015-06-21 09:06:04 +03:00
Alexey Milovidov
0719320758
dbms: improvement [#METR-2944].
2015-06-18 05:11:05 +03:00
Alexey Milovidov
7f0e6fd3c1
Merge
2015-06-11 03:35:36 +03:00
Alexey Milovidov
18a8e1f0ca
dbms: StorageBuffer: added missing support for defaults [#METR-16722].
2015-06-09 22:43:06 +03:00
Alexey Milovidov
c94bd2fc09
dbms: removed useless code [#METR-16739].
2015-06-08 23:22:02 +03:00
Alexey Milovidov
cac3ce7e27
dbms: allowed more easily to specify cluster name with hyphens [#METR-16610].
2015-06-05 23:04:54 +03:00
Alexey Milovidov
4899dd47aa
dbms: get rid of 'increment.txt': addition [#METR-16629].
2015-06-05 19:41:18 +03:00
Alexey Milovidov
05814604de
dbms: fixed error with ATTACH for replicated tables [#MTRSADMIN-1093].
2015-06-04 05:07:30 +03:00
Alexey Milovidov
027342ec5a
Merge
2015-06-03 06:56:40 +03:00
Alexey Milovidov
9c78e95702
dbms: addition to prev. revision [#METR-16629].
2015-06-03 00:24:41 +03:00
Alexey Milovidov
76bfd2af21
dbms: addition to prev. revision [#METR-16629].
2015-06-03 00:08:12 +03:00
Alexey Milovidov
c19193cf61
Merge
2015-06-02 23:22:53 +03:00
Alexey Milovidov
5752d8f561
dbms: removing obsolete parts [#METR-16629].
2015-06-02 23:21:03 +03:00
Alexey Milovidov
3786513a3c
dbms: fixing error [#METR-16575].
2015-05-29 00:41:28 +03:00
Alexey Milovidov
40f0a9c4d9
dbms: fixed error with false-broken parts [#METR-16545].
2015-05-28 07:32:38 +03:00
Alexey Milovidov
0984363b9c
dbms: removed passing DataTypeFactory everywhere [#METR-16545].
2015-05-28 06:49:28 +03:00
Andrey Mironov
31b868184d
dbms: show all dictionaries in system.dictionaries, even the ones failed to load. [#METR-16466]
2015-05-26 14:54:05 +03:00
Alexey Arno
28822deffb
dbms: Server: Fixed computation overflow issue. [#METR-16435]
2015-05-26 13:00:17 +03:00
Alexey Milovidov
baaf5d0485
dbms: allowed to JOIN with empty table [#METR-16476].
2015-05-26 03:37:48 +03:00
Andrey Mironov
fb2828f256
Merge
2015-05-20 15:06:48 +03:00
Alexey Milovidov
2b762c7aa9
dbms: fixed error with StorageBuffer when destination table doesn't exist [#METR-16352].
2015-05-18 23:28:40 +03:00
Alexey Milovidov
df8eefd79e
dbms: tiny fixes [#METR-16266].
2015-05-16 11:33:32 +03:00
Andrey Mironov
2c58c9ea50
dbms: add system.dictionaries.query_count field [#METR-
...
15569]
2015-05-08 15:31:34 +03:00
Alexey Milovidov
c57063be27
Merge
2015-05-07 02:35:54 +03:00
Alexey Milovidov
a5afb7a863
dbms: cut dependency [#METR-2944].
2015-05-07 02:35:37 +03:00
Alexey Milovidov
cebe87f321
Merge
2015-05-05 21:22:59 +03:00
Alexey Arno
6a3c429bf3
dbms: Server: Removed unneeded code. [#METR-15859]
2015-05-05 13:45:45 +03:00
Alexey Arno
550d5e9e7a
dbms: Server: Fixed hostname + IP address presentation. [#METR-15859]
2015-05-05 13:13:45 +03:00
Alexey Milovidov
6ce28acc0f
dbms: cut dependency [#METR-2944].
2015-05-04 20:52:19 +03:00
Alexey Arno
fa78aa633f
Merge
2015-04-30 15:43:16 +03:00
Alexey Arno
e596208c3b
dbms: Server: Fixes. [#METR-15859]
2015-04-27 12:43:23 +03:00
Alexey Arno
5309366008
dbms: Server: Feature development. [#METR-15859]
2015-04-25 02:23:25 +03:00
Alexey Arno
7d12e18e16
dbms: Server: Feature development. [#METR-15859]
2015-04-24 19:49:32 +03:00
Alexey Arno
5463d74a84
Merge
2015-04-24 18:49:30 +03:00
Alexey Arno
93a871e60a
dbms: Server: Untabified a bit. [#METR-15619]
2015-04-24 15:28:38 +03:00
Alexey Arno
e1b6730e5b
Merge
2015-04-24 15:26:23 +03:00
Alexey Arno
5136ffb2a6
dbms: Server: Simplified code. [#METR-14408]
2015-04-21 18:12:08 +03:00
Andrey Mironov
77b2ef6f81
Merge
2015-04-21 16:10:08 +03:00
Alexey Arno
8a317f076d
Merge
2015-04-17 16:56:29 +03:00
Alexey Milovidov
a2f2cc369d
dbms: preparation for FULL and RIGHT JOINs [#METR-15418].
2015-04-17 11:46:06 +03:00
Alexey Milovidov
124a12095a
dbms: added support for selecting stronger compression method [#METR-15386].
2015-04-17 08:35:53 +03:00
Alexey Milovidov
93ae68b68d
dbms: probably fixed race condition (and flapping test) with ALTER ... DETACH and merge [#METR-2944].
2015-04-16 14:30:34 +03:00
Alexey Milovidov
e4bd9b1dec
dbms: cut another dependency [#METR-2944].
2015-04-16 10:22:29 +03:00
Alexey Milovidov
402e0ee457
dbms: fixed build [#METR-2944].
2015-04-16 09:46:18 +03:00
Alexey Milovidov
114b3de689
dbms: cut dependencies [#METR-2944].
2015-04-16 09:12:35 +03:00
Alexey Arno
96f33e9238
dbms: Server: Code cleanups. [#METR-15090]
2015-04-14 17:58:59 +03:00
Alexey Arno
9bcb33c1d7
Merge
2015-04-14 17:21:19 +03:00
Alexey Arno
d35e4d0e4d
dbms: Server: Code cleanups. [#METR-15090]
2015-04-14 16:44:38 +03:00
Alexey Milovidov
c4ea83a906
dbms: cut dependencies [#METR-2944].
2015-04-14 05:45:30 +03:00
Andrey Mironov
c477f5f152
Merge
2015-04-13 16:55:39 +03:00
Alexey Milovidov
628c32c840
dbms: using setting 'max_read_buffer_size' in Log and TinyLog tables [#METR-15090].
2015-04-12 07:47:03 +03:00
Alexey Milovidov
cac503ff82
Merge
2015-04-12 07:39:20 +03:00
Alexey Milovidov
9c4badbe39
dbms: addition to prev. revision [#METR-15934].
2015-04-11 06:39:31 +03:00
Alexey Milovidov
aa726b203d
dbms: addition to prev. revision [#METR-15933].
2015-04-11 06:30:54 +03:00
Alexey Milovidov
9ec393df61
dbms: better diagnostics on syntax error [#METR-15933].
2015-04-11 06:10:23 +03:00
Alexey Milovidov
62ff76c572
Merge
2015-04-10 20:54:52 +03:00
Alexey Milovidov
794ee4baf0
dbms: added line feeds [#METR-2944].
2015-04-10 20:54:33 +03:00
Alexey Arno
b5c1932b8c
Merge
2015-04-10 20:51:39 +03:00
Alexey Milovidov
543c4c92cb
dbms: removed dead code; healing corrupted nested columns [#METR-15896].
2015-04-09 03:37:08 +03:00
Alexey Milovidov
b11974f99a
Merge
2015-04-03 02:58:26 +03:00
Andrey Mironov
c2ba426ab7
Merge
2015-04-01 14:45:01 +03:00
Andrey Mironov
bdd0b60c07
dbms: support FixedString in column default expressions
2015-04-01 14:45:00 +03:00
Alexey Milovidov
06c35e0faa
dbms: improvement [#METR-15484].
2015-03-27 06:37:46 +03:00
Alexey Milovidov
cfc5b313cc
dbms: fixed 'force_index_by_date' setting [#METR-15484].
2015-03-27 06:06:06 +03:00
Alexey Milovidov
74dc65197a
dbms: tiny modification [#METR-2944].
2015-03-27 02:51:48 +03:00
Alexey Milovidov
75dc9db388
dbms: ALTER: writing to log just before waiting for lock [#METR-2944].
2015-03-27 02:48:50 +03:00
Alexey Milovidov
bf4bd07065
dbms: tiny modifications [#METR-2944].
2015-03-27 02:32:16 +03:00
Andrey Mironov
72b2c63557
dbms: system.dictionaries: use ext::map for the purpose it was designed for. [#METR-15569]
2015-03-26 17:57:41 +03:00
Andrey Mironov
8bc12dbbe4
dbms: system.dictionaries: add brief source description. [#METR-15569]
2015-03-25 13:10:35 +03:00
Alexey Milovidov
7c74a112a0
dbms: tiny improvement [#METR-2944].
2015-03-25 04:45:42 +03:00
Andrey Mironov
8796aa8497
dbms: HashTable: grower getBufferSizeInCells
2015-03-24 20:04:03 +03:00
Andrey Mironov
ca6f081dea
dbms: system.dictionaries: provide attribute names and types[#METR-13298]
2015-03-24 20:04:03 +03:00
Pavel Kartavyy
281cd846cd
Merge
2015-03-24 18:06:09 +03:00
Andrey Mironov
51e1ad0591
dbms: show bytes_allocated in system.dictionaries for all types of dictionaries. [#METR-13298]
2015-03-24 15:12:48 +03:00
Andrey Mironov
e521611c98
dbms:dummy system.dictionaries and dictionary exception logging. [#METR-13298]
2015-03-24 12:50:39 +03:00
Pavel Kartavyy
deac97fc8d
Merge
2015-03-23 12:09:25 +03:00
Pavel Kartavyy
ffff85daa4
Merge
2015-03-23 12:09:25 +03:00
Pavel Kartavyy
134ee3a779
Merge
2015-03-23 12:09:25 +03:00
Alexey Milovidov
a399504bfa
dbms: removed DROP PARTITION from unreplicated data [#METR-15375].
2015-03-20 19:13:24 +03:00
Alexey Milovidov
0535438ea4
dbms: fixed bad code with GLOBAL operations [#METR-15144].
2015-03-15 11:05:28 +03:00
Alexey Milovidov
291d9daabf
Merge
2015-03-14 05:37:53 +03:00
Alexey Milovidov
5c69667f2a
dbms: different compression methods on merge: preparation [#METR-15386].
2015-03-14 05:36:39 +03:00
Alexey Milovidov
0a27283081
dbms: added setting 'force_index_by_date' [#METR-15484].
2015-03-14 04:20:10 +03:00
Alexey Milovidov
b828604a5f
Merge
2015-03-14 00:31:23 +03:00
Alexey Milovidov
ae4c458c5b
dbms: more uniform distribution of work among threads [#METR-2944].
2015-03-08 01:00:58 +03:00
Alexey Milovidov
0828dba841
dbms: preparation [#METR-2944].
2015-03-02 04:10:58 +03:00
Alexey Milovidov
df2ccb311c
dbms: report error when Buffer table refers to itself [#METR-15167].
2015-02-27 23:39:34 +03:00
Alexey Milovidov
f8f806ff58
dbms: fixed performance issue with very small blocks [#METR-2944].
2015-02-22 18:31:39 +03:00
Alexey Milovidov
2d04fed3a3
dbms: improved performance of reading string column [#METR-2944].
2015-02-15 15:38:21 +03:00
Alexey Milovidov
886b2daf9b
dbms: added support for subqueries in PREWHERE [#METR-15106].
2015-02-15 07:16:11 +03:00
Alexey Milovidov
7d4ce4b505
dbms: added settings to fine tune reads from merge tree [#METR-2944].
2015-02-15 05:31:48 +03:00
Alexey Milovidov
ad2392ee7d
dbms: fixed error with StorageBuffer [#METR-15105].
2015-02-13 23:37:30 +03:00
Alexey Milovidov
a9eb28c07d
Using std::make_unique [#METR-2807].
2015-02-11 00:10:58 +03:00
Alexey Milovidov
d0972a159d
dbms: added setting 'max_memory_bandwidth' [#METR-15052].
2015-02-10 23:48:17 +03:00
Alexey Arno
d01825eaca
dbms: Server: fixed issue with query stage setup on replicas [#METR-14410]
2015-02-09 20:53:44 +03:00
Alexey Arno
e8902aa644
dbms: Server: queries with several replicas: fixes [#METR-14410]
2015-02-09 01:37:55 +03:00
Alexey Arno
2e5d1041a1
dbms: Server: queries with several replicas: fixes [#METR-14410]
2015-02-08 02:13:04 +03:00
Alexey Arno
d519fac7b5
dbms: Server: queries with several replicas: fixes [#METR-14410]
2015-02-04 13:40:00 +03:00
Alexey Arno
51f8ad6e9d
dbms: Server: queries with several replicas: fixes [#METR-14410]
2015-02-04 13:27:06 +03:00
Alexey Arno
7ff0baaa44
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 17:37:35 +03:00
Alexey Arno
79e97417d9
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
7cba335206
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
a7f0279e1c
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
c46cd1e087
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
aa6e8f1fff
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:33 +03:00
Alexey Arno
28570a12ce
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:13 +03:00
Alexey Arno
83234d153c
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:36:02 +03:00
Alexey Arno
4d62c9f7ff
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:55 +03:00
Alexey Arno
73006ac354
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:55 +03:00
Alexey Arno
485c472bc7
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:55 +03:00
Alexey Arno
92fb1d2689
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:55 +03:00
Alexey Arno
8135c2286d
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:55 +03:00
Alexey Arno
d6f59cbc9e
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:54 +03:00
Alexey Arno
dab90c2542
dbms: Server: queries with several replicas: development [#METR-14410]
2015-02-03 16:35:54 +03:00
Alexey Milovidov
22b9ecfdea
dbms: fixed error with DROP COLUMN in replicated tables [#METR-14848].
2015-02-01 06:49:36 +03:00
Alexey Milovidov
da2ba1f7f7
dbms: fixed error with StorageSet and StorageJoin [#METR-2944].
2015-01-30 21:57:44 +03:00
Alexey Milovidov
e4e313f54f
dbms: StorageJoin: development [#METR-2944].
2015-01-28 05:37:05 +03:00
Alexey Milovidov
2b0b4d0528
dbms: StorageJoin: development [#METR-2944].
2015-01-28 03:38:10 +03:00
Alexey Milovidov
2c124ea375
dbms: StorageJoin: development [#METR-2944].
2015-01-28 03:08:45 +03:00
Alexey Milovidov
8a61f96d67
dbms: StorageJoin: development [#METR-2944].
2015-01-28 00:24:24 +03:00
Alexey Milovidov
fed642cd7c
dbms: added StorageSet [#METR-2944].
2015-01-27 03:52:03 +03:00
Alexey Milovidov
6927823716
dbms: little better [#METR-2944].
2015-01-25 08:07:51 +03:00
Alexey Milovidov
86e9e77eae
Fixed errors in clang (part 5, final) [#METR-2807].
2015-01-22 04:13:13 +03:00
Alexey Milovidov
02f9d15a36
Addition to prev. revision [#METR-2944].
2015-01-21 07:30:33 +03:00
Alexey Milovidov
27543ea7e5
Fixed errors in clang (part 2) [#METR-2807].
2015-01-21 07:00:20 +03:00
Alexey Milovidov
1be4bd0663
Fixed errors in clang (part 1) [#METR-2807].
2015-01-21 06:56:28 +03:00
Alexey Milovidov
1685b293f7
dbms: tiny improvements [#METR-2944].
2015-01-18 11:25:56 +03:00
Alexey Milovidov
715f5bf8d1
dbms: fixed error with GLOBAL IN when one of shard is localhost [#METR-14557].
2015-01-14 05:44:25 +03:00
Alexey Milovidov
e9232fc2fc
dbms: more scalable aggregator: development [#METR-2944].
2014-12-30 21:04:53 +03:00
Alexey Milovidov
f9ae1ea67e
dbms: fixed error with table function 'remote' [#METR-14483].
2014-12-30 06:53:41 +03:00
Alexey Milovidov
132847e64d
dbms: fixed special case when renaming or removing parts [#METR-13918] [#METR-14470].
2014-12-24 23:02:04 +03:00
Alexey Milovidov
bba4b0c66c
dbms: removed rare-useful repetitive log messages [#METR-2944].
2014-12-21 04:27:56 +03:00
Alexey Milovidov
0c2e0b7304
dbms: fixed error with replication [#METR-14391].
2014-12-21 04:20:07 +03:00
Alexey Arno
f3cf2bebe7
Merge
2014-12-19 18:56:26 +03:00
Alexey Arno
5d23310cea
dbms: Server: execute queries from views with as most parallelism as possible [#METR-14408]
2014-12-19 18:56:12 +03:00
Andrey Mironov
1713846472
dbms: fix merge blocker. [#METR-14032]
2014-12-19 17:18:56 +03:00
Alexey Milovidov
5d7fe1e852
dbms: fixed error [#METR-14361].
2014-12-17 23:38:38 +03:00
Andrey Mironov
7d713ea40b
dbms: compress zookeeper checksum metadata. [#MTRSADMIN-879]
2014-12-17 21:38:22 +03:00
Andrey Mironov
e7301a4050
dbms: add override to AST types
2014-12-17 18:51:21 +03:00
Andrey Mironov
3ebfd2fb7f
dbms: pass proper context into Storage::read(). [#METR-14179]
...
This reverts commit 34b3f738a67432b44f6f69238dd1529535984d1a.
2014-12-17 17:19:07 +03:00
Andrey Mironov
338314c9c6
dbms: stop merges on ALTER. [#METR-14032]
2014-12-17 16:14:24 +03:00
Andrey Mironov
49e322a045
Revert "dbms: pass proper context into Storage::read(). [#METR-14179]"
...
This reverts commit c0800b74a6fa338d29a65111599aa1fe71b67201.
2014-12-16 19:22:57 +03:00
Andrey Mironov
dcae14d25e
dbms: return cloning query in StorageDistributed::read. [#METR-14179, #METR-13399]
2014-12-16 15:40:25 +03:00
Andrey Mironov
fc9472ba47
dbms: pass proper context into Storage::read(). [#METR-14179]
2014-12-16 15:40:25 +03:00
Alexey Milovidov
cea5e295d0
dbms: addition to prev. revision [#METR-14300].
2014-12-15 07:06:39 +03:00
Alexey Milovidov
bdf7b561a6
dbms: fixed error in system.zookeeper table [#METR-2944].
2014-12-13 22:46:53 +03:00
Alexey Milovidov
09076b30d5
Merge
2014-12-12 23:50:32 +03:00
Alexey Milovidov
dac2ff8920
dbms: addition to prev. revision [#METR-14238].
2014-12-11 05:06:22 +03:00
Alexey Milovidov
03a21823db
dbms: addition to prev. revision [#METR-14238].
2014-12-11 05:04:13 +03:00
Alexey Milovidov
2aa2cb18c4
dbms: fixed error with re-initializing session in ZK [#METR-14238].
2014-12-11 04:56:42 +03:00
Andrey Mironov
c21502e70f
dbms: store checksums in binary format. [#MTRSADMIN-879]
2014-12-09 16:58:19 +03:00
Alexey Milovidov
f175ec58e0
dbms: tiny improvement [#METR-2944].
2014-12-08 01:59:00 +03:00
Andrey Mironov
fa3d9226b3
dbms: fix forced flush in StorageBuffer
2014-12-03 16:28:17 +03:00
Andrey Mironov
274e0a80a7
dbms: less overhead and indirection in StorageBuffer
2014-12-03 16:01:39 +03:00
Alexey Milovidov
8446069851
dbms: more simple [#METR-13953].
2014-12-02 22:08:18 +03:00
Alexey Milovidov
5fae38cb97
dbms: tiny improvement [#METR-2944].
2014-11-30 10:00:05 +03:00
Alexey Milovidov
3a38517f86
dbms: addition to prev. revision [#METR-13936].
2014-11-30 08:43:04 +03:00
Alexey Milovidov
82f9e253a1
Merge
2014-11-30 08:11:04 +03:00
Alexey Milovidov
a359b09c83
dbms: fixed misleading variable name [#METR-2944].
2014-11-30 06:21:01 +03:00
Alexey Milovidov
b2696ffec1
dbms: fixed one of errors [#METR-13979].
2014-11-28 23:45:33 +03:00
Alexey Milovidov
bdb666efee
Revert "Revert "dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]""
...
This reverts commit 08c41d2abb2e08922c567856ec37038d1fa59e72.
2014-11-26 00:11:11 +03:00
Alexey Milovidov
071e31a7fa
Revert "dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]"
...
This reverts commit f68d3226e0e55179b4cd734477f0aa45b669d6fa.
2014-11-25 19:33:01 +03:00
Andrey Mironov
e310a3021b
dbms: fix column names asynchrony in SELECT from StorageDistributed. [#METR-13399]
2014-11-24 20:11:29 +03:00
Alexey Milovidov
3dc00a1298
dbms: addition to prev. revision [#METR-13262].
2014-11-22 05:51:22 +03:00
Alexey Milovidov
d7a1abbbdc
Merge
2014-11-22 05:22:30 +03:00
Andrey Mironov
d0971956e0
dbms: add quantile[s]Deterministic, rename stdext:: to ext:: [#METR-13199]
2014-11-21 16:34:37 +03:00
Alexey Milovidov
a7b4903f14
dbms: fixed error with replication when 'interserver_http_port' is not specified [#METR-13831].
2014-11-19 23:40:51 +03:00
Alexey Milovidov
8f076b8ac4
Removed deprecated date and time functions [#METR-13554].
2014-11-14 23:55:23 +03:00
Pavel Kartavyy
140b4545dd
dbms: fix [#METR-13667]
2014-11-13 17:01:29 +03:00
Pavel Kartavyy
14c231c055
dbms: filtered tables in 'show tables from' query [#METR-13667]
2014-11-13 16:02:12 +03:00
Andrey Mironov
50328d120a
Merge
2014-11-12 13:42:04 +03:00
Andrey Mironov
731be3e7cf
Merge
2014-11-12 13:37:47 +03:00
Andrey Mironov
65629ef560
Merge
2014-11-11 19:29:21 +03:00
Andrey Mironov
8a2de38dc7
dbms: materialize constants during merge, allow alteration between DEFAULT and MATERIALIZED. [#METR-12739]
2014-11-11 18:22:39 +03:00
Andrey Mironov
de271b753e
dbms: allow creating tables with all columns set to default. [#METR-12739]
2014-11-11 17:11:49 +03:00
Alexey Milovidov
9a9036f217
dbms: added FREEZE PARTITION functionality [#METR-13441].
2014-11-11 07:11:07 +03:00
Andrey Mironov
3407600536
dbms: save all columns in a single ZooKeeper node [#METR-12739]
2014-11-10 19:16:43 +03:00
Alexey Milovidov
16a1c1e6e8
Merge
2014-11-09 02:55:24 +03:00
Alexey Milovidov
c881adcaff
dbms: allowed to start without ZooKeeper (in readonly mode) [#METR-2944].
2014-11-07 04:12:55 +03:00
Alexey Milovidov
3d359e2b82
Partially get rid of time2str.h [#METR-13554].
2014-11-06 09:32:23 +03:00
Alexey Milovidov
6754ee8068
dbms: more sane [#METR-13554].
2014-11-06 06:38:10 +03:00
Alexey Milovidov
4e363249e1
dbms: added test [#METR-2944].
2014-11-05 23:55:33 +03:00
Alexey Milovidov
425263970f
dbms: improved performance of aggregation by one numeric key (up to: 2x for UInt8, 5x for UInt16, 1.1x for UInt32, UInt64) [#METR-2944].
2014-10-29 04:18:50 +03:00
Alexey Milovidov
5d21d75e85
dbms: addition to prev. revision [#METR-13297].
2014-10-27 07:50:38 +03:00
Alexey Milovidov
e063ccc180
dbms: StorageBuffer: additions [#METR-13297].
2014-10-27 07:18:13 +03:00
Alexey Milovidov
5cf02c4cc1
dbms: addition to prev. revision [#METR-13297].
2014-10-26 03:21:06 +03:00
Alexey Milovidov
13f825a7e5
dbms: StorageBuffer: fixed error [#METR-13297].
2014-10-26 03:12:39 +03:00
Alexey Milovidov
2d5192c4a0
dbms: StorageBuffer: development [#METR-13297].
2014-10-26 03:01:36 +03:00
Alexey Milovidov
0045133b0e
dbms: prepared for fully-functional progress bar [#METR-2944].
2014-10-25 22:33:52 +04:00
Andrey Mironov
ec5aa734f9
dbms: cut coupling between dbms and dbms_functions. [#METR-12739]
2014-10-24 13:33:31 +04:00
Alexey Milovidov
4eba9dc56c
dbms: treat SAMPLE 1 as no-op [#METR-2944].
2014-10-23 23:16:43 +04:00
Andrey Mironov
934149d59a
Merge
2014-10-23 16:16:24 +04:00
Andrey Mironov
847b91614a
dbms: deduce and check types during alter, alteration of defaulted columns. [#METR-12739]
2014-10-21 16:11:20 +04:00
Alexey Milovidov
2c23fb4d87
dbms: tiny modifications [#METR-2944].
2014-10-19 01:46:05 +04:00
Alexey Milovidov
d3664eac89
dbms: added setting replication_alter_partitions_sync [#METR-13158].
2014-10-18 23:14:09 +04:00
Alexey Milovidov
f26b265eed
Merge
2014-10-18 21:37:55 +04:00
Andrey Mironov
8a8e5963c5
dbms: chaining support for defaulted columns when corresponding columns files are absent. [#METR-12739]
2014-10-17 16:26:53 +04:00
Alexey Milovidov
a097d24644
dbms: moved some code to separate file [#METR-13153].
2014-10-17 05:05:51 +04:00
Alexey Milovidov
ef82933bb3
zkutil: Async interface: development [#METR-2944].
2014-10-17 00:05:26 +04:00
Andrey Mironov
0bfd35e5c7
dbms: defaulted columns support for ALTER, currently without type deduction and checking.
2014-10-16 17:37:01 +04:00
Alexey Milovidov
c2e4662ad7
Changed boost:: to std:: for bind, ref/cref, thread, shared_ptr [#METR-2807].
2014-10-16 05:21:03 +04:00
Alexey Milovidov
afc4f7fcf0
dbms: tiny modification [#METR-13153].
2014-10-16 00:28:43 +04:00
Alexey Milovidov
07ba420b85
dbms: addition to prev. revision; removed support to FETCH UNREPLICATED PARTITION [#METR-13153].
2014-10-15 23:59:12 +04:00
Alexey Milovidov
2800bf4c30
dbms: modified criteria for automatic repair [#METR-13235].
2014-10-15 23:42:32 +04:00
Alexey Milovidov
25b474bd81
dbms: fixed subtle error [#METR-13153].
2014-10-15 17:38:09 +04:00
Alexey Milovidov
3d7639e5f1
dbms: little better [#METR-13153].
2014-10-15 05:22:06 +04:00
Alexey Milovidov
5fc32bb267
dbms: FETCH PARTITION: development [#METR-13153].
2014-10-13 22:01:58 +04:00
Alexey Milovidov
21383c5475
dbms: FETCH PARTITION: development [#METR-13153].
2014-10-13 21:28:59 +04:00
Andrey Mironov
43deee45c9
dbms: MATERIALIZED columns evaluation during insert, error handling. #[METR-12739]
2014-10-13 18:35:40 +04:00
Andrey Mironov
6f7997ce11
dbms: prohibit inserting materialized columns, support create as and similar queries. [#METR-12739]
2014-10-10 19:45:43 +04:00
Alexey Milovidov
54636994ef
dbms: FETCH PARTITION: development [#METR-13153].
2014-10-10 04:46:37 +04:00
Alexey Milovidov
39bf7f3442
dbms: fixed error in system.zookeeper table [#METR-13153].
2014-10-10 03:15:14 +04:00
Alexey Milovidov
a76db2ba78
dbms: improvement [#METR-13153].
2014-10-10 03:14:06 +04:00
Alexey Milovidov
24be223a48
dbms: added column 'partition' to table system.parts [#METR-13153].
2014-10-10 02:54:17 +04:00
Alexey Milovidov
c1601502bd
dbms: FETCH PARTITION: parsing and dispatching [#METR-13153].
2014-10-10 00:28:33 +04:00
Alexey Milovidov
150bde4e4f
dbms: VIEWs: added support for SAMPLE, FINAL, PREWHERE [#METR-13098].
2014-10-08 03:08:56 +04:00
Alexey Milovidov
49df24d891
dbms: system.replicas: improvement [#METR-12726].
2014-10-08 00:04:40 +04:00
Alexey Milovidov
48ec87bc40
dbms: fixed error with system.replicas; improvement [#METR-12726].
2014-10-07 22:44:03 +04:00
Alexey Milovidov
bb60b4e859
dbms: fixed bad code [#METR-12726].
2014-10-07 22:42:35 +04:00
Alexey Milovidov
ee52328600
dbms: fixed error with index and NOT [#METR-13066].
2014-10-06 09:49:31 +04:00
Alexey Milovidov
468ea6e4be
dbms: added table system.replicas [#METR-12726].
2014-10-06 09:18:17 +04:00
Alexey Milovidov
0e923da9b3
dbms: added system.zookeeper table [#METR-2944].
2014-10-06 07:49:56 +04:00
Alexey Milovidov
ec9fb6f600
dbms: fixed error in prev. revision [#METR-12524].
2014-10-03 23:38:51 +04:00
Alexey Milovidov
a2634c60d0
dbms: fixed error in prev. revisions [#METR-12524].
2014-10-03 22:55:11 +04:00
Alexey Milovidov
64071c2224
Merge
2014-10-03 22:41:16 +04:00
Alexey Milovidov
90d8096a0e
Merge
2014-10-03 21:57:01 +04:00
Alexey Milovidov
e84a0266e6
dbms: more consistent usage of override in Storages [#METR-12524].
2014-10-03 21:55:36 +04:00
Andrey Mironov
220ce78326
dbms: support ALIAS in table declaration
2014-10-03 19:30:10 +04:00
Andrey Mironov
468b7af64e
Merge
2014-10-03 14:19:34 +04:00
Andrey Mironov
47629b31cd
fix optimize_move_to_prewhere
, alter query before any other manipulations. #[METR-13020]
2014-10-03 13:17:06 +04:00
Alexey Milovidov
1da86169d6
dbms: more handy error message [#METR-2944].
2014-10-03 03:31:18 +04:00
Andrey Mironov
59ae69c5e9
rename optimization setting to optimize_move_to_prewhere
2014-10-02 13:48:53 +04:00
Alexey Milovidov
6b6151d51f
dbms: system.parts: more handy [#METR-12784].
2014-10-01 22:40:43 +04:00
Andrey Mironov
192dde9b36
Merge
2014-10-01 20:47:36 +04:00
Andrey Mironov
5083090f8d
Merge
2014-10-01 20:39:32 +04:00
Andrey Mironov
5dde67112d
remove std::cout loggin
2014-10-01 18:12:06 +04:00