Commit Graph

3920 Commits

Author SHA1 Message Date
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
804216f678 dbms: added full support of GROUP BY arrays [#METR-13168]. 2015-10-04 09:10:48 +03:00
Alexey Milovidov
058e5e8de7 dbms: addition to prev. revision [#METR-13168]. 2015-10-04 06:41:00 +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
fba839199a dbms: limited queries to OLAP compatibility layer [#METR-18008]. 2015-10-02 21:02:56 +03:00
Alexey Arno
3ab5226a56 dbms: Server: Fixed typo in comment. [#METR-17506] 2015-10-01 18:14:39 +03:00
Alexey Arno
ddf5996c44 Merge 2015-10-01 18:10:41 +03:00
Alexey Milovidov
d339ad0048 Merge 2015-10-01 06:30:50 +03:00
Alexey Milovidov
f725116826 dbms: fixed error [#METR-18249] [#METR-17924]. 2015-10-01 04:35:18 +03:00
Pavel Kartavyy
269b4b8155 Merge 2015-09-30 16:55:20 +03:00
Alexey Arno
3a8d096be2 dbms: Server: Added functional test + comment. [#METR-18059] 2015-09-30 16:43:25 +03:00
Andrey Mironov
e42022adce dbms: allow CREATE TEMPORARY TABLE AS [#METR-18251] 2015-09-30 16:35:32 +03:00
Alexey Milovidov
28f67084a4 Merge 2015-09-30 01:31:22 +03:00
Alexey Milovidov
9be353dd28 dbms: added old modification [#METR-2944]. 2015-09-30 01:30:59 +03:00
Alexey Milovidov
bfce8aee43 dbms: fixed error with Throttler (incomplete) [#METR-18233]. 2015-09-30 00:16:16 +03:00
Alexey Milovidov
914067c861 dbms: fixed error [#METR-18202]. 2015-09-29 23:47:15 +03:00
Alexey Milovidov
1f6def094f dbms: fixed build [#METR-18202]. 2015-09-29 22:19:54 +03:00
Alexey Arno
8bdb8f93c0 Merge 2015-09-29 17:40:23 +03:00
Alexey Milovidov
fda3591d92 dbms: moved code to .cpp [#METR-18202]. 2015-09-29 17:09:01 +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
Alexey Milovidov
c1bb394e8d dbms: caching DNS requests for authentification [#METR-18213]. 2015-09-27 05:18:00 +03:00
Alexey Milovidov
b06032a322 dbms: fixed error in prev. revision [#METR-18202]. 2015-09-26 04:42:32 +03:00
Alexey Milovidov
555ad5ac3f dbms: parallel loading of tables [#METR-18202]. 2015-09-26 04:02:07 +03:00
Alexey Milovidov
642584e0c8 dbms: explicitly allowed / and /ping URIs for health checks [#METR-18208]. 2015-09-25 19:28:17 +03:00
Alexey Milovidov
fa1e2cc70f dbms: support for HEAD method in /ping [#METR-18208]. 2015-09-25 18:54:54 +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
056f792a1b dbms: little better [#METR-18133]. 2015-09-24 22:33:16 +03:00
Alexey Milovidov
8584faf609 dbms: don't log internal queries [#METR-18133]. 2015-09-24 22:25:18 +03:00
Alexey Milovidov
7989024c76 dbms: addition to prev. revision [#METR-2944]. 2015-09-24 22:14:43 +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
Andrey Mironov
2efae5a5b9 dbms: positionCaseInsensitiveUTF8 and some fixes (out of bounds access etc.) for positionCaseInsensitive. [#METR-16752] 2015-09-23 20:00:01 +03:00
Pavel Kartavyy
d1bd09246d gcc-4.9.2: compilation fix 2015-09-23 18:03:08 +03:00
Alexey Milovidov
0f8b651fe8 dbms: fixing error with 'nonincrement_block_numbers' [#METR-18139]. 2015-09-23 05:39:07 +03:00
Andrey Mironov
666a33e435 dbms: add try-catch around reloadFromFile in ExternalDictionaries.cpp [#METR-18128] 2015-09-22 18:15:19 +03:00
Andrey Mironov
02064e1029 dbms: positionCaseInsensitive function (no tests attached yet) [#METR-16752] 2015-09-22 16:43:41 +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
1799be41ec dbms: removed obsolete test [#METR-2944]. 2015-09-21 23:51:24 +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
27c1d4e807 dbms: added VerticalRaw format [#METR-17986]. 2015-09-20 07:04:52 +03:00
Alexey Milovidov
6ceb83dc7d dbms: added function formatReadableSize [#METR-16184]. 2015-09-20 05:03:12 +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
9958e569b7 dbms: Server: Compilation fix for some older versions of g++. [#METR-17668] 2015-09-18 18:53:48 +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
fa9553307e dbms: fixed error [#METR-17286]. 2015-09-18 03:46:36 +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
51b2951d62 dbms: fixed error [#METR-18011]. 2015-09-17 23:00:38 +03:00
Alexey Milovidov
43ee70e1fe dbms: fixed error [#METR-18011]. 2015-09-17 23:00:19 +03:00
Alexey Milovidov
662471de29 dbms: ParallelReplicas: fixed error [#METR-18011]. 2015-09-17 22:53:57 +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
7f2a6d8ee0 Merge 2015-09-15 01:50:06 +03:00
Alexey Milovidov
0743a87ebd dbms: clearing impossible entries from replication queue [#METR-18035]. 2015-09-15 01:45:19 +03:00
Alexey Milovidov
9e8b28131e dbms: fixed error [#METR-17536]. 2015-09-15 00:09:33 +03:00
Pavel Kartavyy
44c810b228 ███████████: split ClickHouse query to several sub queries [#METR-17968] 2015-09-14 11:50:35 +03:00
Alexey Milovidov
8e23685201 dbms: allowed tuples with one element; allowed empty sets [#METR-18020]. 2015-09-11 23:58:44 +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
f395a408ef dbms: fixed error [#METR-16779]. 2015-09-11 00:36:48 +03:00
Alexey Milovidov
a26a43fcc0 dbms: quorum inserts: development [#METR-16779]. 2015-09-10 23:43:42 +03:00
Alexey Milovidov
5bb64243b7 dbms: fixed tiny error with query_log [#METR-18008]. 2015-09-10 22:23:15 +03:00
Alexey Milovidov
540c411aa8 dbms: fixed error [#METR-17536]. 2015-09-10 04:58:37 +03:00
Alexey Milovidov
217ef544c2 dbms: fixed error [#METR-17536]. 2015-09-10 00:32:29 +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
4e54056c66 dbms: allowed to specify duplicate columns in JOIN subquery [#METR-17664]. 2015-09-09 03:52:35 +03:00
Alexey Arno
64d47f35df dbms: Server: Fixed possible cyclic dependencies. [#METR-14099] 2015-09-09 01:13:43 +03:00
Alexey Milovidov
0ca77545b2 dbms: added setting 'max_concurrent_queries_for_user' [#METR-17965]. 2015-09-09 00:01:43 +03:00
Alexey Milovidov
a476396e70 dbms: fixed error [#METR-17536]. 2015-09-08 23:19:30 +03:00
Alexey Milovidov
50690565c1 dbms: improvement [#METR-17536]. 2015-09-08 22:53:16 +03:00
Pavel Kartavyy
aee3f9a868 ███████████: add state descriptor to task [#METR-16142] 2015-09-08 17:24:25 +03:00
Andrey Mironov
aa68fd2aec dbms: add expression support for id, range_min and range_max [#METR-17888]
Fix type-checking of range_hashed dictionary with mysql as a source.
Parenthesise all expressions to avoid errors.
2015-09-08 12:38:44 +03:00
Alexey Milovidov
9f3cab500d dbms: memory efficient distributed aggregation: development [#METR-17536]. 2015-09-07 23:08:02 +03:00
Alexey Milovidov
e5677bea4d dbms: added function randConstant for testing purposes [#METR-17536]. 2015-09-07 20:56:56 +03:00
Alexey Milovidov
2311c69d53 dbms: development of memory efficient distributed aggregation method [#METR-17536]. 2015-09-07 10:40:14 +03:00
Alexey Milovidov
8d25390c48 dbms: fixed error [#METR-17758]. 2015-09-06 01:47:13 +03:00
Alexey Milovidov
87465416b0 dbms: pull method for GLOBAL subqueries: supported JOINs [#METR-17758]. 2015-09-05 04:53:16 +03:00
Alexey Milovidov
66b130a2e5 dbms: implemented method 'pull' for GLOBAL subqueries [#METR-17758]. 2015-09-05 04:22:09 +03:00
Alexey Milovidov
9f38f15294 dbms: pull scheme for GLOBAL subqueries: development [#METR-17758]. 2015-09-05 00:39:10 +03:00
Alexey Milovidov
e82e19ee75 dbms: pull scheme for GLOBAL subqueries: development: added ability to SELECT from temporary tables of another query [#METR-17758]. 2015-09-04 23:52:00 +03:00
Alexey Milovidov
193113dc63 Merge 2015-09-04 23:00:32 +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
Alexey Milovidov
7dc7144011 dbms: fixed error with column order in RIGHT and FULL JOINs [#METR-17550]. 2015-09-03 23:48:02 +03:00
Andrey Mironov
40026a8e7b Merge 2015-09-03 16:30:50 +03:00
Andrey Mironov
e8111d7e07 Merge 2015-09-03 15:07:46 +03:00
Andrey Mironov
11857853a4 Merge 2015-09-03 12:20:04 +03:00
Alexey Milovidov
0e26b64968 dbms: allowed columns with duplicate names in GLOBAL subqueries [#METR-17552]. 2015-09-02 23:35:38 +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
Alexey Arno
277fab46b9 Merge 2015-09-02 16:05:17 +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
77a0a22de6 dbms: existing_memory support for ReadBufferAIO.cpp 2015-08-31 19:49:09 +03:00
Andrey Mironov
84d24ae336 merge branch 'master' 2015-08-31 18:50:06 +03:00
Alexey Arno
f93141355b Merge 2015-08-31 16:53:16 +03:00
Andrey Mironov
acb10923de add aggregate function sequenceCount [#METR-17427] 2015-08-21 18:58:31 +03:00
Andrey Mironov
8b890f1c06 dbms: add functions bitTestAny, bitTestAll (non-vectorized) and tests [#METR-17245] 2015-08-20 16:58:09 +03:00
Alexey Milovidov
10a3d616f6 dbms: pull scheme for GLOBAL subqueries: development [#METR-17758]. 2015-08-20 00:15:27 +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
b4b33364e9 dbms: add function bitTest(val, pos), pos starts from 0 [#METR-17245] 2015-08-19 19:11:48 +03:00
Andrey Mironov
9d406de8c9 dbms: add dictionary name to messages of most exceptions occurring during their creation [#METR-17487] 2015-08-19 16:19:37 +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
Anton Tikhonov
330d0a99b0 Merge 2015-08-19 12:07:41 +03:00
Alexey Milovidov
f1655cc62f Merge 2015-08-18 00:09:36 +03:00
Alexey Milovidov
3d2a766964 Revert "dbms: using huge pages everywhere (experimental) [#METR-2944]."
This reverts commit a127a866704f95ef31684ef042d0765f7202677a.
2015-08-16 18:11:06 +03:00
Alexey Milovidov
f68478b638 dbms: using huge pages everywhere (experimental) [#METR-2944]. 2015-08-16 17:44:02 +03:00
Alexey Milovidov
38fa9c8982 dbms: addition to prev. revision [#METR-17716]. 2015-08-16 11:21:19 +03:00
Alexey Milovidov
5011e4d581 dbms: added StripeLog engine [#METR-17716]. 2015-08-16 11:18:34 +03:00
Alexey Milovidov
5744b77040 dbms: addition to prev. revision [#METR-17716]. 2015-08-16 10:30:01 +03:00
Alexey Milovidov
469b409ba0 dbms: added storage StripeLog (incomplete) [#METR-17716]. 2015-08-16 10:01:41 +03:00
Alexey Milovidov
3fbb61cbad dbms: fixed error with multiple GLOBAL subqueries [#METR-17622]. 2015-08-15 00:07:17 +03:00
Alexey Milovidov
3688bca270 dbms: addition to prev. revision [#METR-17704]. 2015-08-14 05:47:07 +03:00
Alexey Milovidov
cf4a0e85ef dbms: lowered memory usage for INSERT [#METR-17704]. 2015-08-14 05:45:40 +03:00
Alexey Milovidov
5505474f2a dbms: attempt to lower memory reservation when reading String columns with NativeBlockInputStream [#METR-17704]. 2015-08-14 00:16:23 +03:00
Anton Tikhonov
daf2a78ca0 Merge 2015-08-12 18:18:36 +03:00
Alexey Milovidov
18ed0b2829 dbms: external dictionaries: fixed errors [#METR-17508]. 2015-08-12 07:21:10 +03:00
Alexey Milovidov
dea3c8b8a4 dbms: external dictionaries: fixed bunch of errors; added optional parameter 'dont_check_update_time' for MySQL dictionary source [#METR-17508]. 2015-08-12 06:57:32 +03:00
Alexey Milovidov
f39ad593f5 dbms: added optional property 'require_nonempty' for external dictionaries [#METR-17508]. 2015-08-12 00:32:27 +03:00
Alexey Milovidov
6448560938 dbms: allowed to specify 'interserver_http_host' in metrika.xml for metrika package [#MTRSADMIN-1483]. 2015-08-12 00:11:54 +03:00
Anton Tikhonov
053ea72bfe Upgrade number parser in JSON (and ReadHelpers) [#METR-17621] 2015-08-10 16:23:40 +03:00
Alexey Milovidov
071c1af212 dbms: fixed error [#METR-17606]. 2015-08-09 08:10:43 +03:00
Alexey Milovidov
ca3a36c3e1 dbms: addition to prev. revision [#METR-17606]. 2015-08-07 02:46:15 +03:00
Alexey Milovidov
32da2a7d8c dbms: improved query formatting for distributed queries [#METR-17606]. 2015-08-07 00:32:51 +03:00
Alexey Milovidov
5ed70eeb27 dbms: preparation [#METR-17606]. 2015-08-06 07:28:59 +03:00
Alexey Milovidov
e072db7da2 dbms: preparation to more compact query formatting [#METR-17606]. 2015-08-06 06:26:27 +03:00
Alexey Milovidov
4eac023043 dbms: addition to prev. revision [#METR-17606]. 2015-08-06 00:39:42 +03:00
Alexey Milovidov
4ab0052456 dbms: more compact formatting of queries with aliases: development [#METR-17606]. 2015-08-06 00:38:31 +03:00
Alexey Milovidov
e9c504e9da dbms: modified exception message for ParallelReplicas [#MTRSADMIN-1462]. 2015-08-04 21:55:53 +03:00
Alexey Arno
99aec7b6c1 dbms: Server: Fixed timeout value. [#METR-14410] 2015-08-04 14:22:13 +03:00
Alexey Milovidov
845758e378 Merge 2015-08-03 23:12:23 +03:00
Alexey Milovidov
70f4887d74 dbms: tiny modifications [#METR-2944]. 2015-08-03 23:11:57 +03:00
Alexey Milovidov
5b0b5dc9cf dbms: added memory-efficient mode of distributed aggregation [#METR-17536]. 2015-07-31 02:41:02 +03:00
Alexey Milovidov
e3b5bc0ea6 dbms: fixed segfault when using INSERT SELECT or CREATE AS SELECT with extremes=1 or WITH TOTALS [#METR-17491]. 2015-07-27 18:51:37 +03:00
Alexey Milovidov
99d64cbc7f Merge 2015-07-26 15:06:29 +03:00
Alexey Milovidov
38d6128150 dbms: added column sizes to system.columns table [#METR-17475]. 2015-07-26 14:34:41 +03:00
Alexey Milovidov
c5570f3f89 dbms: little better [#METR-17472]. 2015-07-26 14:07:03 +03:00
Alexey Milovidov
0439ef5f7f dbms: implemented LEFT ARRAY JOIN [#METR-17474]. 2015-07-26 13:54:45 +03:00
Alexey Milovidov
5c2b5ffb10 dbms: added function emptyArrayToSingle [#METR-17474]. 2015-07-26 13:40:32 +03:00
Alexey Milovidov
6f2eda117e dbms: fixed error [#METR-17472]. 2015-07-26 11:28:12 +03:00
Alexey Milovidov
323188bd29 dbms: scalar subqueries: development [#METR-17472]. 2015-07-26 11:16:39 +03:00
Alexey Milovidov
8e44832c85 dbms: scalar subqueries: development [#METR-17472]. 2015-07-26 10:55:48 +03:00
Alexey Milovidov
b87857152b dbms: fixed error in prev. revision [#METR-17472]. 2015-07-26 10:08:46 +03:00
Alexey Milovidov
35b55b7e4f dbms: added tests; fixed error in prev. revision [#METR-17472]. 2015-07-25 14:59:21 +03:00
Alexey Milovidov
80ce5f1f65 dbms: scalar subqueries: initial implementation [#METR-17472]. 2015-07-25 14:47:50 +03:00
Alexey Milovidov
d9e76da292 dbms: added support for multiquery in interactive mode [#METR-17471]. 2015-07-25 13:58:41 +03:00
Alexey Milovidov
6acbf3db3e dbms: fixed progress bar for INSERT SELECT and CREATE AS SELECT queries [#METR-17470]. 2015-07-25 13:38:52 +03:00
Alexey Milovidov
e3449cae83 dbms: added progress for query CREATE AS SELECT [#METR-17470]. 2015-07-25 12:56:56 +03:00
Alexey Milovidov
39bc10041d dbms: generating query_id [#METR-17469]. 2015-07-25 12:49:09 +03:00
Alexey Milovidov
007ecde455 dbms: Client: allowed to paste multi-line queries even in single-line mode [#METR-2944]. 2015-07-25 08:55:40 +03:00
Alexey Milovidov
57a91256a2 dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-24 00:19:30 +03:00
Alexey Milovidov
fb7520d2cd dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-24 00:03:51 +03:00
Alexey Milovidov
763fe6fb93 dbms: added CROSS JOIN [#METR-16893]. 2015-07-23 23:23:24 +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
b5b40a9a7a dbms: added function arrayUniq [#METR-17429]. 2015-07-23 14:11:10 +03:00
Alexey Milovidov
0f954021cb dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-22 23:54:42 +03:00
Alexey Milovidov
d660d987ce dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-22 22:43:09 +03:00
Alexey Milovidov
b0387d5ccf dbms: FULL and RIGHT JOINs: partial implementation [#METR-15418]. 2015-07-22 05:59:47 +03:00
Alexey Milovidov
d44cc0ca08 dbms: preparations [#METR-15418]. 2015-07-22 04:46:35 +03:00
Alexey Milovidov
71ae4a9931 dbms: preparation [#METR-15418]. 2015-07-22 03:59:22 +03:00
Alexey Milovidov
ca17e5f14a dbms: FULL and RIGHT JOIN: preparation [#METR-15418]. 2015-07-22 00:29:02 +03:00
Alexey Milovidov
45bfe8e361 dbms: fixed error with DISTINCT [#METR-17364]. 2015-07-21 00:43:53 +03:00
Andrey Mironov
c956fff1d0 dbms: add FarmHash64 and two variations of MetroHash64 to hash_map_string_3 text [#METR-15838] 2015-07-20 20:50:24 +03:00
Alexey Arno
3314579909 Merge 2015-07-20 20:09:43 +03:00
Andrey Mironov
58408dc8a3 dbms: add function metroHash64 2015-07-20 17:59:29 +03:00
Alexey Milovidov
3ca8bb4448 dbms: added format TSKV [#METR-2944]. 2015-07-18 07:27:38 +03:00
Alexey Milovidov
8d5cd69bb2 dbms: fixed exception message [#METR-2944]. 2015-07-17 21:11:10 +03:00
Andrey Mironov
f1bc759807 dbms: add farmHash64 [#METR-17328] 2015-07-17 18:56:34 +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
230bbe3296 dbms: addition to prev. revision [#METR-17281]. 2015-07-16 23:33:05 +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
6815bd7c00 dbms: addition to prev. revision [#METR-15553]. 2015-07-15 05:58:28 +03:00
Alexey Milovidov
7726566956 dbms: addition to prev. revision [#METR-15553]. 2015-07-15 05:56:12 +03:00
Alexey Milovidov
bc3a0de6ab dbms: fixed GLOBAL IN inside subquery [#METR-15553]. 2015-07-15 05:52:19 +03:00
Alexey Milovidov
226731128b dbms: get rid of columns inside Context [#METR-15553]. 2015-07-15 04:26:35 +03:00
Alexey Milovidov
e948f1d1c1 Merge 2015-07-14 20:11:09 +03:00
Alexey Milovidov
ac2f8dfb13 Merge 2015-07-14 17:49:49 +03:00
Andrey Mironov
874f665ffd Merge 2015-07-14 16:11:38 +03:00
Alexey Milovidov
df4a33949b dbms: logging query finish for queries without result [#METR-16946]. 2015-07-14 06:05:10 +03:00
Alexey Milovidov
52bab67d5f Merge 2015-07-14 03:48:34 +03:00
Alexey Milovidov
234367b038 dbms: added function identity [#METR-17251]. 2015-07-14 00:27:08 +03:00
Andrey Mironov
f92714712f dbms: extract IDictionaryBase, fix devirtualization. [#METR-17111] 2015-07-13 20:11:17 +03:00
Andrey Mironov
c4440ad829 dbms: RangeHashedDictionary implementation [#METR-17111] 2015-07-13 19:18:28 +03:00
Alexey Arno
aa30036fd4 dbms: Server: Cosmetic changes that make easier to read, understand, and maintain the code that handles UNION ALL. [#METR-14099] 2015-07-13 18:02:29 +03:00
Alexey Arno
231588919f Merge 2015-07-13 14:45:59 +03:00
Alexey Arno
135cac6d77 dbms: Server: Performance improvement. [#METR-16778] 2015-07-11 18:16:59 +03:00
Alexey Arno
b4f65a44e9 dbms: Server: Performance improvement. [#METR-16778] 2015-07-11 16:43:48 +03:00
Alexey Arno
8410736612 dbms: Server: Correctly handle backward linking of SELECT queries inside UNION ALL. [#METR-16778] 2015-07-11 03:44:45 +03:00
Alexey Arno
10b695465a dbms: Server: Fixed the bug in a much nicer way: InterpreterSelectQuery does not split anymore its AST. [#METR-16778] 2015-07-10 21:26:46 +03:00
Alexey Arno
6efb40c48b Merge 2015-07-10 17:42:30 +03:00
Alexey Milovidov
2af61829fe dbms: added least and greatest functions [#METR-17233]. 2015-07-10 05:57:32 +03:00
Alexey Milovidov
07bb8f34ba dbms: Client: added line feed in case of exception in non-interactive mode [#METR-2944]. 2015-07-09 21:26:50 +03:00
Andrey Mironov
a27057d4b9 Merge 2015-07-08 20:59:44 +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 Milovidov
bbdfd33f47 dbms: fixed error with arrays; added test [#METR-17110]. 2015-07-06 23:25:50 +03:00
Alexey Milovidov
0296dc2b88 dbms: fixing error with function replicate of arrays of consts [#METR-17110]. 2015-07-06 22:24:51 +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
17f681ba8c dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 21:03:18 +03:00
Alexey Arno
072d110f67 Merge 2015-07-01 20:33:00 +03:00
Alexey Arno
2f56341f00 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 20:32:04 +03:00
Pavel Kartavyy
eee023ffa9 Merge 2015-07-01 16:07:05 +03:00
Alexey Milovidov
4505af81b3 dbms: QueryLog: development [#METR-16946]. 2015-07-01 08:24:08 +03:00
Alexey Milovidov
5ed6a1d446 dbms: QueryLog: development [#METR-16946]. 2015-07-01 08:18:54 +03:00
Alexey Milovidov
cd734e6f06 dbms: allowed constant arguments of aggregate functions and keys [#METRIKASUPP-5388]. 2015-06-30 22:05:30 +03:00
Alexey Milovidov
3ac04b49b2 dbms: QueryLog: development [#METR-16946]. 2015-06-30 02:59:25 +03:00
Alexey Milovidov
cb223d360a dbms: QueryLog: development [#METR-16946]. 2015-06-30 02:54:33 +03:00
Alexey Milovidov
b5fd5fe490 dbms: QueryLog: development (incomplete) [#METR-16946]. 2015-06-30 00:35:35 +03:00
Pavel Kartavyy
aaf7afaa13 Merge 2015-06-29 15:42:00 +03:00
Andrey Mironov
85d2dbcd76 Merge 2015-06-29 13:49:24 +03:00
Alexey Milovidov
d23de31335 dbms: improved performance for very long arrays [#METR-17061]. 2015-06-29 10:41:23 +03:00
Alexey Milovidov
8c1d4358bc dbms: addition to prev. revision [#METR-17061]. 2015-06-29 08:48:08 +03:00
Alexey Milovidov
9527f99d07 dbms: improved performance for very long arrays [#METR-17061]. 2015-06-29 08:46:55 +03:00
Alexey Milovidov
b308d79f5e dbms: improved performance of query parsing and analyzing with very long arrays [#METR-17061]. 2015-06-29 07:54:52 +03:00
Alexey Milovidov
9d0f0bf334 Client: added parameter --progress [#METR-17001]. 2015-06-28 10:05:42 +03:00
Alexey Milovidov
efc741efb0 dbms: added setting 'distributed_group_by_no_merge' [#METR-17060]. 2015-06-28 09:48:42 +03:00
Alexey Milovidov
4cebee36ea dbms: added setting 'skip_unavailable_shards' [#METR-17059]. 2015-06-28 09:38:18 +03:00
Alexey Milovidov
6b82289af4 dbms: addition to prev. revision [#METR-16946]. 2015-06-27 01:37:55 +03:00
Alexey Milovidov
d9fd662c12 dbms: addition to prev. revision [#METR-16946]. 2015-06-27 00:20:33 +03:00
Alexey Milovidov
c36fdf0e56 dbms: initial implementation of QueryLog [#METR-16946]. 2015-06-26 23:48:10 +03:00
Alexey Milovidov
c9e225be12 dbms: QueryLog: development [#METR-16946]. 2015-06-26 22:23:25 +03:00
Andrey Mironov
f2f8bf86cc dbms: external dictionaries: fix null pointer dereference after calling unique_ptr::release() 2015-06-26 18:45:31 +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
Alexey Arno
a522013939 Merge 2015-06-25 20:38:54 +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
001ffdfa18 dbms: fixed error with higher order functions [#METR-16894]. 2015-06-19 05:34:47 +03:00
Alexey Milovidov
ba29065d30 dbms: fixed comment [#METR-2944]. 2015-06-18 05:41:35 +03:00
Alexey Milovidov
580b77c152 dbms: addition to prev. revision [#METR-2944]. 2015-06-18 05:30:50 +03:00
Alexey Milovidov
c757ab96c0 dbms: addition to prev. revision [#METR-2944]. 2015-06-18 05:25:50 +03:00
Alexey Milovidov
29bb4c0f2e dbms: addition to prev. revision [#METR-2944]. 2015-06-18 05:15:26 +03:00
Alexey Milovidov
0719320758 dbms: improvement [#METR-2944]. 2015-06-18 05:11:05 +03:00
Alexey Milovidov
e27323dd2e dbms: addition to prev. revision [#METR-16277]. 2015-06-18 03:34:39 +03:00
Alexey Milovidov
9245f053ca dbms: log query and IP address in case of syntax error [#METR-16277]. 2015-06-18 03:27:25 +03:00
Alexey Milovidov
1b61065f50 dbms: more uniform logging of query, logging client IP address [#METR-16277]. 2015-06-18 00:34:15 +03:00
Alexey Milovidov
5c7dccebc1 dbms: allowed to compare Date and DateTime with strings in IN [#METR-2944]. 2015-06-16 21:50:44 +03:00
Pavel Kartavyy
d6e101ae4b Merge 2015-06-16 17:46:24 +03:00
Alexey Milovidov
26813667eb dbms: allowed to compare Date and DateTime with constant string [#METR-2944]. 2015-06-12 10:46:58 +03:00
Alexey Milovidov
7b76ff3118 dbms: additions to prev. revision [#METR-2944]. 2015-06-12 08:54:49 +03:00
Alexey Milovidov
779d85afc9 dbms: addition to prev. revision [#METR-2944]. 2015-06-12 08:19:18 +03:00
Alexey Milovidov
a9becd36ea dbms: allowed constant expressions in IN [#METR-2944]. 2015-06-12 08:18:47 +03:00
Alexey Milovidov
bff45a25fa dbms: improved type checking in IN [#METR-16793]. 2015-06-12 02:09:56 +03:00
Pavel Kartavyy
84c2351774 remove old todo 2015-06-11 11:02:29 +03:00
Alexey Milovidov
7f0e6fd3c1 Merge 2015-06-11 03:35:36 +03:00
Alexey Milovidov
bc17c73ee4 SipHash: allowed not to call update for empty strings (less than 0.3% performance degradation on all test data) [#METR-16781]. 2015-06-10 22:56:57 +03:00
Andrey Mironov
ea4f4420ba dbms: replace old lower/upper(UTF8) with vectorized ones [#METR-14764] 2015-06-10 15:47:27 +03:00
Pavel Kartavyy
4463a747da ReadHelpers: add assertChar function [#METR-15514] 2015-06-10 11:14:46 +03:00
Alexey Milovidov
9237e308fb dbms: JOIN: added checking of types of key columns [#METR-16762]. 2015-06-10 02:50:22 +03:00
Alexey Milovidov
161d30c902 dbms: adding checking of types when JOIN (incomplete) [#METR-16762]. 2015-06-10 00:34:45 +03:00
Alexey Milovidov
d1df9bd43b dbms: Join: added support for constant keys [#METR-16762]. 2015-06-09 23:55:15 +03:00
Alexey Milovidov
18a8e1f0ca dbms: StorageBuffer: added missing support for defaults [#METR-16722]. 2015-06-09 22:43:06 +03:00
Andrey Mironov
4fca014e1b dbms: reload initially failed dictionaries with exponential backoff [#METR-16702] 2015-06-09 19:18:49 +03:00
Alexey Milovidov
c94bd2fc09 dbms: removed useless code [#METR-16739]. 2015-06-08 23:22:02 +03:00
Alexey Milovidov
0b3c071eb9 dbms: removed useless code [#METR-16739]. 2015-06-08 23:19:28 +03:00
Andrey Mironov
5a60c588bf dbms: ExpressionAnalyzer: redundant null check eliminated, refactoring 2015-06-08 18:22:04 +03:00
Alexey Milovidov
51be2693ee dbms: addition to SETTINGS [#METR-16354]. 2015-06-06 23:00:08 +03:00
Alexey Milovidov
557b60a19d dbms: fixed tiny error [#METR-15933]. 2015-06-06 22:59:16 +03:00
Alexey Milovidov
417ab909b8 dbms: added functions for manipulation of aggregation states [#METR-16677]. 2015-06-06 03:28:37 +03:00
Alexey Milovidov
890ee9c0fa dbms: removed aggregate function 'debug' [#METR-2944]. 2015-06-06 02:19:15 +03:00
Alexey Milovidov
854a2f4cc8 dbms: added optional section SETTINGS to SELECT query [#METR-16354]. 2015-06-06 00:28:04 +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
b4f60297d2 dbms: Client: max_block_sizes: using parameters from Settings as defaults [#METR-2944]. 2015-06-05 22:33:52 +03:00
Alexey Milovidov
4899dd47aa dbms: get rid of 'increment.txt': addition [#METR-16629]. 2015-06-05 19:41:18 +03:00
Alexey Arno
9f15e1a483 dbms: Server: Small cosmetic change for memset/memcpy/memmove functions. Does not change functionality. [#METR-15090] 2015-06-04 13:28:31 +03:00
Alexey Milovidov
05814604de dbms: fixed error with ATTACH for replicated tables [#MTRSADMIN-1093]. 2015-06-04 05:07:30 +03:00
Alexey Arno
ce1e437c09 dbms: Server: Added function toStartOfFiveMinute. [#METR-14495] 2015-06-03 17:27:03 +03:00
Alexey Arno
59e894426a dbms: Server: Added version function. [#METR-16386] 2015-06-03 16:11:59 +03:00
Alexey Milovidov
027342ec5a Merge 2015-06-03 06:56:40 +03:00
Alexey Milovidov
1cf67bdede dbms: addition to prev. revision [#METR-15987]. 2015-06-03 06:32:37 +03:00
Alexey Milovidov
c341bd2c60 dbms: function 'transform': added support for non-const argument with default value [#METR-15987]. 2015-06-03 06:29:28 +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 Arno
82a330f47a dbms: Server: Small simplification. [#METR-16546] 2015-06-02 17:18:14 +03:00
Alexey Arno
20fe37511f Merge 2015-06-02 14:16:02 +03:00
Alexey Milovidov
9c2cf55a28 dbms: addition to prev. revision [#METR-16576]. 2015-05-30 00:37:17 +03:00
Alexey Milovidov
68cfd47195 dbms: added missing aggregate function synonim [#METR-16266]. 2015-05-30 00:33:18 +03:00
Alexey Milovidov
96f1bbc379 dbms: added support for randomization of quota intervals [#METR-16576]. 2015-05-30 00:32:10 +03:00
Alexey Milovidov
6a5ef9be83 dbms: fixed error with hanging INSERTs [#METR-16514]. 2015-05-29 23:36:09 +03:00
Alexey Milovidov
3a6d28eb0e dbms: fixed error: empty queries in process list [#METR-16577]. 2015-05-29 22:08:51 +03:00
Alexey Milovidov
3db1bf63a2 dbms: fixed error [#METR-16575] [#METR-16573]. 2015-05-29 03:33:56 +03:00
Alexey Milovidov
3786513a3c dbms: fixing error [#METR-16575]. 2015-05-29 00:41:28 +03:00
Andrey Mironov
b06bdb0edf dbms: add SSE variants of lower/upper and UTF8 equivalents [#METR-14764] 2015-05-28 15:33:07 +03:00
Alexey Milovidov
40f0a9c4d9 dbms: fixed error with false-broken parts [#METR-16545]. 2015-05-28 07:32:38 +03:00
Alexey Milovidov
c03cec07de dbms: addition to prev. revision [#METR-16545]. 2015-05-28 07:07:09 +03:00
Alexey Milovidov
0984363b9c dbms: removed passing DataTypeFactory everywhere [#METR-16545]. 2015-05-28 06:49:28 +03:00
Alexey Milovidov
ef54e74f45 dbms: supported 'NOT NOT x' chain in parser [#METR-16543]. 2015-05-28 04:41:40 +03:00
Alexey Milovidov
5390f492e1 dbms: JOIN with empty table: additions [#METR-16476]. 2015-05-27 03:55:54 +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
Pavel Kartavyy
34f1b2e8a8 dbms: build fix [#METR-16391] 2015-05-22 18:22:36 +03:00
Pavel Kartavyy
392dc138ba dbms: add compression method to client [#METR-16391] 2015-05-22 18:22:36 +03:00
Pavel Kartavyy
391ec6451b dbms: use network_compression_method when server writes result [#METR-16391] 2015-05-22 18:22:36 +03:00
Andrey Mironov
3fc0fda58f dbms: ExpressionAnalyzer: addStorageAliases add useful todo 2015-05-22 16:25:59 +03:00
Andrey Mironov
8ddc49125c dbms: do not expand ALIAS column names. [#METR-16390] 2015-05-21 16:47:29 +03:00
Andrey Mironov
fb2828f256 Merge 2015-05-20 15:06:48 +03:00
Alexey Arno
b46ce05dbe Merge 2015-05-19 18:06:12 +03:00
Alexey Milovidov
90522cb623 dbms: removed useless header [#METR-2944]. 2015-05-18 23:30:00 +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
0f6bb584fb dbms: allowed whitespaces in column list in INSERT query [#METR-16341]. 2015-05-18 23:22:23 +03:00
Alexey Milovidov
df8eefd79e dbms: tiny fixes [#METR-16266]. 2015-05-16 11:33:32 +03:00
Alexey Milovidov
a66f8f99ba dbms: don't use constant columns while evaluating DISTINCT [#METR-2944]. 2015-05-15 03:20:25 +03:00
Alexey Arno
aa6fb6b229 Merge 2015-05-14 15:08:27 +03:00
Alexey Arno
ce2abcabdd dbms: Server: In the code managing asynchronous writes, fill with zeroes the portion of the buffer that is eventually truncated in order to keep Valgrind quiet. [#METR-15090] 2015-05-14 01:17:28 +03:00
Alexey Arno
5d0e5ec60c dbms: Server: better designed initialization. Does not change anything. [#METR-15090] 2015-05-14 00:28:28 +03:00
Andrey Mironov
095fd54ae8 dbms: correctly handle injective dictGet* functions during ExpressionAnalyzer's optimizations. 2015-05-13 19:11:24 +03:00
Alexey Milovidov
b5463a887f dbms: allowed to type 'count(*)' instead of 'count()' as exception [#METR-2944]. 2015-05-13 04:19:19 +03:00
Alexey Milovidov
488343c252 dbms: fixed tiny error [#METR-10859]. 2015-05-12 23:09:18 +03:00
Pavel Kartavyy
6f1f6e3d99 Merge 2015-05-12 17:44:10 +03:00
Alexey Milovidov
e3b0c97b0f dbms: fixed error with merging [#METR-16247]. 2015-05-12 07:55:14 +03:00
Alexey Milovidov
566b62854b dbms: more unform distribution of work among threads (experimental) [#METR-2944]. 2015-05-11 03:11:22 +03:00
Alexey Milovidov
8ce4dac8ed dbms: fixed tiny error in rare cases [#METR-2944]. 2015-05-11 01:25:19 +03:00
Andrey Mironov
2c58c9ea50 dbms: add system.dictionaries.query_count field [#METR-
15569]
2015-05-08 15:31:34 +03:00
Pavel Kartavyy
751344d1f4 dbms: throw NetExceptions on errors with Network [#METR-15570] 2015-05-08 12:24:42 +03:00
Andrey Mironov
be67de26b5 dbms: sequenceMatch aggregate function draft, temporal conditions currently ignored [#METR-16058] 2015-05-07 17:04:27 +03:00
Alexey Arno
ac6a365ea1 Greatly simplfied code. [#METR-15652] 2015-05-07 15:28:09 +03:00
Alexey Arno
44066984cf Merge 2015-05-07 13:31:50 +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 Milovidov
9c99febfc3 dbms: added ProfileEvents for Compiler [#METR-16212]. 2015-05-05 18:50:20 +03:00
Alexey Arno
8ff005e909 dbms: Server: Fixed incorrect behavior with the DISTINCT keyword [#METR-14408] 2015-05-05 17:02:57 +03:00
Alexey Arno
2d8d0970ed dbms: Server: Fixed numbering. [#METR-15859] 2015-05-05 14:53:09 +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 Milovidov
310ed66b00 Revert "dbms: improvement (incomplete) [#METR-16164]."
This reverts commit 6f4f44ce7980cace32edd0913b8d1d53cd51682b.
2015-05-03 12:13:08 +03:00
Alexey Milovidov
3b5fe94b82 dbms: fixed indent [#METR-16164]. 2015-05-03 11:35:50 +03:00
Alexey Milovidov
cb562a1d97 dbms: don't calculate constant expressions for every block [#METR-16164]. 2015-05-03 11:07:31 +03:00
Alexey Arno
47b9cd0dd6 dbms: Server: Small cosmetic cleanup. [#METR-15090] 2015-04-30 18:04:42 +03:00
Alexey Arno
fe683b8c78 dbms: Server: Remove unneeded event statistics. [#METR-15090] 2015-04-30 16:25:34 +03:00
Alexey Arno
14823c82a5 dbms: Server: Added comment. [#METR-15354] 2015-04-30 16:00:56 +03:00
Alexey Arno
fa78aa633f Merge 2015-04-30 15:43:16 +03:00
Alexey Milovidov
b5f1084132 dbms: improvement (incomplete) [#METR-16164]. 2015-04-30 08:45:34 +03:00
Alexey Milovidov
d371b7c843 dbms: function 'transform': development [#METR-15987]. 2015-04-28 07:47:27 +03:00
Alexey Milovidov
1e55d7aa60 dbms: removed debug output [#METR-2944]. 2015-04-28 07:37:35 +03:00
Alexey Milovidov
5e230a6b2d dbms: function 'transform': development [#METR-15987]. 2015-04-28 06:38:41 +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
999bc75dfe dbms: Server: Removed unneeded optimization (ii). [#METR-14408] 2015-04-23 16:16:42 +03:00
Alexey Arno
7a755007eb dbms: Server: Removed unneeded optimization. [#METR-14408] 2015-04-23 16:09:43 +03:00
Alexey Arno
a15052e0e6 Merge 2015-04-23 15:57:39 +03:00
Alexey Arno
80850909c7 Merge 2015-04-23 14:07:15 +03:00
Alexey Arno
31faf89c70 dbms: Server: Further simplified the business logic: no more calls to fcntl. [#METR-15090] 2015-04-22 19:05:48 +03:00
Andrey Mironov
2fff473759 dbms: fix deadlock in Context::getExternalDictionariesImpl with ClickhouseDictionarySource 2015-04-22 16:53:43 +03:00
Alexey Arno
cd24f85cfe dbms: Server: Reduced the number of open files. [#METR-15090] 2015-04-22 16:37:30 +03:00
Alexey Arno
543afcf58f dbms: Server: More correct logic. It does not change functionality, but it adds coherency. [#METR-14408] 2015-04-22 01:28:42 +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 Milovidov
4f469ea831 dbms: preparation [#METR-15418]. 2015-04-19 01:33:24 +03:00
Alexey Milovidov
9077eb4f3c dbms: preparation [#METR-15418]. 2015-04-19 01:30:43 +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 Arno
7d00e235ea Merge 2015-04-16 17:27:56 +03:00
Alexey Milovidov
4c703cbfd7 dbms: added profile events for AIO and ordinary IO [#METR-15090]. 2015-04-16 15:06:05 +03:00
Alexey Milovidov
b69900e6c1 dbms: added missing function [#METR-2944]. 2015-04-16 14:40:18 +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
e871f4efe2 dbms: added support for arrays in tuple in NativeBlock streams [#METR-15964]. 2015-04-16 13:48:35 +03:00
Alexey Milovidov
c89b7dcf92 dbms: implementation of WITH TOTALS inside JOINed subqueries [#METR-15417]. 2015-04-16 12:55:24 +03:00
Alexey Milovidov
80a3021962 dbms: removed old code [#METR-2944]. 2015-04-16 10:56:43 +03:00
Alexey Milovidov
361c167d59 dbms: fixed build [#METR-2944]. 2015-04-16 10:36:38 +03:00
Alexey Milovidov
dd4cef4781 dbms: fixed build [#METR-2944]. 2015-04-16 10:32:40 +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
ee1b7bc617 dbms: fixed build [#METR-2944]. 2015-04-16 09:39:46 +03:00
Alexey Milovidov
114b3de689 dbms: cut dependencies [#METR-2944]. 2015-04-16 09:12:35 +03:00
Andrey Mironov
bedd5e7c26 dbms: add function URLHash plus tests [#METR-15826] 2015-04-15 18:00:28 +03:00
Alexey Arno
beddce0927 dbms: Server: unit tests cleanup. [#METR-15090] 2015-04-15 13:07:48 +03:00
Alexey Milovidov
9a2bb06823 dbms: fixed build [#METR-2944]. 2015-04-15 08:20:33 +03:00
Alexey Milovidov
3a658e4b26 dbms: fixed error with multiquery mode in Client [#METR-15975]. 2015-04-14 23:46:34 +03:00
Alexey Arno
7415b65a55 Merge 2015-04-14 18:00:57 +03:00
Alexey Milovidov
cfd2d2aad5 dbms: removed useless code [#METR-2944]. 2015-04-14 05:55:59 +03:00
Alexey Milovidov
c4ea83a906 dbms: cut dependencies [#METR-2944]. 2015-04-14 05:45:30 +03:00
Alexey Milovidov
b1603e4304 dbms: added missing file [#METR-15933]. 2015-04-14 05:11:59 +03:00
Alexey Milovidov
463526910d dbms: little better [#METR-15933]. 2015-04-14 04:39: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
00305592bc dbms: addition to prev. revision [#METR-15933]. 2015-04-11 07:15:14 +03:00
Alexey Milovidov
9c4badbe39 dbms: addition to prev. revision [#METR-15934]. 2015-04-11 06:39:31 +03:00
Alexey Milovidov
d09991bd87 dbms: addition to prev. revision [#METR-15934]. 2015-04-11 06:34:37 +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
Andrey Mironov
226b11b887 dbms: fix test reference and bring commentaries up-to-date [#METR-15913]. 2015-04-10 13:02:57 +03:00
Alexey Milovidov
2161eb4c0c dbms: addition to prev. revision [#METR-15913]. 2015-04-10 03:57:42 +03:00
Alexey Milovidov
eaa412df2b dbms: added setting 'strict_insert_defaults' (incomplete) [#METR-15913]. 2015-04-10 03:43:08 +03:00
Andrey Mironov
6cde3424bc Merge 2015-04-09 20:01:12 +03:00
Andrey Mironov
0aec8580b1 dbms: add rich commentary [#METR-15836] 2015-04-09 14:34:50 +03:00
Alexey Milovidov
7d4bf16d06 dbms: fixed Block::insertDefault method for elements of nested data structures (it is used in AddedDefaultsBlockInputStream, InterpreterInsertQuery) [#METR-15896]. 2015-04-09 05:10:06 +03:00
Alexey Milovidov
543c4c92cb dbms: removed dead code; healing corrupted nested columns [#METR-15896]. 2015-04-09 03:37:08 +03:00
Andrey Mironov
1e794acb87 Merge 2015-04-08 19:39:02 +03:00
Alexey Milovidov
c67d578e3d dbms: made multi-RENAME atomic [#METR-15843]. 2015-04-08 04:06:15 +03:00
Alexey Milovidov
e74b56c1d7 dbms: fixed deadlock [#METR-15843]. 2015-04-08 00:24:05 +03:00
Alexey Milovidov
2e4e90c866 dbms: Client: added --stacktrace option, removed displaying of stack traces by default [#METR-2944]. 2015-04-03 22:06:16 +03:00
Andrey Mironov
e267ba87f0 dbms: rename isNan to isNaN [#METR-15731] 2015-04-03 17:52:33 +03:00
Andrey Mironov
4ed57ac566 dbms: add functions isFinite, isInfinite, isNan [#METR-METR-15731] 2015-04-03 16:30:51 +03:00
Alexey Milovidov
b11974f99a Merge 2015-04-03 02:58:26 +03:00
Andrey Mironov
9c502e55f9 print "Ready for connections" earlier 2015-04-02 19:41:07 +03:00
Andrey Mironov
ba2e06a6e6 propagate exception from dictionaries on server start, fix race condition 2015-04-02 19:37:05 +03:00
Andrey Mironov
c2ba426ab7 Merge 2015-04-01 14:45:01 +03:00
Andrey Mironov
82621ca5a1 fix type in comment 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
7acee77529 dbms: improved performance [#METR-15790]. 2015-04-01 05:55:52 +03:00
Alexey Milovidov
54397c6c7a dbms: added support for parsing 10-digits unix timestamp as DateTime (in addition to YYYY-MM-DD hh:mm:ss format) [#METR-15790]. 2015-04-01 00:09:19 +03:00
Alexey Milovidov
1654320fb7 dbms: updated comment [#METR-2944]. 2015-03-31 23:46:44 +03:00
Alexey Milovidov
be630f9fae dbms: better diagnostics of errors in TabSeparated format [#METR-15574]. 2015-03-29 12:02:24 +03:00
Alexey Milovidov
3d80f45b71 dbms: better diagnostics of errors in TabSeparated format (development) [#METR-15574]. 2015-03-29 11:44:04 +03:00
Alexey Milovidov
92c2a9ceaa dbms: better diagnostics of errors in TabSeparated format (development) [#METR-15574]. 2015-03-29 10:13:38 +03:00
Alexey Milovidov
093ba78f80 dbms: fixed Compiler [#METR-2944]. 2015-03-29 06:43:17 +03:00
Alexey Milovidov
79c6b9a204 dbms: better diagnostics [#METR-15574]. 2015-03-29 04:51:01 +03:00
Alexey Milovidov
e72052a57d dbms: Client: added --format command line option [#METR-15716]. 2015-03-28 22:53:34 +03:00
Alexey Milovidov
b05b41a12c dbms: Client: added --time option for benchmark [#METR-15716]. 2015-03-27 21:43:09 +03:00
Andrey Mironov
edbe23ac1f dbms: add dictionaries_lazy_load config parameter, defaults to true. [#METR-15691] 2015-03-27 16:11:31 +03:00
Andrey Mironov
fed50c4702 dbms: add tryLogCurrentException overload taking a pointer to Poco::Logger 2015-03-27 16:11:31 +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
Alexey Arno
00ca9c9b24 Merge 2015-03-25 19:46:54 +03:00
Alexey Arno
ae5fd4dbc9 dbms: Server: feature development. [#METR-15090] 2015-03-25 19:44:30 +03:00
Alexey Arno
21259c6f3e dbms: Server: feature development. [#METR-15090] 2015-03-25 18:30:48 +03:00
Alexey Arno
8cdeeaa5a4 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:58:23 +03:00
Alexey Arno
3a2fa12708 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:44:55 +03:00
Alexey Arno
3c65c6d1c5 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:17:51 +03:00
Alexey Arno
6789e6327c dbms: Server: feature development. [#METR-15090] 2015-03-25 17:15:50 +03:00
Alexey Arno
9f6d66a285 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:14:06 +03:00
Andrey Mironov
8bc12dbbe4 dbms: system.dictionaries: add brief source description. [#METR-15569] 2015-03-25 13:10:35 +03:00
Alexey Milovidov
380ab2dacc dbms: added (ignored) table and FROM/JOIN subquery aliases [#METR-15573]. 2015-03-25 05:49:29 +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
Alexey Arno
33460bb5ea dbms: Server: feature development. [#METR-15090] 2015-03-24 17:01:53 +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
Alexey Arno
1d0bd25480 dbms: Server: feature development. [#METR-15090] 2015-03-24 14:05:49 +03:00
Alexey Arno
06a4b8c5f8 dbms: Server: feature development. [#METR-15090] 2015-03-24 14:03:26 +03:00
Andrey Mironov
e521611c98 dbms:dummy system.dictionaries and dictionary exception logging. [#METR-13298] 2015-03-24 12:50:39 +03:00
Alexey Milovidov
cc1887f5e3 dbms: fixed error with higher than usual memory usage [#METR-15530]. 2015-03-24 03:39:30 +03:00
Andrey Mironov
f673cedaa3 dbms: allow <comment> node alongside <dictionary> as requested by @zurom. [#METR-13298] 2015-03-23 17:30:43 +03:00
Alexey Arno
1ef29358d6 dbms: Server: feature development. [#METR-15090] 2015-03-23 12:52:13 +03:00
Alexey Arno
f97565add9 dbms: Server: feature development. [#METR-15090] 2015-03-23 12:43:06 +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
05401b901b dbms: better exception safety [#METR-15530]. 2015-03-23 04:10:06 +03:00
Alexey Arno
efc8ee558d dbms: Server: merge from master. [#METR-15090] 2015-03-20 20:02:01 +03:00
Alexey Arno
b88431e1ad dbms: Server: feature development. [#METR-15090] 2015-03-20 19:58:57 +03:00
Alexey Arno
5a033eb724 dbms: Server: fixed issue with query cancellation. [#METR-14410] 2015-03-20 19:20:47 +03:00
Alexey Milovidov
3fe14e7b76 Merge 2015-03-20 19:14:07 +03:00
Alexey Milovidov
a399504bfa dbms: removed DROP PARTITION from unreplicated data [#METR-15375]. 2015-03-20 19:13:24 +03:00
Andrey Mironov
17da36aba2 dbms: allow using Date and DateTime with dictionaries. [#METR-13298] 2015-03-20 18:45:36 +03:00
Alexey Arno
2ec5cd0506 dbms: Server: feature development. [#METR-15090] 2015-03-19 13:06:11 +03:00
Alexey Milovidov
593a0a8d44 dbms: fixed error [#METR-15530]. 2015-03-19 08:15:38 +03:00
Alexey Milovidov
ba5a54ef7a dbms: temporarily added aggregate function 'debug' [#METR-15530]. 2015-03-19 06:58:23 +03:00
Andrey Mironov
4243f54911 dbms: support multiple dictionaries config files with glob pattern [#METR-13298] 2015-03-18 19:07:15 +03:00
Andrey Mironov
19066a43c2 dbms: rename CacheDictionary size parameter to size_in_cells. [#METR-13298] 2015-03-18 12:57:40 +03:00
Andrey Mironov
e0199760de dbms: add dictionary name to exception message. [#METR-13298] 2015-03-18 12:55:02 +03:00
Alexey Milovidov
f4df541b99 dbms: fixed error [#METR-15530]. 2015-03-18 07:46:55 +03:00
Alexey Milovidov
8eaa75dadb dbms: logging query in one line [#METR-15530]. 2015-03-18 06:13:34 +03:00
Andrey Mironov
92eb64e1cd dbms: add unknown exception type detection for tryLogCurrentException 2015-03-17 17:16:08 +03:00
Alexey Arno
6c3bd8759d dbms: Server: feature development. [#METR-15090] 2015-03-17 16:57:24 +03:00
Alexey Arno
f4b7889f90 dbms: Server: feature development. [#METR-15090] 2015-03-17 15:44:49 +03:00
Alexey Arno
9ab8c585ac dbms: Server: feature development. [#METR-15090] 2015-03-17 14:30:23 +03:00
Alexey Arno
53c1253ffe dbms: Server: feature development. [#METR-15090] 2015-03-17 00:39:27 +03:00
Alexey Milovidov
ed1ffd0fbf dbms: fixed exception safety [#METR-15357]. 2015-03-17 00:31:40 +03:00
Alexey Milovidov
60d76ddc48 dbms: writing stack trace in case of exception in HTTPHandler [#METR-15357]. 2015-03-17 00:28:09 +03:00
Alexey Arno
bb1b661629 dbms: Server: feature development. [#METR-15090] 2015-03-17 00:05:44 +03:00
Alexey Arno
93ae3550c7 dbms: Server: feature development. [#METR-15090] 2015-03-17 00:00:20 +03:00
Alexey Milovidov
7431af2cf9 dbms: fixed error with exception safety [#METR-15357]. 2015-03-16 22:24:57 +03:00
Alexey Arno
ee22aac2fe dbms: Server: feature development. [#METR-15090] 2015-03-16 13:49:27 +03:00
Alexey Arno
80410ce746 dbms: Server: feature development. [#METR-15090] 2015-03-16 13:41:58 +03:00
Alexey Milovidov
0535438ea4 dbms: fixed bad code with GLOBAL operations [#METR-15144]. 2015-03-15 11:05:28 +03:00
Alexey Milovidov
d9e96ed74e dbms: fixed error with creating Set from constant columns [#METR-2944]. 2015-03-15 10:56:46 +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
8736053b15 dbms: additions [#METR-15484]. 2015-03-14 04:48:05 +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
51f8eafc35 dbms: checking estimated query execution time [#METR-15484]. 2015-03-14 00:25:38 +03:00
Alexey Arno
f8cec8213d dbms: Server: Fix typo [#METR-15090] 2015-03-13 17:07:31 +03:00
Alexey Arno
b5cbb2b46c dbms: Server: Fix typo [#METR-15090] 2015-03-13 16:52:28 +03:00
Alexey Arno
241e35b424 Merge 2015-03-13 16:18:47 +03:00
Alexey Arno
9e65fb7d95 dbms: Server: feature development. [#METR-15090] 2015-03-13 16:14:31 +03:00
Alexey Arno
e20bafa7dd dbms: Server: feature development. [#METR-15090] 2015-03-13 15:27:31 +03:00
Alexey Arno
7395eff889 dbms: Server: feature development. [#METR-15090] 2015-03-13 14:46:04 +03:00
Alexey Arno
606ac0198c dbms: Server: feature development. [#METR-15090] 2015-03-13 14:22:34 +03:00
Alexey Arno
e8c2f6e7b8 dbms: Server: feature development. [#METR-15090] 2015-03-13 14:02:43 +03:00
Alexey Arno
7061e302ec dbms: Server: feature development. [#METR-15090] 2015-03-12 18:38:22 +03:00
Alexey Arno
eb8a0fdc16 dbms: Server: feature development. [#METR-15090] 2015-03-12 17:09:22 +03:00
Alexey Arno
ee09fc9124 dbms: Server: feature development. [#METR-15090] 2015-03-12 15:36:18 +03:00
Alexey Milovidov
db2956eb73 dbms: removing duplicate elements from ORDER BY [#METR-2944]. 2015-03-12 06:31:15 +03:00
Alexey Milovidov
1d7d1051a2 dbms: fixed error [#METR-15451]. 2015-03-12 05:22:55 +03:00
Alexey Milovidov
9c9162bf94 dbms: FINAL: tiny modifications [#METR-2944]. 2015-03-12 03:01:14 +03:00
Alexey Arno
9dbbaf8c38 dbms: Server: feature development. [#METR-15090] 2015-03-11 20:27:34 +03:00
Alexey Arno
c132a7c428 dbms: Server: feature development. [#METR-15090] 2015-03-11 18:28:43 +03:00
Alexey Arno
039385df87 dbms: Server: feature development. [#METR-15090] 2015-03-11 17:47:52 +03:00
Alexey Arno
a7968c5590 dbms: Server: feature development. [#METR-15090] 2015-03-11 17:32:32 +03:00
Alexey Arno
f3b6be50e3 dbms: Server: feature development. [#METR-15090] 2015-03-11 17:02:38 +03:00
Alexey Arno
07cf0c9bc0 dbms: Server: feature development. [#METR-15090] 2015-03-11 16:51:59 +03:00
Alexey Arno
7e757377e4 dbms: Server: feature development. [#METR-15090] 2015-03-11 16:40:15 +03:00
Alexey Arno
fa73113afb dbms: Server: feature development. [#METR-15090] 2015-03-11 16:26:24 +03:00
Alexey Arno
07d52d9abd dbms: Server: feature development. [#METR-15090] 2015-03-11 16:15:19 +03:00
Alexey Arno
0f434ebd95 dbms: Server: feature development. [#METR-15090] 2015-03-11 14:45:07 +03:00
Alexey Arno
b9260807fd dbms: Server: feature development. [#METR-15090] 2015-03-11 14:31:09 +03:00
Pavel Kartavyy
78e12a7563 Connection: set separate timeout for ping [#METR-15351] 2015-03-11 14:18:36 +03:00
Alexey Arno
fde57c1a78 dbms: Server: feature development. [#METR-15090] 2015-03-10 20:14:07 +03:00
Alexey Arno
882f902118 dbms: Server: feature development. [#METR-15090] 2015-03-10 19:34:00 +03:00
Alexey Arno
22fa97ed16 dbms: Server: feature development. [#METR-15090] 2015-03-10 18:29:31 +03:00
Alexey Arno
cfdf8fc8e8 dbms: Server: feature development. [#METR-15090] 2015-03-10 18:09:17 +03:00
Alexey Arno
87823c4de7 dbms: Server: feature development. [#METR-15090] 2015-03-10 16:16:49 +03:00
Alexey Arno
6259ad1359 dbms: Server: feature development. [#METR-15090] 2015-03-10 16:00:29 +03:00
Alexey Arno
ce0a3d0ee3 dbms: Server: feature development. [#METR-15090] 2015-03-10 14:43:30 +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
33f89bfdb7 dbms: fixed exception safety [#METR-15352]. 2015-03-07 04:05:06 +03:00
Alexey Milovidov
ad06ce22c3 Merge 2015-03-06 23:15:42 +03:00
Alexey Milovidov
1ba32c6fbb dbms: fixed one of errors [#METR-15352]. 2015-03-06 23:14:45 +03:00
Alexey Arno
4b9efbbc66 dbms: Server: feature development. [#METR-15090] 2015-03-06 19:16:10 +03:00
Andrey Mironov
c880ae8abb dbms: CacheDictionary: store values for missing ids explicitly. Store exceptions for more user-friendly error messages [#METR-13298] 2015-03-06 19:13:59 +03:00
Alexey Arno
4f0da70657 dbms: Server: feature development. [#METR-15090] 2015-03-06 18:34:42 +03:00
Alexey Arno
3459fdc01e dbms: Server: feature development. [#METR-15090] 2015-03-06 17:45:14 +03:00
Alexey Arno
cdfb096f8f dbms: Server: feature development. [#METR-15090] 2015-03-06 14:08:25 +03:00
Alexey Arno
b458241ae5 dbms: Server: feature development. [#METR-15090] 2015-03-06 13:34:14 +03:00
Alexey Arno
3c8c29451b dbms: Server: feature development. [#METR-15090] 2015-03-06 13:29:58 +03:00
Alexey Milovidov
f749aa6c01 dbms: fixed errors [#METR-15352]. 2015-03-06 04:06:11 +03:00
Alexey Arno
a733dedf97 dbms: Server: feature development. [#METR-15090] 2015-03-05 19:20:15 +03:00
Alexey Arno
905f263045 dbms: Server: feature development. [#METR-15090] 2015-03-05 17:21:55 +03:00
Alexey Arno
7cf06b3bdb dbms: Server: feature development. [#METR-15090] 2015-03-05 14:57:54 +03:00
Alexey Arno
63afb6925e dbms: Server: feature development. [#METR-15090] 2015-03-05 11:18:16 +03:00
Alexey Milovidov
df8e3fa9ec dbms: added old modifications to tests [#METR-2944]. 2015-03-05 09:00:04 +03:00
Alexey Milovidov
577a7d102d dbms: fixed leaks [#METR-15352]. 2015-03-05 08:42:42 +03:00
Alexey Arno
e6a1a112a5 dbms: Server: merge from master [#METR-15090] 2015-03-04 15:15:09 +03:00
Alexey Arno
1d14c4192e dbms: Server: feature development. Dont pay attention for now. [#METR-15090] 2015-03-04 13:47:53 +03:00
Alexey Milovidov
4de3ba0bc6 dbms: Set: fixed error [#METR-15293]. 2015-03-04 00:11:54 +03:00
Alexey Milovidov
9981a29365 dbms: fixed error with IN [#METR-15293]. 2015-03-03 23:00:39 +03:00
Alexey Milovidov
ab0e29f0f2 dbms: Set: removed special case for small sets (not worth in most cases) [#METR-2944]. 2015-03-02 08:41:21 +03:00
Alexey Milovidov
0c14504781 Fixed build [#METR-2944]. 2015-03-02 06:57:27 +03:00
Alexey Milovidov
ce58b8ad01 dbms: addition to prev. revision [#METR-2944]. 2015-03-02 04:39:42 +03:00
Alexey Milovidov
e109ac1f57 dbms: improved performance for small sets [#METR-2944]. 2015-03-02 04:11:37 +03:00
Alexey Milovidov
0828dba841 dbms: preparation [#METR-2944]. 2015-03-02 04:10:58 +03:00
Alexey Milovidov
eea281236d dbms: improved performance of aggregate functions argMin, argMax (about 5 times) [#METR-2944]. 2015-03-01 04:06:49 +03:00
Alexey Milovidov
91cb53f584 dbms: whitespaces [#METR-2944]. 2015-03-01 03:14:55 +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
a321aa8108 dbms: added value 2 for setting 'readonly'; ignoring settings from remote client in readonly mode [#METR-15168]. 2015-02-27 23:35:26 +03:00
Alexey Milovidov
03b1849bac dbms: added aggregate functions quantileTimingWeighted, quantilesTimingWeighted, medianTimingWeighted [#METR-15181]. 2015-02-27 20:38:21 +03:00
Alexey Arno
c5b61652ff Merge 2015-02-27 00:38:33 +03:00
Alexey Arno
8456db4740 dbms: Server: updated unit test [#METR-14875] 2015-02-27 00:36:21 +03:00
Alexey Arno
b22532a35a dbms: Server: updated unit test [#METR-14875] 2015-02-26 23:19:51 +03:00
Alexey Arno
09317ca19c dbms: Server: added unit test [#METR-14875] 2015-02-26 20:33:46 +03:00
Andrey Mironov
20eb5013a4 dbms: cache dictionary revamp [#METR-13298] 2015-02-26 17:53:45 +03:00
Alexey Arno
30eee9b656 dbms: Server: fixed race conditions in ParallelReplicas [#METR-14410] 2015-02-25 20:15:31 +03:00
Alexey Arno
e4875354bb dbms: Server: simplified code and updated settings [#METR-14875] 2015-02-25 17:23:15 +03:00
Alexey Milovidov
3894c5968a dbms: addition to prev. revision [#METR-2944]. 2015-02-22 21:09:59 +03:00
Alexey Milovidov
82e782d6f9 dbms: fixed error in prev. revision [#METR-2944]. 2015-02-22 21:02:54 +03:00
Alexey Milovidov
dc6259d931 dbms: added aggregation method 'concat' - performance improvement in generic case [#METR-2944]. 2015-02-22 19:09:16 +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
2520c2e610 dbms: added small set optimization for aggregate function uniqHLL12 [#METR-2944]. 2015-02-22 10:23:37 +03:00
Alexey Milovidov
bbd48f8921 dbms: Aggregator: added specialization for many (up to 256 bit) fixed-size keys (up to 3x performance improvement) [#METR-2944]. 2015-02-22 08:53:16 +03:00
Alexey Milovidov
b6f4d3d3e8 dbms: added setting 'group_by_two_level_threshold' for fine tuning [#METR-2944]. 2015-02-22 08:51:16 +03:00
Alexey Milovidov
5070e7642d dbms: added SmallSet and SmallMap [#METR-2944]. 2015-02-21 03:28:53 +03:00
Alexey Arno
d4f6e1209a dbms: Server: fixed RemoteBlockInputStream destructor policy [#METR-14410] 2015-02-20 17:43:22 +03:00
Alexey Arno
75dc809ad2 dbms: Server: simplified code [#METR-14875] 2015-02-20 17:27:05 +03:00
Alexey Arno
e4fdbdb6f8 dbms: Server: simplified code [#METR-14875] 2015-02-20 17:22:33 +03:00
Alexey Arno
9e44061a2f dbms: Server: cosmetic changes [#METR-14875] 2015-02-20 14:33:21 +03:00
Alexey Arno
ef13e0203e dbms: Server: cosmetic changes [#METR-14875] 2015-02-20 13:53:26 +03:00
Alexey Arno
64c8535382 dbms: Server: performance optimization [#METR-14875] 2015-02-20 13:37:55 +03:00
Andrey Mironov
57abed9773 dbms: check argument count for *If aggregate functions. [#METR-15164] 2015-02-19 19:27:19 +03:00
Andrey Mironov
cf8a927150 dbms: invert the way multiple values are acquired from the dictionary [#METR-13298] 2015-02-19 18:28:24 +03:00
Alexey Arno
533783d64b dbms: Server: performance optimization (minimize copies and reallocations) [#METR-14875] 2015-02-19 17:55:47 +03:00
Alexey Arno
86129c634f dbms: Server: performance optimization [#METR-14875] 2015-02-19 14:08:49 +03:00
Alexey Arno
a4f4c6a811 dbms: Server: performance optimization [#METR-14875] 2015-02-19 02:15:20 +03:00
Alexey Arno
19a93cc0bf dbms: Server: fixed DAG traversal [#METR-14875] 2015-02-19 01:13:54 +03:00
Alexey Arno
d5d41df78d dbms: Server: cosmetic changes [#METR-14875] 2015-02-18 21:18:37 +03:00
Alexey Arno
fe8713a030 Merge 2015-02-18 20:41:51 +03:00
Alexey Arno
4dd8387f2d dbms: Server: feature development [#METR-14875] 2015-02-18 20:05:25 +03:00
Alexey Arno
8407779d2e dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:15 +03:00
Alexey Arno
0869016283 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
2c547ad2fd dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
88aab687ab dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
2920b7dbe5 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
f6745b2972 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
932755f851 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
99663bfc99 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
f37fea7f24 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
f49bcac364 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
c342867233 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
5546e6c872 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Arno
c95bec1cf4 dbms: Server: feature development [#METR-14875] 2015-02-18 20:03:14 +03:00
Alexey Milovidov
d9c29390fd dbms: benchmark: allowed to specify settings [#METR-2944]. 2015-02-16 23:12:59 +03:00
Alexey Milovidov
06d2a778ad dbms: fixed dynamic compiler [#METR-2944]. 2015-02-16 20:08:57 +03:00
Alexey Milovidov
b35f7f04ab dbms: fixed error in prev. revision [#METR-2944]. 2015-02-15 19:12:08 +03:00
Alexey Milovidov
9dd3662920 dbms: fixed error in prev. revision [#METR-2944]. 2015-02-15 18:59:30 +03:00
Alexey Milovidov
e7aa1cd01c dbms: slightly improved performance of reading long strings [#METR-2944]. 2015-02-15 18:38:04 +03:00
Alexey Milovidov
ca4ca58855 dbms: slightly improved performance when reading long strings [#METR-2944]. 2015-02-15 18:18:21 +03:00
Alexey Milovidov
24a4956671 dbms: improved performance of reading string columns [#METR-2944]. 2015-02-15 17:25:43 +03:00
Alexey Milovidov
68dd2317ce dbms: improved performance on short queries from wide tables [#METR-2944]. 2015-02-15 16:30:07 +03:00
Alexey Milovidov
a8f155cb06 dbms: addition to prev. revision [#METR-2944]. 2015-02-15 15:40:07 +03:00
Alexey Milovidov
2d04fed3a3 dbms: improved performance of reading string column [#METR-2944]. 2015-02-15 15:38:21 +03:00
Alexey Milovidov
6d6faf8b5e dbms: improved performance of JSON output format for data without strings (2.5 times) [#METR-2944]. 2015-02-15 12:45:29 +03:00
Alexey Milovidov
fa84f264aa dbms: more sane progress bar - it doesn't roll back when using ConcatBlockInputStream [#METR-2944]. 2015-02-15 09:08:31 +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 Arno
b5105ecdf7 dbms: Server: fixed bug in UNION ALL [#METR-15077] 2015-02-13 14:40:58 +03:00
Alexey Milovidov
597f2eb737 dbms: fixed build [#METR-2944]. 2015-02-13 07:28:31 +03:00
Alexey Milovidov
2017ee72c9 Revert "dbms: improving performance of String IN (set) (for graphite) [#METR-2944]."
This reverts commit 504894305d02e73c471e0020057d4b7a96afca1d.
2015-02-13 07:08:25 +03:00
Alexey Milovidov
7c8f3267be Revert "dbms: addition to prev. revision [#METR-2944]."
This reverts commit ae6fe44a0a0a3b600b41d781129159acb66815d5.
2015-02-13 07:08:11 +03:00
Alexey Milovidov
f7ff9d64dc dbms: addition to prev. revision [#METR-2944]. 2015-02-13 04:19:33 +03:00
Alexey Milovidov
dea75f4445 dbms: improving performance of String IN (set) (for graphite) [#METR-2944]. 2015-02-13 04:18:28 +03:00
Alexey Milovidov
ea113f138f dbms: preparation [#METR-2944]. 2015-02-13 04:17:44 +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
Andrey Mironov
984aa5c4b5 dbms: extract external dictionaries management to a separate type [#METR-13298] 2015-02-10 20:40:40 +03:00
Andrey Mironov
168e1cd98d dbms: post-review corrections [#METR-13298]
add dummy CacheDictionary (could not commit without it)
2015-02-10 17:50:52 +03:00
Andrey Mironov
ed3c230e5d dbms: extract function Cluster::isLocal 2015-02-10 17:50:52 +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
a36c7f0001 dbms: Server: removed unneeded include [#METR-14410] 2015-02-09 15:56:46 +03:00
Alexey Arno
78283c6b85 Merge 2015-02-09 14:40:54 +03:00
Andrey Mironov
a485aacc54 dbms: fix external dictionaries exception on empty path [#METR-13298] 2015-02-09 13:10:35 +03:00
Andrey Mironov
8c62be82d1 dbms: make StorageFactory a singleton 2015-02-09 13:10:35 +03:00
Andrey Mironov
19e3f7a561 dbms: remove unused header 2015-02-09 13:10:35 +03:00
Andrey Mironov
bfbe878f99 dbms: properly delay dictionary update time in case of exception [#METR-13298] 2015-02-09 13:10:35 +03:00
Pavel Kartavyy
41b1a8dd25 Merge 2015-02-09 11:34:14 +03:00
Alexey Arno
e8902aa644 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-09 01:37:55 +03:00
Alexey Arno
8c0a540350 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-09 00:34:43 +03:00
Alexey Arno
2e5d1041a1 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-08 02:13:04 +03:00
Alexey Arno
cede256a43 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-07 22:39:16 +03:00
Alexey Arno
ba96a87097 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-07 20:12:29 +03:00
Alexey Arno
7d5f75a804 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-07 01:32:54 +03:00
Alexey Arno
55acd52df2 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 17:46:04 +03:00
Alexey Arno
80aba15901 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 13:41:03 +03:00
Alexey Milovidov
96c16b742b Separated test case for compiler bug [#METR-10240]. 2015-02-06 09:49:37 +03:00
Alexey Milovidov
fd01de7b03 Separated test case [#METR-10240]. 2015-02-06 07:45:28 +03:00
Alexey Arno
4a002773a8 dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-06 01:31:03 +03:00
Andrey Mironov
7127c21a42 dbms: add forgotten return, support non-reloaded dictionaries [#METR-13298] 2015-02-04 18:18:29 +03:00
Andrey Mironov
1ef9c4138a dbms: allow empty dictionaries_config element in config.xml [#METR-13298] 2015-02-04 17:29:02 +03:00
Andrey Mironov
f591ba73e1 dbms: check that dictionaries config file exists [#METR-13298] 2015-02-04 16:21:50 +03:00
Alexey Arno
ab9da73dea dbms: Server: queries with several replicas: fixes [#METR-14410] 2015-02-04 16:07:10 +03:00
Andrey Mironov
ad54825dfe dbms: uncomment clickhouse dictionary source creation [#METR-13298] 2015-02-04 16:06:56 +03:00
Andrey Mironov
cee209db3e Merge 2015-02-04 14:01:06 +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 Milovidov
66156f5085 dbms: fixed segfault when query was cancelled while merging aggregate states in calculation of TOTALS [#METR-14654]. 2015-02-04 08:05:17 +03:00
Andrey Mironov
496fdc0228 dbms: add safety to Context::getDictionaries [#METR-13298] 2015-02-03 20:14:12 +03:00
Andrey Mironov
6fecb60894 dbms: better decoupling [#METR-13298] 2015-02-03 20:03:35 +03:00
Alexey Milovidov
97b0966ce2 Merge 2015-02-03 19:40:39 +03:00
Alexey Milovidov
d9d20f8c01 dbms: fixed error with IN with subquery with WHERE and PREWHERE in distributed query execution [#METR-14901]. 2015-02-03 19:38:30 +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
b0c4727d7a 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
35356191c9 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
14b7361e69 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
e81ffd1ddc dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:33 +03:00
Alexey Arno
39985e22f3 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
a92da48209 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
9cb318dc33 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
6089f15f1f dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
29a58d403b dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
40d753d0fd dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
866e733991 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
fe2e42920a dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
72df57b68c dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
0576a2f2d6 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
ca96f2f3eb dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
fddc332e6f dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
0c54fc48fc dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:13 +03:00
Alexey Arno
e86abf0311 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
0102fa4cde dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
3ff8ee1f09 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
85f061a790 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
594ab09579 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
ce941bded6 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
2c6d3efc61 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
820e6f4498 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:36:12 +03:00
Alexey Arno
edbe789d12 dbms: Server: add improvements and the ability of waiting for a read event on several connections. [#METR-14410] 2015-02-03 16:36:08 +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 Arno
ab0761c643 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:34:50 +03:00
Alexey Arno
cd4bbadb12 dbms: Server: queries with several replicas: development [#METR-14410] 2015-02-03 16:34:48 +03:00
Andrey Mironov
409dc6ff1b dbms: proper reloading for non-cached dictionaries [#METR-13298] 2015-02-03 14:51:33 +03:00
Alexey Milovidov
e26f52ae6e Addition to prev. revision [#METR-14873]. 2015-02-03 00:28:42 +03:00
Alexey Milovidov
e4ae80fd2d Removed Yandex Catalog categories (not used; but empty columns in tables are left) [#METR-14873]. 2015-02-03 00:22:07 +03:00
Alexey Milovidov
7f0654cabb Fixed build [#METR-2807]. 2015-02-01 11:24:49 +03:00
Alexey Milovidov
ee98a3babc dbms: fixed error with 'max_distributed_connections = 1' [#METR-14855]. 2015-02-01 11:02:18 +03:00
Alexey Milovidov
5271a45625 dbms: fixed error with JOINs [#METR-14847]. 2015-02-01 10:20:33 +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
bd51359819 dbms: fixed error in exception message [#METR-2944]. 2015-02-01 01:17:33 +03:00
Alexey Milovidov
1e18ff37c6 dbms: fixed error with JOIN [#METR-14847]. 2015-01-31 00:19:35 +03:00
Alexey Milovidov
da2ba1f7f7 dbms: fixed error with StorageSet and StorageJoin [#METR-2944]. 2015-01-30 21:57:44 +03:00
Andrey Mironov
345afb6059 dbms: store dictionary lifetime in dictionaries [#METR-13298] 2015-01-30 18:18:13 +03:00
Andrey Mironov
fb333b16d7 dbms: incapsulate dictionary source data and allow cloning [#METR-13298]; add cloning for dictionaries 2015-01-30 17:12:09 +03:00
Andrey Mironov
647cd1b0eb dbms: check dictionary source modification prior to reloading [#METR-13298]
Mysql and Clickhouse sources are not currently checked and will always say they are modified.
Reload periods are not currently checked.
2015-01-29 18:47:21 +03:00
Pavel Kartavyy
2482560b15 DB::Connection: don't log Ping requests 2015-01-29 15:53:59 +03:00
Alexey Milovidov
2b506a0a73 dbms: addition to prev. revision [#METR-2944]. 2015-01-29 06:11:10 +03:00
Alexey Milovidov
6db5e98515 dbms: StorageJoin: fixed error [#METR-2944]. 2015-01-29 06:07:58 +03:00
Andrey Mironov
e982b5c92d dbms: add all integral and floating point types to IDictionary. [#METR-13298] 2015-01-28 18:02:05 +03:00
Andrey Mironov
f4e7d2d4f5 dbms: add dictGetHierarchy and dictIsIn. [#METR-13298] 2015-01-28 16:20:20 +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
684b2e70a9 dbms: added support for whitespaces when parsing arrays [#METR-14798]. 2015-01-28 02:25:35 +03:00
Alexey Milovidov
91b10d0820 dbms: slightly lowered memory usage of distributed aggregation [#METR-2944]. 2015-01-28 02:02:05 +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