Commit Graph

3415 Commits

Author SHA1 Message Date
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