Commit Graph

5847 Commits

Author SHA1 Message Date
Alexey Milovidov
9e81f3eea0 Added setting 'enable_http_compression' [#METR-20041]. 2016-02-19 22:02:20 +03:00
Alexey Milovidov
93c5ba2d4d Added support for unknown fields in TSKVRowInputStream [#METR-20081]. 2016-02-19 19:59:31 +03:00
Alexey Milovidov
13e737bdd6 Added test for Array columns in primary key [#METR-20079]. 2016-02-19 19:57:33 +03:00
Alexey Milovidov
d391e77b7d Fixed error [#METR-20081]. 2016-02-18 14:54:16 +03:00
Alexey Milovidov
d9da199c33 Added comment [#METR-2944]. 2016-02-18 14:47:37 +03:00
Alexey Milovidov
799ccc739b Addition to prev. revision [#METR-20081]. 2016-02-18 14:45:32 +03:00
Alexey Milovidov
e8802db2c3 Added format JSONEachRow [#METR-20081]. 2016-02-18 14:44:50 +03:00
Alexey Milovidov
2f35f6a350 Added support for format TSKV for input [#METR-20081]. 2016-02-18 06:13:52 +03:00
Alexey Milovidov
7af87e367f Better diagnostics [#METR-20079]. 2016-02-18 00:02:06 +03:00
Alexey Milovidov
ef6ca3e1de Added SSE 4.2 version of find_first_symbols for long set of symbols [#METR-20078]. 2016-02-17 05:39:43 +03:00
Alexey Milovidov
313b0a58f5 Implemented TODO [#METR-2944]. 2016-02-17 05:38:56 +03:00
Vladimir Chebotarev
77ac3ab39b dbms: Added proper spacing in arguments of find_first_symbols [METR-20078] 2016-02-17 00:32:24 +03:00
Vladimir Chebotarev
e9c486c385 libcommon, ReadHelpers: find_first_symbols [METR-20078] 2016-02-16 19:45:40 +03:00
Alexey Milovidov
8b3afeb60d Squashed commit of the following:
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:11:29 2016 +0300

    Addition [#METR-2944].

commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:08:43 2016 +0300

    Fixed error (incomplete) [#METR-2944].

commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 05:37:43 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:37:12 2016 +0300

    Improving performance of text formats [#METR-2944].

commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:18:00 2016 +0300

    Improving performance of row formats [#METR-2944].

commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Mon Feb 15 00:53:27 2016 +0300

    Fixed error.

commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 23:13:46 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 16:58:56 2016 +0300

    Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
7406fa60ff Added test [#METR-20041]. 2016-02-16 19:35:20 +03:00
Alexey Milovidov
415a1dc3ad Fixed error with gzip/deflate and empty response body [#METR-20041]. 2016-02-16 19:33:12 +03:00
Alexey Milovidov
bb122a2fa7 dbms: less locking while clearing old parts; better while loading parts [#METR-2944]. 2016-02-14 14:02:47 +03:00
Alexey Milovidov
4e86a71198 Addition [#METR-2944]. 2016-02-14 09:46:22 +03:00
Alexey Milovidov
5a78d4b0da Lowered size of index in memory (experimental) [#METR-2944]. 2016-02-14 08:43:03 +03:00
Alexey Milovidov
7a92c3cf1a Preparation [#METR-2944]. 2016-02-14 07:58:47 +03:00
Alexey Milovidov
e3d2a30c72 Addition [#METR-20026]. 2016-02-14 07:13:12 +03:00
Alexey Milovidov
ce3f881d7a Improved performance of WriteBufferValidUTF8 [#METR-20026]. 2016-02-14 07:07:55 +03:00
Alexey Milovidov
fabf0b3dc4 Added test for format XML [#METR-20026]. 2016-02-14 06:12:58 +03:00
Alexey Milovidov
79814b090d Implemented format XML [#METR-20026]. 2016-02-14 06:06:26 +03:00
Alexey Milovidov
8efb3e5ade Initial implementation of XML output format [#METR-20026]. 2016-02-14 05:37:42 +03:00
Alexey Milovidov
12363ed329 Added limited support for expressions in INSERT ... VALUES [#METR-20048]. 2016-02-13 09:37:19 +03:00
Alexey Milovidov
bc54312472 Fixed minor issue with readonly setting [#METR-15268]. 2016-02-12 06:45:26 +03:00
Alexey Milovidov
a33ab9cbe1 Fixed error when user could override settings in readonly mode, using HTTP interface [#METR-15268]. 2016-02-12 06:32:05 +03:00
Alexey Milovidov
6a2a082ea7 Added setting http_zlib_compression_level [#METR-20041]. 2016-02-12 05:26:04 +03:00
Alexey Milovidov
1cee75e828 Added test for sending external tables via HTTP [#METR-2944]. 2016-02-12 03:58:26 +03:00
Alexey Milovidov
dafece62ef Added support for HTTP compression of POST data [#METR-20041]. 2016-02-12 03:56:15 +03:00
Alexey Milovidov
421d5a97ad Added support for HTTP compression [#METR-20041]. 2016-02-12 02:37:16 +03:00
Alexey Milovidov
c7d394f47e HTTP compression: development [#METR-20041]. 2016-02-12 00:40:51 +03:00
Alexey Milovidov
d14a12151e Fixed error with leak of watches [#METR-19975]. 2016-02-11 04:48:34 +03:00
Alexey Milovidov
14c28ebf0d Updated comment [#METR-20000]. 2016-02-11 04:43:39 +03:00
Pavel Kartavyy
eca42536d8 dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon 2016-02-09 20:06:50 +03:00
Alexey Milovidov
c55fbd08dc Fixed build package for metrika [#METR-17973]. 2016-02-09 00:20:55 +03:00
Alexey Milovidov
45cf6c6784 Added external tests [#METR-17973]. 2016-02-09 00:10:10 +03:00
Alexey Milovidov
df1d66e51a Removed sensitive data. 2016-02-08 00:58:58 +03:00
Alexey Milovidov
c3827a29eb Removed unrelated data. 2016-02-07 23:02:44 +03:00
Alexey Milovidov
02958c1c7f dbms: fixed race condition between attaches and download of parts [#METR-19399]. 2016-02-07 20:31:13 +03:00
Alexey Milovidov
c4a5b862bf dbms: tiny modification [#METR-2944]. 2016-02-07 20:30:39 +03:00
Alexey Milovidov
35d1bc10e2 dbms: fixed test [#METR-2944]. 2016-02-07 19:55:57 +03:00
Alexey Milovidov
6c38979819 dbms: fixed test [#METR-2944]. 2016-02-07 17:49:20 +03:00
Alexey Milovidov
d72720616a dbms: CSV format: development [#METR-19957]. 2016-02-07 14:49:49 +03:00
Alexey Milovidov
dadadf1b37 dbms: CSV format: additions [#METR-19957]. 2016-02-07 13:43:02 +03:00
Alexey Milovidov
dc982b1493 dbms: CSV format: added support for excessive delimiter at end of row [#METR-19957]. 2016-02-07 13:23:02 +03:00
Alexey Milovidov
73994ebb08 dbms: fixed error; added tests [#METR-19957]. 2016-02-07 12:53:48 +03:00
Alexey Milovidov
43c73cf7ee dbms: added support for CSV format [#METR-19957]. 2016-02-07 11:42:21 +03:00
Alexey Milovidov
563e410b72 Moved threadpool library to contrib [#METR-17973]. 2016-02-05 08:07:39 +03:00
Alexey Milovidov
7725b8ef8b dbms: better [#METR-17973]. 2016-02-05 05:21:18 +03:00
Alexey Milovidov
b375b6c6e6 dbms: fixed comments [#METR-17973]. 2016-02-04 00:37:52 +03:00
Alexey Milovidov
abf49e937c dbms: disabled QuickLZ [#METR-17973]. 2016-02-04 00:16:19 +03:00
Alexey Milovidov
3646bb747c dbms: additions [#METR-17973]. 2016-02-03 04:34:08 +03:00
Alexey Milovidov
de080cac60 dbms: fixed error [#METR-19866]. 2016-02-03 04:24:12 +03:00
Alexey Milovidov
3519c3cea2 dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973]. 2016-02-03 04:17:58 +03:00
Alexey Milovidov
48a1fe182d dbms: attempt to fix an error [#METR-19866]. 2016-02-03 00:30:27 +03:00
Alexey Milovidov
f8ddee2443 dbms: fixed comment (tnx. chebotarev) [#METR-2944]. 2016-02-03 00:13:30 +03:00
Alexey Milovidov
038a6278d5 dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901]. 2016-02-02 23:33:03 +03:00
Alexey Arno
4605992fb3 dbms: Server: Bug fix. [#METR-19860] 2016-02-02 14:49:57 +03:00
Alexey Milovidov
477c7245d4 dbms: added function regionToTopContinent [#METR-19807]. 2016-02-01 23:18:13 +03:00
Alexey Milovidov
14854540ba dbms: added test [#METR-19265]. 2016-02-01 21:40:27 +03:00
Alexey Milovidov
37d4dcb587 dbms: fixed CAST String to Enum [#METR-19265]. 2016-02-01 21:32:34 +03:00
Alexey Milovidov
b7ef4a3e7b dbms: fixed function visibleWidth for enums [#METR-19265]. 2016-02-01 20:30:46 +03:00
Alexey Milovidov
21fb1cca7c dbms: protection from attaching inactive parts at second ATTACH [#METR-19399]. 2016-01-30 06:26:24 +03:00
Alexey Milovidov
f9268b6ccb dbms: added test [#METR-19399]. 2016-01-30 05:50:14 +03:00
Alexey Milovidov
a0e7a59ab1 dbms: fixing errors with ATTACHes [#METR-19399]. 2016-01-30 05:29:20 +03:00
Alexey Milovidov
dae8a1d99d dbms: allowed to merge parts after DETACH PARTITION and then ATTACH [#METR-19397]. 2016-01-30 04:36:13 +03:00
Alexey Milovidov
f0a009bd70 dbms: attempt to fix an error [#METR-19399]. 2016-01-30 03:57:35 +03:00
Alexey Milovidov
061306d04b Merge 2016-01-29 05:24:50 +03:00
Alexey Milovidov
1b93d7d874 dbms: fixed error with possible conflict of names of parts when doing ATTACH after DROP PARTITION [#METR-18510]. 2016-01-29 05:24:03 +03:00
Alexey Milovidov
d5163b5060 Removed few old files [#METR-18510]. 2016-01-29 05:22:43 +03:00
Alexey Arno
113b592380 Merge 2016-01-28 19:06:57 +03:00
Alexey Milovidov
e5d4149ca4 Merge 2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7 Merge 2016-01-28 04:00:27 +03:00
Alexey Milovidov
b7d3f0e4d6 Merge 2016-01-28 03:59:35 +03:00
Alexey Milovidov
113ff27a70 dbms: added test [#METR-19835]. 2016-01-28 03:54:56 +03:00
Alexey Milovidov
5d962f241f dbms: fixed error with ATTACH [#METR-19835]. 2016-01-28 03:39:11 +03:00
Pavel Kartavyy
fec72d8e58 Merge 2016-01-27 14:37:03 +03:00
Pavel Kartavyy
e19e2effd6 build fix 2016-01-27 10:03:15 +03:00
Alexey Milovidov
0b230fac46 dbms: fixed error [#METR-19585]. 2016-01-27 08:11:51 +03:00
Alexey Milovidov
506d79894f dbms: fixed error [#METR-19585]. 2016-01-27 07:34:10 +03:00
Alexey Milovidov
341a9e89e7 dbms: improved performance (not in all cases) [#METR-19585]. 2016-01-27 06:26:36 +03:00
Alexey Milovidov
0853c80d7c dbms: initial implementation of position functions for non-constant needle argument [#METR-19585]. 2016-01-27 06:11:28 +03:00
Alexey Milovidov
5dec54f4b5 dbms: improved URL-parsing functions for URLs with parameters without values and "parameters" after fragment identifier [#METR-19806]. 2016-01-27 00:24:09 +03:00
Alexey Milovidov
5c90d7d45c Merge 2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a Merge 2016-01-26 04:56:42 +03:00
Alexey Milovidov
d29ae515a5 Merge 2016-01-26 04:39:05 +03:00
Alexey Milovidov
9156262de6 dbms: added tests [#METR-19767]. 2016-01-26 04:35:33 +03:00
Alexey Milovidov
f715b941da dbms: done debugging [#METR-19767]. 2016-01-26 04:26:02 +03:00
Alexey Arno
ae2f7c7613 Merge 2016-01-26 03:30:18 +03:00
Alexey Milovidov
869a521aed dbms: fixing error [#METR-19767]. 2016-01-26 00:40:13 +03:00
Alexey Milovidov
525f961110 dbms: fixed error [#METR-19758]. 2016-01-24 10:10:30 +03:00
Alexey Milovidov
5688369bb1 dbms: fixed error [#METR-19758]. 2016-01-24 09:56:55 +03:00
Alexey Milovidov
b3e4adfb6d dbms: fixed error [#METR-19758]. 2016-01-24 09:38:10 +03:00
Alexey Milovidov
6d50fb4b44 dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779]. 2016-01-24 08:00:24 +03:00
Alexey Milovidov
409954428b dbms: using numeric constants while evaluating PKCondition [#METR-19758]. 2016-01-23 00:28:58 +03:00
Alexey Milovidov
e720a53cf2 dbms: return early on WHERE 0 [#METR-19758]. 2016-01-22 23:43:16 +03:00
Alexey Milovidov
eac439c20c dbms: fixed error with OLAP compatibility [#METRIKASUPP-6363]. 2016-01-22 07:04:52 +03:00
Alexey Milovidov
48be0fb3e4 dbms: faster removing of lost parts from queue [#METR-19754]. 2016-01-21 23:45:56 +03:00
Alexey Milovidov
a08281d2eb dbms: fixed error when replica has too large delay [#METR-19586]. 2016-01-21 22:43:00 +03:00
Alexey Arno
a3ea32b985 Merge 2016-01-21 19:30:05 +03:00
Alexey Milovidov
14d525d991 dbms: fixed error with insert quorum [#METR-16779]. 2016-01-21 07:06:20 +03:00
Alexey Milovidov
0f3e163c4e dbms: CurrentMetrics: development [#METR-19596]. 2016-01-21 04:47:28 +03:00
Alexey Milovidov
30e559636d dbms: added support for global metrics: sending to graphite; added system.metrics table [#METR-19596]. 2016-01-21 00:32:01 +03:00
Alexey Milovidov
3f89d9e0f5 dbms: added profile event for yielding leadership [#METR-17573]. 2016-01-20 23:43:42 +03:00
Alexey Milovidov
fa8c7bec8a dbms: fixed dynamic compilation [#METR-2944]. 2016-01-20 22:51:45 +03:00
Alexey Milovidov
fa22ca0d09 dbms: added comment [#METR-19586]. 2016-01-20 03:18:58 +03:00
Alexey Milovidov
277167af17 dbms: fixed error with exceptions while queue processing [#METR-19586]. 2016-01-20 00:38:01 +03:00
Alexey Milovidov
dc01ebdf8d dbms: fixed test [#METR-2944]. 2016-01-19 22:56:09 +03:00
Alexey Milovidov
acd611c326 dbms: fixed calculation of delays [#METR-17573]. 2016-01-19 21:49:37 +03:00
Alexey Milovidov
fc951a9304 dbms: pulling logs at startup for better calculation of delays [#METR-17573]. 2016-01-19 20:17:22 +03:00
Alexey Milovidov
84f4f31892 dbms: fixed error with OLAP compatibility layer [#METRIKASUPP-6363]. 2016-01-19 19:58:52 +03:00
Alexey Milovidov
f818977092 dbms: fixed dynamic compilation [#METR-2944]. 2016-01-19 05:25:07 +03:00
Alexey Milovidov
c3381e4a3f dbms: fixed error [#METR-19561]. 2016-01-19 00:33:05 +03:00
Alexey Milovidov
dd1effe99c Merge 2016-01-18 19:27:57 +03:00
Alexey Milovidov
25036fec31 dbms: addition [#METR-19586]. 2016-01-18 19:27:27 +03:00
Alexey Milovidov
83fe68727a dbms: addition [#METR-17573]. 2016-01-17 16:41:36 +03:00
Alexey Milovidov
3356bfdeec dbms: implemented TODO [#METR-17573]. 2016-01-17 16:34:36 +03:00
Alexey Milovidov
82a96d22b1 dbms: tracking replicas delays [#METR-17573]. 2016-01-17 16:00:42 +03:00
Alexey Milovidov
d1882fe766 dbms: addition to prev. revision [#METR-2944]. 2016-01-17 11:27:52 +03:00
Alexey Milovidov
d603d0a12d Merge 2016-01-17 11:12:48 +03:00
Alexey Milovidov
8f1df43f03 dbms: separated lock for zookeeper in Context [#METR-2944]. 2016-01-17 10:53:58 +03:00
Alexey Milovidov
a30532594b dbms: fixed error [#METR-19586]. 2016-01-17 08:22:22 +03:00
Alexey Milovidov
27bb0a4ea2 dbms: porting to aarch64 [#METR-19609]. 2016-01-16 04:18:42 +03:00
Alexey Milovidov
1cc27117b9 dbms: porting to aarch64 [#METR-19609]. 2016-01-16 03:45:19 +03:00
Alexey Milovidov
6692460249 dbms: addition to prev. revision [#METR-17973]. 2016-01-15 07:13:00 +03:00
Alexey Milovidov
30b4b1e4a5 dbms: removed dependency of clickhouse-server to statdaemons [#METR-17973]. 2016-01-15 06:55:07 +03:00
Alexey Milovidov
81d5b9aaab Moved embedded dictionaries to dbms [#METR-17973]. 2016-01-15 05:47:19 +03:00
Alexey Milovidov
b22ce41d59 Removing dependency of daemon to statdaemons [#METR-17973]. 2016-01-15 05:32:55 +03:00
Alexey Milovidov
9c54ecb78b Cutting dependencies [#METR-2944]. 2016-01-15 04:36:30 +03:00
Alexey Milovidov
2ae6e4ba77 dbms: attempt to fix an error [#METR-19623]. 2016-01-14 06:17:11 +03:00
Alexey Milovidov
a0a803439b dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:58:35 +03:00
Alexey Milovidov
2dc07ef0a3 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:47:18 +03:00
Alexey Milovidov
70506f7246 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:10:39 +03:00
Alexey Milovidov
061f2038b8 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:05:01 +03:00
Alexey Milovidov
203d7b0886 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 04:44:21 +03:00
Alexey Milovidov
0c592b05ba dbms: allowed to compile with standard library with large sizeof(std::string) [#METR-19609]. 2016-01-14 04:43:14 +03:00
Alexey Milovidov
de72545808 dbms: addition [#METR-19609]. 2016-01-14 00:17:23 +03:00
Alexey Milovidov
e513e9808b dbms: porting to aarch64 [#METR-19609]. 2016-01-14 00:05:11 +03:00
Alexey Milovidov
fefce00f5d dbms: porting to aarch64 [#METR-19609]. 2016-01-13 23:30:11 +03:00
Alexey Milovidov
c103a4ec47 dbms: porting to aarch64 [#METR-19609]. 2016-01-13 23:21:56 +03:00
Alexey Milovidov
e468626d1c dbms: addition [#METR-19561]. 2016-01-13 07:30:21 +03:00
Alexey Milovidov
c67d973c51 dbms: added setting 'max_memory_usage_for_all_queries' [#METR-19561]. 2016-01-13 06:59:24 +03:00
Alexey Milovidov
7b521a8c5e dbms: added setting 'max_memory_usage_for_user' [#METR-19561]. 2016-01-13 05:38:30 +03:00
Alexey Milovidov
d8e6b1dcf1 dbms: fixed error in prev. revision [#METR-19586]. 2016-01-13 05:36:11 +03:00
Alexey Milovidov
8a6483d21a dbms: addition [#METR-19609]. 2016-01-13 05:25:46 +03:00
Alexey Milovidov
510778e674 dbms: addition [#METR-19609]. 2016-01-13 05:25:10 +03:00
Alexey Milovidov
bb67108daa dbms: addition to prev. revision [#METR-19470]. 2016-01-13 05:21:11 +03:00
Alexey Milovidov
7f1d46fd6c dbms: renamed format ODBC to ODBCDriver [#METR-19470]. 2016-01-13 05:20:12 +03:00
Alexey Milovidov
e522ec23f9 dbms: porting to aarch64 [#METR-19609]. 2016-01-13 05:11:40 +03:00
Alexey Milovidov
54d3af930c Merge 2016-01-13 04:06:56 +03:00
Alexey Milovidov
9a53bd2a3e dbms: tiny fixes (tnx. orantius) [#METR-2944]. 2016-01-13 04:02:10 +03:00
Alexey Milovidov
b591d907e1 dbms: fixed error [#METR-19592]. 2016-01-13 03:47:12 +03:00
Alexey Milovidov
9b5a771b33 dbms: addition [#METR-2944]. 2016-01-13 03:38:28 +03:00
Alexey Milovidov
b16dc2bb5e dbms: addition [#METR-2944]. 2016-01-13 03:37:34 +03:00
Alexey Milovidov
ab1b725779 dbms: less dependencies [#METR-2944]. 2016-01-13 03:32:59 +03:00
Alexey Milovidov
df780e9429 dbms: addition to prev. revision [#METR-19586]. 2016-01-12 23:07:10 +03:00
Alexey Milovidov
949ecc2070 dbms: optimized function pullLogsToQueue [#METR-19586]. 2016-01-12 22:45:51 +03:00
Alexey Milovidov
5692015ed9 dbms: cut dependency [#METR-2944]. 2016-01-12 06:17:33 +03:00
Alexey Milovidov
fbaa1cc416 Merge 2016-01-12 05:56:52 +03:00
Alexey Milovidov
14d24a3eab dbms: benchmark: added randomization option [#METR-2944]. 2016-01-12 05:55:39 +03:00
Alexey Milovidov
fb1c505263 dbms: addition [#METR-2944]. 2016-01-12 05:42:18 +03:00
Alexey Milovidov
f5597548b3 dbms: addition [#METR-2944]. 2016-01-12 05:39:12 +03:00
Alexey Milovidov
489bcb74e8 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:22:40 +03:00
Alexey Milovidov
c062fc1ce0 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:21:15 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Alexey Milovidov
1f7f7cd682 dbms: better [#METR-19586]. 2016-01-10 07:44:12 +03:00
Alexey Milovidov
a5b8166541 dbms: better [#METR-19586]. 2016-01-10 07:43:30 +03:00
Alexey Milovidov
47191fbb00 Additions [#METR-19593]. 2016-01-08 03:02:33 +03:00
Alexey Milovidov
09ebc85bb3 dbms: added test to reproduce the problem [#METR-19593]. 2016-01-08 01:34:53 +03:00
Alexey Milovidov
a419ce1052 Preparation to build with in-tree Poco library [#METR-19593]. 2016-01-07 22:52:21 +03:00
Alexey Milovidov
4b1ebc764e dbms: better [#METR-19593]. 2016-01-06 23:37:50 +03:00
Alexey Milovidov
6c712c1e7f dbms: improved performance of inserting into Distributed table [#METR-19595]. 2016-01-06 19:00:30 +03:00
Alexey Milovidov
27dfb21e15 dbms: fixed error [#METR-19595]. 2016-01-06 18:59:46 +03:00
Alexey Milovidov
a6b01ee987 dbms: multiple MemoryTrackers: development [#METR-19561]. 2015-12-30 18:39:11 +03:00
Andrey Mironov
2a6992689f dbms: add value to name map for enums; fix visibleWidth for enums [#METR-19265] 2015-12-30 15:12:18 +03:00
Alexey Milovidov
b9bc60fe5e dbms: fixed test [#METR-19265]. 2015-12-30 00:40:02 +03:00
Alexey Milovidov
458e0bcb32 dbms: fixed test [#METR-19265]. 2015-12-29 21:40:55 +03:00
Andrey Mironov
19362c0cce dbms: add test for Enums [#METR-19265] 2015-12-29 18:17:29 +03:00
Andrey Mironov
16912808a7 dbms: disallow direct comparison of Enums with Ints [#METR-19265] 2015-12-29 18:15:58 +03:00
Andrey Mironov
0ed12f9a15 dbms: FunctionCast: forward monotonicity info from the underlying functions for primitive types [#METR-19265] 2015-12-29 16:51:12 +03:00
Andrey Mironov
325107ad5a dbms: FunctionCast for Enums: allow changing names but not values for existing elements [#METR-19265] 2015-12-29 15:57:22 +03:00
Andrey Mironov
a75cb3a528 dbms: change underlying type of Enums to signed ints [#METR-19265] 2015-12-28 20:06:15 +03:00
Andrey Mironov
40e6f51370 dbms: allow cheap alter of Enums [#METR-19265] 2015-12-28 20:06:15 +03:00
Alexey Milovidov
0cf09f76f8 dbms: better [#METR-2944].. 2015-12-28 17:24:31 +03:00
Andrey Mironov
5a2ec718dd remove typo 2015-12-28 16:38:45 +03:00
Andrey Mironov
782382981d dbms: FunctionCast: correctly pass modified ColumnNumbers arguments [#METR-19265] 2015-12-28 15:43:23 +03:00
Andrey Mironov
433cb19ffb dbms: enums: ensure uniqueness of names and values [#METR-19265] 2015-12-28 15:43:23 +03:00
Alexey Milovidov
5ffd2eeb76 dbms: added test [#METR-19278]. 2015-12-27 15:32:39 +03:00
Alexey Milovidov
2368ac3675 dbms: fixed error with ArenaWithFreeLists; added comments; improved performance [#METR-19278]. 2015-12-27 13:58:20 +03:00
Alexey Milovidov
45d13d0426 dbms: clickhouse-benchmark: more handy [#METR-19577]. 2015-12-26 06:42:16 +03:00
Alexey Milovidov
08dc786e84 dbms: clickhouse-benchmark: added info about query [#METR-19577]. 2015-12-26 06:28:03 +03:00
Alexey Milovidov
17ba6f960f dbms: clickhouse-benchmark: added parameter 'stage' [#METR-19577]. 2015-12-26 04:04:12 +03:00
Alexey Milovidov
43350f51bb dbms: don't thrash mark_cache on merges (and ALTER MODIFY TYPE) [#METR-19575]. 2015-12-26 03:59:09 +03:00
Andrey Mironov
56b0a49e0f dbms: add enum to enum conversion and checks [#METR-19265] 2015-12-25 18:43:38 +03:00
Andrey Mironov
1506cc25c0 dbms: allow conversion of most types to enum (not enum to enum though)[#METR-19265] 2015-12-25 17:45:58 +03:00
Andrey Mironov
40f060fae8 dbms: allow type in CAST(expression AS type) without back quotes [#METR-19265] 2015-12-25 15:06:17 +03:00
Andrey Mironov
0dc042536c dbms: refactor ColumnConstTuple materialization [#METR-19265] 2015-12-25 15:06:17 +03:00
Andrey Mironov
c483485eaf dbms: create a separate type for Tuple in Field [#METR-19265] 2015-12-25 15:06:17 +03:00
Andrey Mironov
13f56d4465 dbms: use CAST internally whenever a conversion is required [#METR-19265] 2015-12-25 15:06:16 +03:00
Andrey Mironov
404c79a368 dbms: CAST(expression AS Tuple(...)) [#METR-19265] 2015-12-25 15:06:16 +03:00
Andrey Mironov
49236beee8 dbms: CAST(expression AS type) [#METR-19265] 2015-12-25 15:06:16 +03:00
Alexey Milovidov
ce70e528e0 dbms: fixed error with max_subquery_depth and GLOBAL subqueries [#METR-19569]. 2015-12-25 04:37:17 +03:00
Alexey Milovidov
f1f3619df4 dbms: cancelling fetching of parts on table shutdown [#METR-19544]. 2015-12-25 00:28:18 +03:00
Alexey Milovidov
3f6eb904d6 dbms: fixed exception message [#METR-19516]. 2015-12-24 22:57:27 +03:00
Alexey Milovidov
9177841f1b dbms: client: in multiquery mode: break at first exception [#METR-19563]. 2015-12-24 22:27:14 +03:00
Alexey Milovidov
e462bddbcc dbms: added missing file [#METR-2944]. 2015-12-24 21:38:19 +03:00
Alexey Milovidov
89c64fe863 dbms: removed unused field [#METR-2944]. 2015-12-24 21:35:01 +03:00
Alexey Milovidov
d51e03da61 dbms: added fault injection in memory tracker to more easily reproducing the bug [#METR-19278]. 2015-12-23 10:39:28 +03:00
Alexey Milovidov
8da3abcd94 dbms: better [#METR-19278]. 2015-12-23 10:35:36 +03:00
Alexey Milovidov
00b43c9c46 dbms: added comment [#METR-19278]. 2015-12-23 10:32:44 +03:00
Alexey Milovidov
1f62bf24ee dbms: more safe [#METR-19278]. 2015-12-23 10:29:20 +03:00
Alexey Milovidov
e81dce0fd7 dbms: whitespaces [#METR-19278]. 2015-12-23 10:16:44 +03:00
Alexey Milovidov
691e13fe1a dbms: better [#METR-19278]. 2015-12-23 10:06:34 +03:00
Alexey Milovidov
348f2e0e40 dbms: better [#METR-19278]. 2015-12-23 10:03:50 +03:00
Alexey Milovidov
03ec2269fa dbms: better [#METR-19278]. 2015-12-23 10:00:33 +03:00
Alexey Milovidov
59ea7c4542 dbms: added comment [#METR-19278]. 2015-12-23 09:59:53 +03:00
Alexey Milovidov
b95b48ee62 dbms: aggregate function debug: better check for double free [#METR-19278]. 2015-12-23 09:59:53 +03:00
Alexey Milovidov
1c54336078 dbms: added aggregate function 'debug' to better reproduce the problem [#METR-19278]. 2015-12-23 09:59:53 +03:00
Alexey Milovidov
8afecac7e3 dbms: fixed error with order of destruction of arenas, if exception was thrown while merging [#METR-19278]. 2015-12-23 09:48:05 +03:00
Alexey Milovidov
c2d231dc75 dbms: fixed another error [#METR-19278]. 2015-12-23 08:06:32 +03:00
Alexey Milovidov
d6ecae4588 dbms: fixed one of errors [#METR-19278]. 2015-12-23 08:04:30 +03:00
Andrey Mironov
d0e4cabba3 dbms: add conversion support for enums [#METR-19265] 2015-12-22 16:07:40 +03:00
Andrey Mironov
02ce1bede2 dbms: add support for comparing enums [#METR-19265] 2015-12-22 15:03:47 +03:00
Andrey Mironov
3fb8fedd19 AggregateFunctionSum: change type prerequisite to behavesAsNumber [#METR-19265] 2015-12-22 15:03:47 +03:00
Alexey Milovidov
c7b9b29325 dbms: almost surely fixed error [#METR-19369]. 2015-12-21 23:17:24 +03:00
Alexey Milovidov
23f8413d74 dbms: fixed error with ParserUnsignedInteger (used for tuple element access) [#METR-2944]. 2015-12-21 19:59:21 +03:00
Andrey Mironov
3c0c39e38a dbms: add basic support for types Enum8/16. [#METR-19265] 2015-12-21 16:15:21 +03:00
Roman Peshkurov
0463b94020 Merge 2015-12-17 13:08:03 +03:00
Alexey Milovidov
d98e9405d9 dbms: removed wrong code [#METR-19278]. 2015-12-17 00:20:12 +03:00
Alexey Milovidov
5b91e13f43 dbms: more safe [#METR-19278]. 2015-12-16 23:50:56 +03:00
Alexey Milovidov
d84625b4ab dbms: fixed build [#METR-19278]. 2015-12-16 23:21:52 +03:00
Roman Peshkurov
c7b5b4892f mobile-logs-api: added information about read bytes. [#MOBMET-2465] 2015-12-16 14:02:44 +03:00
Alexey Milovidov
418a0b5988 dbms: little better (but doesn't fix any error) [#METR-19278]. 2015-12-16 07:04:23 +03:00
Alexey Milovidov
fe0e9d2248 dbms: little better [#METR-19417]. 2015-12-16 05:38:11 +03:00
Alexey Milovidov
0939b5e881 Merge 2015-12-16 05:32:49 +03:00
Andrey Mironov
9d16702f84 dbms: unconditionally move evaluation of storage ALIASes to InterpterSelectQuery [#METR-19317] 2015-12-15 17:15:06 +03:00
Alexey Arno
3a9e7a7170 dbms: Server: Added more explanatory error messages for date-time-related functions. [#METR-19416] 2015-12-15 13:13:07 +03:00
Alexey Arno
ef135c5873 dbms: Server: Added more explanatory error messages for date-time-related functions. [#METR-19416] 2015-12-15 12:56:14 +03:00
Alexey Arno
e41c1dd9af dbms: Server: Fixed error messages of time-related functions. [#METR-19416] 2015-12-14 19:26:39 +03:00
Alexey Milovidov
ccec8e4adc dbms: external aggregation: better scaling [#METR-17000]. 2015-12-13 18:07:01 +03:00
Alexey Milovidov
810edc775d dbms: fixed error in prev. revision [#METR-19171]. 2015-12-13 17:29:58 +03:00
Alexey Milovidov
9c4db62704 dbms: addition to prev. revision [#METR-16779]. 2015-12-13 15:39:06 +03:00
Alexey Milovidov
9143952e83 dbms: probably better [#METR-19172]. 2015-12-13 15:02:10 +03:00
Alexey Milovidov
5cf76fd8f2 dbms: fixed error [#METR-16212]. 2015-12-13 14:35:48 +03:00
Alexey Milovidov
cc9335fa65 dbms: improvement [#METR-19264]. 2015-12-13 14:02:58 +03:00
Alexey Milovidov
1e4def963d dbms: added function 'arrayReduce' [#METR-19264]. 2015-12-13 13:43:49 +03:00
Alexey Milovidov
9060931654 dbms: probably fixed error [#METR-16212]. 2015-12-13 12:20:13 +03:00
Alexey Milovidov
d227e5f1d8 dbms: added greetings (tnx. jkee) [#METR-2944]. 2015-12-13 12:19:32 +03:00
Alexey Milovidov
42480c31ef dbms: preparation [#METR-16212]. 2015-12-13 11:51:28 +03:00
Alexey Milovidov
7f74a32c80 dbms: little more correct [#METR-17579]. 2015-12-13 10:03:30 +03:00
Alexey Milovidov
34236c3913 dbms: addition to prev. revision [#METR-17579]. 2015-12-13 10:00:43 +03:00
Alexey Milovidov
28c63f20f6 dbms: addition to prev. revision [#METR-17579]. 2015-12-13 09:56:00 +03:00
Alexey Milovidov
2aeb48be2d dbms: added backoff on slow reads [#METR-17579]. 2015-12-13 07:52:13 +03:00
Alexey Milovidov
236f04d2dc dbms: Buffer: fixed error [#METR-19371], 2015-12-11 05:19:32 +03:00
Alexey Milovidov
0b5220adcf dbms: added test [#METR-19371]. 2015-12-11 04:54:47 +03:00
Alexey Milovidov
8addc4b7c7 dbms: little better [#METR-19371]. 2015-12-11 04:21:53 +03:00
Alexey Milovidov
c150e0afd6 dbms: Aggregator: fixes [#METR-19371]. 2015-12-11 04:11:59 +03:00
Alexey Milovidov
8eb820bc74 dbms: fixed error (for real) [#METR-19371]. 2015-12-11 04:08:19 +03:00
Alexey Milovidov
8a37319677 dbms: Aggregator: fixes [#METR-19371]. 2015-12-11 03:34:00 +03:00
Andrey Mironov
72ef6b08b6 dbms: fix MongoDB dictionary source for UInt32 clamped to Int32[#METR-18946] 2015-12-10 19:27:20 +03:00
Alexey Milovidov
f27bfcdc0b dbms: temporarily set 'aggregation_memory_efficient_merge_threads' to 1 because of incorrect implementation [#METR-17000]. 2015-12-10 05:40:31 +03:00
Andrey Mironov
b7f496eb7b dbms: fix MongoDB dictionary source for UInt8 [#METR-18946] 2015-12-09 15:30:45 +03:00
Andrey Mironov
e7c435c27e dbms: fix typo and absent support of Float64 for MongoDB dictionaries [#METR-18946] 2015-12-09 15:30:45 +03:00
Alexey Milovidov
db8d82f13e dbms: Buffer: better [#METR-19249]. 2015-12-09 09:55:49 +03:00
Alexey Milovidov
e473834770 dbms: StorageBuffer: write correct info about block flushed [#METR-19249]. 2015-12-09 09:16:24 +03:00
Alexey Milovidov
9e33ab5519 dbms: fixed error with StorageBuffer [#METR-19249]. 2015-12-09 09:10:13 +03:00
Alexey Milovidov
6eb47b0db4 dbms: fixed error with StorageBuffer [#METR-19249]. 2015-12-09 09:04:00 +03:00
Alexey Milovidov
6260ac34a3 dbms: fixed high CPU usage on shutdown [#METR-19056]. 2015-12-09 08:05:42 +03:00
Alexey Milovidov
e0653fda4e dbms: little better [#METR-19172]. 2015-12-09 07:41:46 +03:00
Alexey Milovidov
03f091c01c dbms: fixed error [#METR-19316]. 2015-12-09 07:28:01 +03:00
Alexey Milovidov
e348105481 dbms: get rid of bad idea [#METR-19056]. 2015-12-09 07:06:44 +03:00
Alexey Milovidov
d1fc6175f3 dbms: added revision to query_log table [#METR-19319]. 2015-12-09 06:30:54 +03:00
Alexey Milovidov
a43272c9b8 dbms: fixed error in memory-efficient merging of aggregated states [#METR-17000]. 2015-12-09 05:56:18 +03:00
Alexey Milovidov
7560351942 dbms: removed old code [#METR-17000]. 2015-12-09 05:55:35 +03:00
Alexey Milovidov
69942f38d4 dbms: fixed error with ParserAlterQuery [#METR-13097]. 2015-12-09 05:27:45 +03:00
Alexey Milovidov
d852ef480b dbms: external aggregation: fixed error [#METR-19316]. 2015-12-09 04:29:01 +03:00
Alexey Milovidov
ccd51123bf dbms: fixed error [#METR-19316]. 2015-12-09 00:29:38 +03:00
Alexey Milovidov
3b9466ee08 dbms: added test [#METR-19298]. 2015-12-08 23:05:49 +03:00
Alexey Milovidov
f6973a32c4 dbms: added support for empty StripeLog tables [#METR-19298]. 2015-12-08 23:04:11 +03:00
Andrey Mironov
c8e3d90536 dbms: SmallObjectPool: fix odr-use in debug build 2015-12-08 12:16:40 +03:00
Andrey Mironov
a57f996770 dbms: fix transform() accepting non constant second argument 2015-12-08 12:16:40 +03:00
Alexey Milovidov
50d463d08b dbms: fixed error [#METR-17000]. 2015-12-08 05:01:46 +03:00
Alexey Milovidov
18c3aa441a dbms: removing old temporary files on startup [#METR-17000]. 2015-12-08 04:43:39 +03:00
Alexey Milovidov
dc7372ab71 dbms: fixed error [#METR-19271]. 2015-12-08 04:17:57 +03:00
Alexey Milovidov
35db0d65b9 dbms: fixed error [#METR-19288]. 2015-12-07 23:08:00 +03:00
Alexey Milovidov
78b560c846 dbms: fixed error [#METR-19283]. 2015-12-07 22:30:50 +03:00
Andrey Mironov
cf2c86956e dbms: SmallObjectPool: remove minimum size check [#METR-18946] 2015-12-07 19:30:26 +03:00
Andrey Mironov
479f1fc346 dbms: fix typo and absent support of Float64 for MySQL dictionaries [#METR-18946] 2015-12-07 19:30:26 +03:00
Andrey Mironov
d019af9ace dbms: add test for float formatting which has proven problematic [#METR-19166] 2015-12-07 15:46:13 +03:00
Alexey Milovidov
0d7135fcf6 dbms: fixed errors [#METR-17000]. 2015-12-06 22:42:28 +03:00
Alexey Milovidov
9ecd4a0fa2 dbms: additions [#METR-17000]. 2015-12-06 21:55:09 +03:00
Alexey Milovidov
513eb33b5b dbms: fixed error [#METR-17000]. 2015-12-06 19:42:17 +03:00
Alexey Milovidov
7dc5661521 dbms: more memory efficient merging aggregated states [#METR-17000]. 2015-12-06 19:22:01 +03:00
Alexey Milovidov
071b1e367c dbms: fixed error [#METR-19700]. 2015-12-06 18:29:16 +03:00
Alexey Milovidov
0ef797d9f3 dbms: fixed error [#METR-17000]. 2015-12-06 17:27:09 +03:00
Alexey Milovidov
2b1614825e dbms: improvement [#METR-17000]. 2015-12-06 10:33:39 +03:00
Alexey Milovidov
ed0c42253d dbms: MergingAggregatedMemoryEfficientBlockInputStream: correctly set memory tracker [#METR-17000]. 2015-12-06 08:43:36 +03:00
Alexey Milovidov
b76731a578 dbms: improved startup times for lagged replica [#METR-18563]. 2015-12-05 10:03:17 +03:00
Alexey Milovidov
7fa1a57165 dbms: fixed excessive memory allocation when splitting single-level block in Aggregator [#METR-17000]. 2015-12-05 10:01:18 +03:00
Alexey Milovidov
2e08b4e816 dbms: fixed error [#METR-17000]. 2015-12-05 08:54:10 +03:00
Alexey Milovidov
fa76a1a452 dbms: MergingAggregatedMemoryEfficientBlockInputStream: reading data in parallel [#METR-17000]. 2015-12-05 07:20:37 +03:00
Alexey Milovidov
e1deff76a9 dbms: fixed error [#METR-19262]. 2015-12-05 06:04:13 +03:00
Alexey Milovidov
6859f2085e dbms: fixed error with TOTALS [#METR-19259]. 2015-12-04 23:33:38 +03:00
Alexey Milovidov
5890747c56 dbms: instrumenting external sort/aggregation [#METR-17000]. 2015-12-04 00:23:21 +03:00
Pavel Kartavyy
1b1a1143a9 Merge 2015-12-03 14:02:02 +03:00
Alexey Milovidov
ec34b0bdcf dbms: more simple [#METR-19056]. 2015-12-03 08:29:08 +03:00
Alexey Milovidov
2755e90b15 dbms: fixed not-an-error [#METR-19056]. 2015-12-03 08:18:22 +03:00
Alexey Milovidov
0ceb0280f7 dbms: added setting 'aggregation_memory_efficient_merge_threads' [#METR-17000]. 2015-12-03 08:03:23 +03:00
Alexey Milovidov
117060cf43 dbms: fixed error [#METR-18167]. 2015-12-03 07:03:20 +03:00
Alexey Milovidov
11aa07ccbc dbms: fixed tests [#METR-17000]. 2015-12-03 06:56:50 +03:00
Alexey Milovidov
2b835d67e2 dbms: fixed dynamic compilation [#METR-17000]. 2015-12-03 06:18:42 +03:00
Alexey Milovidov
7012dc56a3 dbms: MergingAggregatedMemoryEfficientBlockInputStream: fixed two errors [#METR-17000]. 2015-12-03 05:43:40 +03:00
Alexey Milovidov
99d7aa59b8 dbms: allowed to merge partial-aggregated streams memory-efficient in parallel [#METR-17000]. 2015-12-02 01:35:48 +03:00
Alexey Milovidov
d76d57dda2 dbms: better [#METR-17000]. 2015-12-02 00:20:14 +03:00
Alexey Milovidov
b04fc9bdf0 dbms: fixed build [#METR-17000]. 2015-12-01 20:10:24 +03:00
Alexey Milovidov
7c753e1403 dbms: fixed build [#METR-17000]. 2015-12-01 20:08:33 +03:00
Alexey Milovidov
8844334423 dbms: external aggregation: development [#METR-17000]. 2015-12-01 19:58:15 +03:00
Alexey Milovidov
fe8f947a43 dbms: allowed external aggregation with non-parallel aggregation [#METR-17000]. 2015-12-01 17:43:51 +03:00
Alexey Milovidov
4352307bbc Merge 2015-12-01 17:11:51 +03:00
Alexey Milovidov
eef5fcc466 dbms: addition to prev. revision [#METR-17000]. 2015-12-01 17:11:31 +03:00
Alexey Milovidov
02b16fce06 dbms: external aggregation: initial implementation [#METR-17000]. 2015-12-01 17:09:05 +03:00
Andrey Mironov
eba1cb4ca3 dbms: FieldVisitorToString::formatFloat emit trailing dec pt [#METR-17328] 2015-12-01 14:16:50 +03:00
Alexey Milovidov
a7387d9ce4 dbms: improvement [#METR-2944]. 2015-11-30 23:20:37 +03:00
Alexey Milovidov
48e840a199 dbms: external aggregation: development [#METR-17000]. 2015-11-30 22:57:46 +03:00
Andrey Mironov
386d560d39 dbms: refactor DoubleConverter [#METR-17328] 2015-11-30 20:55:42 +03:00
Andrey Mironov
1ca3d930da dbms: do not allocate memory for default strings in cache dictionaries [#METR-17328] 2015-11-30 20:55:42 +03:00
Alexey Milovidov
83cf1f81ec dbms: Aggregator: preparation [#METR-17000]. 2015-11-30 19:57:05 +03:00
Dmitry Galuza
2e6266ceed Merge 2015-11-30 18:07:23 +03:00
Alexey Milovidov
ea45c07638 dbms: fixed error [#METR-19025]. 2015-11-30 09:56:27 +03:00
Alexey Milovidov
eb4034f7f2 dbms: better [#METR-2944]. 2015-11-29 20:06:30 +03:00
Alexey Milovidov
cc75d4603b dbms: improved performance of INSERT SELECT [#METR-19025]. 2015-11-29 16:18:12 +03:00
Alexey Milovidov
39004c76f5 dbms: addition [#METR-19052]. 2015-11-29 15:54:58 +03:00
Alexey Milovidov
b6aaf1fe32 dbms: development; provided monotonicity properties for date-time functions [#METR-19052]. 2015-11-29 14:58:44 +03:00
Alexey Milovidov
d9bc972a59 dbms: allowed to use index if column is wrapped by piecewise-monotonic functions: initial implementation [#METR-19052]. 2015-11-29 11:06:29 +03:00
Alexey Milovidov
e64197d436 dbms: addition [#METR-19025]. 2015-11-27 23:50:48 +03:00
Alexey Milovidov
7e5b79fbe9 dbms: added test for merges [#METR-19025]. 2015-11-27 23:48:55 +03:00
Dmitry Galuza
30c946aea1 Merge 2015-11-27 14:55:16 +03:00
Alexey Milovidov
fb88629d67 dbms: added test [#METR-19128]. 2015-11-27 00:36:23 +03:00
Alexey Milovidov
98b3bfa48d dbms: workaround for incompatibility with gcc and clang [#METR-19128]. 2015-11-27 00:31:06 +03:00
Alexey Milovidov
3a5d47014f dbms: added test result [#METR-18778]. 2015-11-26 20:28:26 +03:00
Dmitry Galuza
5ca181053c Merge 2015-11-26 16:34:07 +03:00
Alexey Milovidov
747525d818 dbms: quantileTDigest: attempt to fix an error (incomplete) [#METR-19024]. 2015-11-26 00:42:41 +03:00
Alexey Milovidov
8c8210062a dbms: added support for hex escape sequences in strings [#METR-19072]. 2015-11-25 06:11:17 +03:00
Andrey Mironov
699e5480f6 dbms: use ArenaWithFreeLists for strings in cache dictionary [#METR-17328] 2015-11-24 15:47:51 +03:00
Andrey Mironov
7159c57280 dbms: fix error with ternary operator having priority lower than binary + [#METR-17328] 2015-11-24 14:28:29 +03:00
Andrey Mironov
ee21853933 dbms: MongoDBDictionarySource now can use complex keys[#METR-17328] 2015-11-24 14:28:29 +03:00
Andrey Mironov
24f986c9f1 dbms: fixed ArenaWithFreeLists "off-by-one" error which lead to allocating blocks of size less than required. 2015-11-24 14:28:29 +03:00
Alexey Milovidov
eca62f753c dbms: fixed error [#METR-19024]. 2015-11-24 06:21:37 +03:00
Alexey Milovidov
d189c6206a dbms: fixed error [#METR-19024]. 2015-11-24 04:21:28 +03:00
Alexey Milovidov
26a5aad691 dbms: added test (result pending) [#METR-18778]. 2015-11-24 00:35:42 +03:00
Alexey Milovidov
26d19fe1bc dbms: fixed error with GLOBAL JOIN [#METR-19048]. 2015-11-24 00:34:36 +03:00
Alexey Milovidov
bb88a1e1bf dbms: quantiles: allowed parameters in non-increasing order [#METR-18778]. 2015-11-24 00:33:43 +03:00
Alexey Milovidov
49be9e9b3e dbms: added comment [#METR-19024]. 2015-11-23 23:24:54 +03:00
Dmitry Galuza
fa73a9e3af ███████████: New fields in visits log [#METR-18831] 2015-11-23 18:33:53 +03:00
Alexey Milovidov
c9ea87ec11 dbms: addition to prev. revision [#METR-2944]. 2015-11-21 22:52:31 +03:00
Alexey Milovidov
7cf850f194 dbms: fixed error in prev. revision [#METR-2944]. 2015-11-21 22:51:47 +03:00
Alexey Milovidov
1889600e39 dbms: improved performance of Aggregator in non-compiled case [#METR-2944]. 2015-11-21 22:46:27 +03:00
Alexey Milovidov
6584d9ca6c dbms: better [#METR-2944]. 2015-11-21 21:56:54 +03:00
Alexey Milovidov
8a592860ef dbms: improved performance of INSERT SELECT (experimental) [#METR-19025]. 2015-11-21 19:26:48 +03:00
Alexey Milovidov
c461d32474 dbms: fixed comment [#METR-2944]. 2015-11-21 18:51:09 +03:00
Alexey Milovidov
8314861690 dbms: improved performance of INSERT SELECT [#METR-19025]. 2015-11-21 18:47:32 +03:00
Alexey Milovidov
2c67747a0d dbms: implemented quantilesTDigest and quantilesTDigestWeighted aggregate functions [#METR-19024]. 2015-11-21 17:04:43 +03:00
Alexey Milovidov
31c09b4d2d dbms: added weighted variants of t-digest [#METR-19024]. 2015-11-21 16:24:51 +03:00
Alexey Milovidov
57e8a8fdbb dbms: added t-digest algorithm [#METR-19024]. 2015-11-21 15:47:41 +03:00
Alexey Milovidov
d7c24b8203 dbms: fixed build [#METR-2944]. 2015-11-21 06:20:31 +03:00
Alexey Milovidov
659cf5a940 dbms: improved performance of ColumnArray::filter [#METR-19022]. 2015-11-21 06:19:43 +03:00
Andrey Mironov
715d2f6ce5 dbms: add key description to system.dictionaries[#METR-17328] 2015-11-20 19:20:54 +03:00
Andrey Mironov
aece1d21f8 dbms: improve dictGet functions for constant defaults [#METR-17328], [#METR-18520] 2015-11-20 18:53:23 +03:00
Dmitry Galuza
9558802570 ███████████: Refactoring, update ut [#METR-18831] 2015-11-20 18:41:39 +03:00
Alexey Milovidov
0713e4c592 dbms: addition to prev. revision [#METR-18847]. 2015-11-20 06:08:12 +03:00
Alexey Milovidov
5e2499eb77 dbms: addition to prev. revision [#METR-18847]. 2015-11-20 05:42:26 +03:00
Alexey Milovidov
4318712300 dbms: addition to prev. revision [#METR-18847]. 2015-11-20 05:29:16 +03:00
Dmitry Galuza
65e912a05c ███████████: New fields into example [#METR-18831] 2015-11-20 00:48:17 +03:00
Alexey Milovidov
2d8457418f dbms: added test [#METR-18847]. 2015-11-20 00:43:20 +03:00
Alexey Milovidov
2d00e5d84f dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847]. 2015-11-20 00:34:53 +03:00
Andrey Mironov
295e23a587 dbms: reimplement ArenaWithFreeLists on top of Arena [#METR-17328], [#METR-18520] 2015-11-19 18:06:00 +03:00
Andrey Mironov
de8eb7b914 dbms: fix debug build of ArenaWithFreeLists. [#METR-17328], [#METR-18520] 2015-11-19 16:41:35 +03:00
Andrey Mironov
6c8c0e03cb dbms: slightly refactor most dictionaries, add dictHas function for all dictionaries supporting dictGet*OrDefault. [#METR-17328], [#METR-18520] 2015-11-19 16:15:02 +03:00
Andrey Mironov
6d42868283 dbms: ClickHouseDictionarySource: check that key is present before dereferencing [#METR-18945] 2015-11-19 09:50:05 +03:00
Alexey Milovidov
f67c8e63a2 dbms: SAMPLE ... OFFSET development [#METR-18847]. 2015-11-19 06:40:15 +03:00
Alexey Milovidov
4c778ca1f6 dbms: added test (not passing yet) [#METR-18847]. 2015-11-19 06:38:09 +03:00
Alexey Milovidov
1b08920e50 dbms: SAMPLE OFFSET: development [#METR-18847]. 2015-11-19 06:24:59 +03:00
Alexey Milovidov
09dd253636 dbms: added support for SAMPLE ... OFFSET [#METR-18847]. 2015-11-19 00:37:28 +03:00
Alexey Milovidov
8255d76754 dbms: added missing include [#METR-18945]. 2015-11-19 00:35:24 +03:00
Andrey Mironov
e4ecbf42b1 dbms: fix cache-type dictionary memory effect on default values [#METR-17382] 2015-11-18 17:06:53 +03:00
Andrey Mironov
8feafa0da2 dbms: add dictGet*OrDefault for all new dictionaries [#METR-17382] 2015-11-18 16:31:29 +03:00
Andrey Mironov
4f1caeb0e4 dbms: SmallObjectPool for ComplexKeyCacheDictionary [#METR-17382] 2015-11-18 14:53:15 +03:00
Andrey Mironov
2e8cc93664 dbms: ArenaWithFreeLists basic implementation. [#METR-17382] 2015-11-17 19:09:43 +03:00
Alexey Milovidov
0270f2ff4d dbms: addition [#METR-18778]. 2015-11-17 02:49:18 +03:00
Alexey Milovidov
4056b3f2c8 dbms: fixed error [#METR-18778]. 2015-11-16 23:33:43 +03:00
Andrey Mironov
b6930dafa1 dbms: support loading composite keys in MySQLDictionarySource [#METR-17328] 2015-11-16 20:49:39 +03:00
Andrey Mironov
0fd1fc9cdc dbms: add ComplexKeyCacheDictionary, not yet complete [#METR-17328]
Requires a way of deallocating keys in memory Arena (a new type of arena, actually), MySQLDictionarySource not yet capable of requesting complex keys.
2015-11-16 20:49:39 +03:00
Andrey Mironov
7798c45b5b dbms: rename validateKeyColumns to validateKeyTypes [#METR-17328] 2015-11-16 20:49:39 +03:00
Alexey Milovidov
408a2e4751 Fixed errors in gcc-5 [#METR-18843]. 2015-11-16 07:56:31 +03:00
Alexey Milovidov
af37192e0c dbms: fixed errors on gcc-5 [#METR-18843]. 2015-11-16 07:15:53 +03:00
Alexey Milovidov
302e726a14 dbms: fixed error in gcc-5 [#METR-18843]. 2015-11-16 07:00:46 +03:00
Alexey Milovidov
df3f04cdeb dbms: fixing warnings in gcc-5 [#METR-18843]. 2015-11-16 06:28:10 +03:00
Alexey Milovidov
27ff4dd5d8 Updated double-conversion library (fixed warning in gcc-5) [#METR-18843]. 2015-11-16 06:10:37 +03:00
Alexey Milovidov
a82692e655 dbms: fixed error [#METR-2944]. 2015-11-15 12:17:51 +03:00
Alexey Milovidov
4b7db2cc36 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:17:11 +03:00
Alexey Milovidov
dc04cb7b88 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:14:22 +03:00
Alexey Milovidov
a7469e82d1 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:12:40 +03:00
Alexey Milovidov
2870fbb655 dbms: moved file [#METR-18778]. 2015-11-15 12:06:53 +03:00
Alexey Milovidov
ce0f3da2b2 dbms: modified test [#METR-18778]. 2015-11-15 11:52:21 +03:00
Alexey Milovidov
49580a9048 dbms: added aggregate function quantileExactWeighted and companions [#METR-18778]. 2015-11-15 11:31:08 +03:00
Alexey Milovidov
3a1a8c9567 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 10:05:01 +03:00
Alexey Milovidov
a2efbc1efc dbms: renamed functions [#METR-18778]. 2015-11-15 09:23:44 +03:00
Alexey Milovidov
3a6f91fc70 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 09:19:34 +03:00
Alexey Milovidov
4a537fcb84 dbms: moved file [#METR-18778]. 2015-11-15 09:18:43 +03:00
Alexey Milovidov
749e54749c dbms: moved file [#METR-18778]. 2015-11-15 09:11:58 +03:00
Alexey Milovidov
eb7421640e dbms: added tests [#METR-18778]. 2015-11-15 08:58:01 +03:00
Alexey Milovidov
f353711e5e dbms: improved performance of quantile and quantileDeterministic aggregate functions [#METR-18778]. 2015-11-15 08:52:41 +03:00
Alexey Milovidov
8732e7a3f1 dbms: improved performance of aggregate function groupArray [#METR-18778]. 2015-11-15 07:54:56 +03:00
Alexey Milovidov
8a0892f2fb dbms: quantileExact: added small set optimization [#METR-18778]. 2015-11-15 06:20:29 +03:00
Alexey Milovidov
4c87ec04b4 dbms: quantileExact: initial implementation [#METR-18778]. 2015-11-15 06:11:24 +03:00
Alexey Milovidov
959ae7cd78 dbms: unified allocators [#METR-18778]. 2015-11-15 06:09:40 +03:00
Alexey Milovidov
109eec92ff dbms: fixed error with UNION ALL and subqueries in IN [#METR-18808]. 2015-11-13 23:50:51 +03:00
Alexey Milovidov
513b4e0dc2 dbms: fixed error message [#METR-18810]. 2015-11-13 23:31:02 +03:00
Evgeniy Gatov
998f5fd552 dbms: temporarily disabled shards multiplexing [#METR-18300]. 2015-11-13 20:21:16 +03:00
Andrey Mironov
078cc8dbb4 dbms: significantly simplify ComplexKeyDictionary code and length [#METR-17328]
Add commentary about dictGet*OrDefault to FlatDictionary.
2015-11-13 17:01:30 +03:00
Andrey Mironov
c0ba6bedcb dbms:rename ComplexKeyDictionary to ComplexKeyHashedDictionary [#METR-17328] 2015-11-13 14:21:40 +03:00
Andrey Mironov
a863b2b0a4 dbms: take ComplexKeyDictionary::keys_pool size into account when determining bytes_allocated [#METR-17328] 2015-11-13 14:08:25 +03:00
Andrey Mironov
5c641ffc78 dbms: dictGet* functions for complex_key dictionary. No dictGet*OrDefault variants yet [#METR-17328] 2015-11-13 04:44:41 +03:00
Andrey Mironov
701bed3fae dbms: add ComplexKeyDictionary, no fetching of values yet [#METR-17328] 2015-11-12 19:29:07 +03:00
Andrey Mironov
2642f2fec4 dbms: add parsing of complex key definitions [#METR-17328] 2015-11-12 19:29:06 +03:00
Alexey Milovidov
fea8d76c77 dbms: fixed deadlock [#METR-18755]. 2015-11-12 05:14:28 +03:00
Alexey Milovidov
7f736e4065 dbms: temporarily disabled shards multiplexing [#METR-18300]. 2015-11-12 04:17:44 +03:00
Alexey Milovidov
9b991b3d6c dbms: whitespaces [#METR-2944]. 2015-11-11 05:13:24 +03:00
Alexey Milovidov
02fcbbbdd5 dbms: better [#METR-2944]. 2015-11-11 05:04:23 +03:00
Alexey Milovidov
f6cce1f55d dbms: fixed error with -State functions and WITH TOTALS [#METR-18727]. 2015-11-11 04:28:34 +03:00
Alexey Milovidov
d88b9bc889 dbms: improvement [#METR-15573]. 2015-11-11 03:20:22 +03:00
Alexey Milovidov
94cf448929 dbms: addition to prev. revision [#METR-18748]. 2015-11-11 00:23:45 +03:00
Alexey Milovidov
60054d177c dbms: removed madvise because it is bad [#MTRSADMIN-1703]. 2015-11-11 00:21:24 +03:00
Alexey Milovidov
ec163175ab dbms: explicitly disabled arguments of type AggregateFunction of aggregate functions min, max, any, anyLast family [#METR-18758]. 2015-11-10 23:48:49 +03:00
Alexey Milovidov
b75d6c163a dbms: fixed error [#METR-18758]. 2015-11-10 23:39:11 +03:00
Alexey Milovidov
d21307c535 dbms: fixed error with views [#METR-18748]. 2015-11-10 23:07:38 +03:00
Andrey Mironov
32614f5206 dbms: dictGetOrDefault for all types, explicit StringRef(string) [#METR-18520] 2015-11-10 12:29:30 +03:00
Alexey Milovidov
66ac9359dc dbms: (almost) fixed error [#METR-18727]. 2015-11-10 04:23:08 +03:00
Alexey Milovidov
f8e58463a6 dbms: addition to prev. revision [#METR-17573]. 2015-11-10 00:07:22 +03:00
Alexey Milovidov
e78ed9f802 dbms: replication delays: development [#METR-17573]. 2015-11-09 23:30:54 +03:00
Alexey Milovidov
4b29a48124 dbms: fixed error [#METR-17109]. 2015-11-09 21:45:55 +03:00
Alexey Milovidov
eed74c506e dbms: fixed error [#METR-15573]. 2015-11-09 02:52:40 +03:00
Alexey Milovidov
dd3ee906e2 dbms: fixed build [#METR-2944]. 2015-11-09 02:27:51 +03:00
Alexey Milovidov
f74c115faf dbms: fixed error [#METR-15573]. 2015-11-09 02:23:31 +03:00
Alexey Milovidov
ddd311ca98 dbms: fixed error [#METR-15573]. 2015-11-09 02:14:24 +03:00
Alexey Milovidov
ce292c4c55 dbms: fixed error [#METR-15573]. 2015-11-08 20:37:15 +03:00
Alexey Milovidov
52a3b686cd dbms: fixed error; parsing 'ON' expression in JOINs [#METR-18692]. 2015-11-08 05:42:33 +03:00
Alexey Milovidov
ffa33eea3d dbms: fixed error [#METR-15573]. 2015-11-08 05:07:13 +03:00
Alexey Milovidov
d6766eea2f dbms: fixed error [#METR-15573]. 2015-11-08 04:44:02 +03:00
Alexey Milovidov
9d95be8933 dbms: fixed error [#METR-15573]. 2015-11-08 04:33:33 +03:00
Alexey Milovidov
0e5bf428d0 dbms: better handling of compound identifiers [#METR-18692]. 2015-11-08 04:29:37 +03:00
Alexey Milovidov
4482871274 dbms: allowed aliases without AS keyword in SELECT clause at top level [#METR-15573]. 2015-11-08 03:28:12 +03:00
Alexey Milovidov
6f9c9d05a5 dbms: fixed priority of parsing tuple element operator [#METR-18692]. 2015-11-08 02:18:39 +03:00
Alexey Milovidov
a43d225da7 Merge 2015-11-06 21:46:23 +03:00
Alexey Milovidov
d7831a6317 dbms: fixed error [#METR-17573]. 2015-11-06 21:45:48 +03:00
Alexey Arno
29dc5f91d1 Merge 2015-11-06 20:44:01 +03:00
Alexey Milovidov
4a35d9169f dbms: merges don't block ALTERs [#METR-18690]. 2015-11-06 20:34:48 +03:00
Andrey Mironov
f8e5fed856 dbms: dictGetStringOrDefault, other functions on the way [#METR-18520] 2015-11-06 17:54:04 +03:00
Alexey Milovidov
0572f5aed7 dbms: added /replicas_status handle [#METR-17573]. 2015-11-05 23:24:27 +03:00
Alexey Milovidov
53dd07b8ca dbms: checking replication delays: development [#METR-17573]. 2015-11-05 23:08:18 +03:00
Alexey Milovidov
e29df2814c dbms: checking replication delays [#METR-17573]. 2015-11-05 22:44:19 +03:00
Alexey Milovidov
11447a4e1a dbms: accurate checking of replication delays (incomplete) [#METR-17573]. 2015-11-05 20:38:24 +03:00
Andrey Mironov
977954f9ce AIOContextPool: wait for all io_events in flight before destruction [#METR-18618] 2015-11-05 18:40:01 +03:00
Andrey Mironov
ad27ad476d AIOContextPool: type aliases for clarity, commentary corrections [#METR-18618] 2015-11-05 17:11:09 +03:00
Andrey Mironov
249a5922fe AIOContextPool: refactor, extract member functions, employ a condition_variable to minimize CPU waste [#METR-18618] 2015-11-05 16:52:21 +03:00
Alexey Milovidov
1f08dccab2 Merge 2015-11-05 15:43:15 +03:00
Alexey Milovidov
4e732a4d65 dbms: added test [#METR-18644]. 2015-11-05 15:42:54 +03:00
Alexey Arno
67d42f3aa8 dbms: Server: Bug fix. If the FROM section of a subquery does not refer to a table, the depth (as specified in the algorithm for distributed IN/JOIN subqueries processing) of this subquery must not increase. [#METR-18524] 2015-11-05 14:11:20 +03:00
Alexey Milovidov
c3a196904f dbms: fixed error with ARRAY JOIN and UNION ALL [#METR-18646]. 2015-11-05 03:42:18 +03:00
Alexey Milovidov
1a01606bf6 dbms: fixed error with GLOBAL subqueries and aliases [#METR-18650]. 2015-11-05 01:02:52 +03:00
Alexey Milovidov
d2bebebff5 dbms: ODBC: development [#METR-18538]. 2015-11-04 03:50:09 +03:00
Alexey Milovidov
85c2f926cc dbms: ODBC: development [#METR-18538]. 2015-11-04 03:48:14 +03:00
Alexey Milovidov
7829695455 Merge 2015-11-03 22:01:06 +03:00
Alexey Milovidov
127918a032 dbms: when limit for rows to read/result exceeded, will break at next block [#METR-18644]. 2015-11-03 21:58:43 +03:00
Andrey Mironov
32f31eedc4 AIOContextPool: handle EAGAIN from a call to io_submit [#METR-18618] 2015-11-03 18:37:21 +03:00
Andrey Mironov
9bfd90bb0f dbms: use AIOContextPool in ReadBufferAIO [#METR-18618] 2015-11-03 18:15:45 +03:00
Alexey Milovidov
213a6dedbd dbms: probably fixed error [#METR-18611]. 2015-11-02 22:19:29 +03:00
Alexey Arno
3c115c4dbe dbms: Server: Compilation fix. [#METR-16213] 2015-11-02 13:53:40 +03:00
Alexey Milovidov
c0ca0f117f dbms: ODBC: development [#METR-18538]. 2015-11-01 15:48:32 +03:00
Alexey Milovidov
0636e898fb dbms: ODBC: development [#METR-18538]. 2015-11-01 15:09:52 +03:00
Alexey Milovidov
d91836a1ef dbms: ODBC: development [#METR-18538]. 2015-11-01 15:00:49 +03:00
Alexey Milovidov
5af2b68775 dbms: ODBC: development [#METR-18538]. 2015-11-01 13:11:30 +03:00
Alexey Milovidov
6c54723409 dbms: ODBC: development [#METR-18538]. 2015-11-01 11:40:57 +03:00
Alexey Milovidov
30a31aac84 dbms: ODBC: development [#METR-18538]. 2015-11-01 07:40:26 +03:00
Alexey Milovidov
9bd245bb63 dbms: ODBC: development [#METR-18538]. 2015-11-01 07:39:17 +03:00
Alexey Milovidov
00a7e27398 dbms: ODBC: development [#METR-18538]. 2015-11-01 06:57:05 +03:00
Alexey Milovidov
fb699106f8 dbms: ODBC: development [#METR-18538]. 2015-11-01 05:36:19 +03:00
Alexey Milovidov
b17cc7181e dbms: ODBC: development [#METR-18538]. 2015-10-31 10:14:03 +03:00
Alexey Milovidov
e553d55974 dbms: ODBC: development [#METR-18538]. 2015-10-31 09:46:09 +03:00
Alexey Milovidov
00ea6b6b94 dbms: ODBC: more conscious [#METR-18538]. 2015-10-31 08:48:28 +03:00
Alexey Milovidov
184bdebf18 dbms: added test [#METR-18603]. 2015-10-31 00:24:41 +03:00
Alexey Milovidov
89848a098a dbms: setting Content-Type header in HTTP interface [#METR-18603]. 2015-10-31 00:19:54 +03:00
Alexey Milovidov
6e18299a45 dbms: added test [#METR-18564]. 2015-10-30 05:39:16 +03:00
Alexey Milovidov
b13c6cdd1e dbms: fixed error [#METR-18564]. 2015-10-30 05:34:24 +03:00
Alexey Milovidov
e7aabfe43c dbms: fixed error [#MTRSADMIN-1690]. 2015-10-30 05:29:53 +03:00
Alexey Milovidov
1331e1fb42 dbms: preparation [#METR-18603]. 2015-10-29 23:38:37 +03:00
Andrey Mironov
37ba429c1e dbms: handle ALIAS columns differently, support them in ARRAY JOIN. [#METR-18221] 2015-10-29 18:42:40 +03:00
Alexey Milovidov
75bde11360 dbms: implemented TODO [#METR-18564]. 2015-10-29 07:13:18 +03:00
Alexey Milovidov
02284881be dbms: renamed file [#METR-18564]. 2015-10-29 07:04:43 +03:00
Alexey Milovidov
bb7d8f3ed5 dbms: implemented exact version of uniq of variadic number of arguments; improved performance of non-exact version [#METR-18564]. 2015-10-29 07:02:22 +03:00
Alexey Milovidov
5862506095 dbms: added variadic variant of aggregate function uniqUpTo [#METR-18564]. 2015-10-29 06:41:09 +03:00
Alexey Milovidov
dc1460ad44 dbms: little better [#METR-18564]. 2015-10-29 05:41:13 +03:00
Alexey Milovidov
459900269f dbms: uniqExact: 16% better [#METR-18564]. 2015-10-29 05:19:56 +03:00
Alexey Milovidov
45065d53aa dbms: aggregate functions uniq with variable number of arguments: initial implementation [#METR-18564]. 2015-10-29 05:13:37 +03:00
Alexey Milovidov
270652a55b dbms: preparation [#METR-18564]. 2015-10-29 04:57:22 +03:00
Alexey Milovidov
e10a65ff1c dbms: added test [#METRIKASUPP-5937]. 2015-10-29 03:55:27 +03:00
Alexey Milovidov
aacc364d6d dbms: OptimizedRegularExpression: fixed error [#METRIKASUPP-5937]. 2015-10-29 03:18:40 +03:00
Alexey Milovidov
b2edb7bc5e dbms: allow to materialize tuples [#METR-18586]. 2015-10-29 03:17:50 +03:00
Alexey Milovidov
9f16f6fb6e dbms: allowed to hashing tuples [#METR-18564]. 2015-10-29 03:12:04 +03:00
Alexey Milovidov
c9a8f19def dbms: fixed error with tuples of consts [#METR-18586]. 2015-10-29 00:21:18 +03:00
Alexey Milovidov
400588148c dbms: fixed error in PKCondition [#METR-18585]. 2015-10-29 00:00:44 +03:00
Alexey Milovidov
248dec8194 dbms: added comment [#METR-15790]. 2015-10-27 22:40:14 +03:00
Alexey Milovidov
3f52d7d509 dbms: when parsing DateTime in unix timestamp form, allow timestamps with leading zeros [#METR-15790]. 2015-10-27 03:53:38 +03:00
Alexey Milovidov
23144fb2c1 Revert "dbms: fixed error with ARRAY JOIN, ORDER BY and LIMIT when no aggregation and joined arrays is not used before ORDER BY [#METR-18534]."
This reverts commit d5a33de26e7f69f65d7c056394e6a1d70b3a3f2a.
2015-10-27 03:50:01 +03:00
Alexey Arno
a5e1c3a603 dbms: Server: Set max_threads to max_distributed_connections in order to improve response times of CHECK TABLE. [#METR-16213] 2015-10-26 17:16:29 +03:00
Alexey Arno
46113b0fb3 dbms: Server: Small improvement [#METR-17985] 2015-10-26 16:30:36 +03:00
Alexey Arno
1bea69c0e2 dbms: Server: Small improvement [#METR-17985] 2015-10-26 16:26:24 +03:00
Alexey Arno
c326cf8624 dbms: Server: Small improvement [#METR-17985] 2015-10-26 16:21:46 +03:00
Alexey Milovidov
3a7985b09b dbms: ODBC: development [#METR-18538]. 2015-10-26 10:41:05 +03:00
Alexey Milovidov
9bcb09c371 dbms: ODBC: development [#METR-18538]. 2015-10-26 08:09:50 +03:00
Alexey Milovidov
03abdc0b93 dbms: ODBC: development [#METR-18538]. 2015-10-26 04:08:26 +03:00
Alexey Milovidov
a23b3c487c dbms: ODBC: development [#METR-18538]. 2015-10-25 11:01:19 +03:00
Alexey Milovidov
9fdec4bcd2 dbms: ODBC: development [#METR-18538]. 2015-10-25 07:53:30 +03:00
Alexey Milovidov
3a2a7a2e17 dbms: ODBC: development [#METR-18538]. 2015-10-25 07:45:02 +03:00
Alexey Milovidov
1bf1883c87 dbms: ODBC: just "connecting" [#METR-18538]. 2015-10-25 03:47:15 +03:00
Alexey Milovidov
c42ad08ff0 dbms: added ODBC driver stub [#METR-18538]. 2015-10-24 22:12:37 +03:00
Alexey Arno
497b9ba3c8 Merge 2015-10-24 01:43:06 +03:00
Alexey Milovidov
6affd9f342 dbms: fixed error with ARRAY JOIN, ORDER BY and LIMIT when no aggregation and joined arrays is not used before ORDER BY [#METR-18534]. 2015-10-23 22:05:21 +03:00
Alexey Milovidov
d2ba5e1afe dbms: updated test result (meaningless values was changed) [#METR-17109]. 2015-10-23 20:21:26 +03:00
Alexey Milovidov
09e3e62539 Merge 2015-10-23 04:44:50 +03:00
Alexey Milovidov
5cd5c0dde5 dbms: using 'max_rows_to_group_by' limit while merging aggregate states (in certain cases) [#METR-18507]. 2015-10-23 04:43:42 +03:00
Alexey Milovidov
6f00b5949c dbms: fixed ARRAY JOIN when joined array is not used, but original is used [#METR-18406]. 2015-10-22 23:56:52 +03:00
Alexey Arno
33650462c2 Merge 2015-10-22 18:31:42 +03:00
Alexey Milovidov
90ff83b1ba dbms: using max_rows_to_group_by limit while merging aggregate states (incomplete) [#METR-18507]. 2015-10-22 04:44:33 +03:00
Alexey Milovidov
9b0da24558 dbms: allowed to GROUP BY constants with no aggregates [#METR-18298]. 2015-10-22 00:43:42 +03:00
Alexey Milovidov
7fcae3dddd dbms: allowed to parse unix timestamp as DateTime for small unix timestamps [#METR-15790]. 2015-10-21 22:04:02 +03:00
Alexey Arno
fbe7b48dc9 dbms: Server: Code cleanup [#METR-16213] 2015-10-21 18:04:20 +03:00
Alexey Arno
e059442193 Merge 2015-10-21 17:57:10 +03:00
Andrey Mironov
d2188a1183 dbms: alter: allow altering between any default types. [#METR-18221]
add commentary about altering to FixedString(N) columns with existing files
2015-10-21 17:54:13 +03:00
Andrey Mironov
8242d24d1d dbms: fix alters involving FixedString columns and defaults [#METR-18221] 2015-10-21 17:54:13 +03:00
Alexey Arno
2660fbaa21 dbms: Server: merged branch METR-16213 into master 2015-10-20 17:59:29 +03:00
Alexey Milovidov
7600d9135a dbms: added support for array argument for function reverse [#METR-18022]. 2015-10-20 00:07:24 +03:00
Alexey Milovidov
a552f7b723 dbms: added function arrayStringConcat [#METR-18022]. 2015-10-19 21:49:52 +03:00
Alexey Milovidov
ea567490b6 dbms: fixed (falsely broken) test [#METR-18490]. 2015-10-19 18:56:33 +03:00
Alexey Milovidov
1eaa3cb309 dbms: implemented method getExtremes for ColumnTuple [#METR-18474]. 2015-10-16 23:32:44 +03:00
Alexey Milovidov
d5e8f3e427 dbms: attempt to fix memory usage [#METR-18456]. 2015-10-16 20:27:11 +03:00
Alexey Milovidov
203beb9621 dbms: caching DNS for table function 'remote' [#METR-18472]. 2015-10-16 19:10:10 +03:00
Alexey Milovidov
9b15c2e0f1 Merge 2015-10-16 18:36:43 +03:00
Alexey Milovidov
5e21d6a11d dbms: implemented TODO [#METR-18472]. 2015-10-16 18:36:23 +03:00
Alexey Arno
a5c49720fc Merge 2015-10-16 18:00:50 +03:00
Andrey Mironov
4195842841 dbms: add ext::identity and ext::collection_cast, use in ITableDeclaration 2015-10-16 14:44:44 +03:00
Alexey Arno
ce93036534 dbms: Server: Fixed comment typo. [#METR-16213] 2015-10-16 14:25:29 +03:00
Alexey Arno
caaf0235b9 dbms: Server: merged branch METR-16213 into master [#METR-16213] 2015-10-16 14:02:48 +03:00
Alexey Milovidov
9bf8199cae Merge 2015-10-15 22:42:06 +03:00
Alexey Milovidov
5249748571 dbms: fixed memory usage when using distributed_aggregation_memory_efficient [#METR-18456]. 2015-10-15 22:41:32 +03:00
Andrey Mironov
3b879c444d dbms: simplify ITableDeclaration::getColumnsList 2015-10-15 20:58:28 +03:00
Andrey Mironov
b0d70b6753 dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further 2015-10-15 20:51:23 +03:00
Andrey Mironov
ecf917de65 dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further 2015-10-15 19:50:10 +03:00
Alexey Milovidov
fc745dbfa1 dbms: fixed error with removing temporary columns [#METR-18448]. 2015-10-15 19:10:08 +03:00
Alexey Arno
3d7a3bcd92 dbms: Server: Fixed typo in comment. [#METR-18155] 2015-10-15 16:07:35 +03:00
Andrey Mironov
a4657df04e dbms: move Volnitsky to DB namespace 2015-10-15 16:05:27 +03:00
Andrey Mironov
6a4a1887a8 dbms: DB::UTF8::syncForward remove default parameter value 2015-10-15 15:55:34 +03:00
Andrey Mironov
39189f48d3 dbms: UTF8Helpers.h: make all functions inline 2015-10-15 15:54:33 +03:00
Andrey Mironov
53a251d1f5 dbms: ext.hpp include fix 2015-10-15 15:40:17 +03:00
Alexey Arno
66c46b1a49 dbms: Server: Fixed inverted columns. [#METR-16213] 2015-10-15 15:16:04 +03:00
Andrey Mironov
97ca8e5945 Merge 2015-10-15 14:36:39 +03:00
Andrey Mironov
e4f0f59742 dbms: fix unsigned vs signed comparison [#METR-18210] 2015-10-15 14:17:02 +03:00
Alexey Arno
f4d2d42ea8 dbms: Server: Fixed bug in query analysis ordering. [#METR-18155] 2015-10-15 14:07:39 +03:00
Andrey Mironov
797b947425 dbms: add concatAssumeInjective [#METR-18261] 2015-10-14 15:50:21 +03:00
Alexey Arno
be68994963 dbms: Server: Compilation fix for benchmark. [#METR-16213] 2015-10-14 15:19:55 +03:00
Andrey Mironov
957c8ecafe dbms: refactor position function family, remove debug versions. [#METR-18210] 2015-10-14 15:12:56 +03:00
Pavel Kartavyy
3069d6fe8f Merge 2015-10-14 14:58:16 +03:00
Andrey Mironov
4355b32890 dbms: external dictionaries: store null_values in sample_block, use them instead of IColumn::insertDefault for MySQL and MongoDB [#METR-17854] 2015-10-13 18:38:22 +03:00
Pavel Kartavyy
c469b726c1 Merge 2015-10-13 15:38:38 +03:00
Andrey Mironov
dd45d300bf Merge 2015-10-13 15:17:23 +03:00
Andrey Mironov
1657e38c97 dbms: prefer static version of boost_regex, add support for loading specific ids with MongoDBDictionarySource [#METR-17854] 2015-10-13 15:17:09 +03:00
Andrey Mironov
a36436a64b Revert "dbms: temporarily disabled MongoDB dictionary source (to enable automatic builds) [#METR-17854]."
This reverts commit 7060e5a7c839040ff23aebd160e0a1d088778fa7.
2015-10-13 13:20:48 +03:00
Alexey Arno
0f923131c6 dbms: Server: Removed unused header include. [#METR-16213] 2015-10-12 18:10:08 +03:00
Alexey Arno
abcf2ebc75 dbms: Server: Updated comment. [#METR-16213] 2015-10-12 18:05:30 +03:00
Alexey Arno
5f17c9d55d Merge 2015-10-12 17:53:16 +03:00
Andrey Mironov
7c64c3dc30 Merge 2015-10-12 13:23:31 +03:00
Andrey Mironov
e28dca4d4d dbms: add MongoDBBlockInputStream commentary [#METR-17854] 2015-10-12 13:22:16 +03:00
Alexey Milovidov
7f06d70d45 dbms: added test [#METR-18382]. 2015-10-12 10:15:57 +03:00
Alexey Milovidov
bb283e6602 dbms: added support for different numeric types in function has [#METR-18382]. 2015-10-12 10:05:54 +03:00
Alexey Milovidov
d12532e7b1 dbms: fixed error [#METR-18382]. 2015-10-12 07:27:02 +03:00
Alexey Milovidov
cbaaa0a4d7 dbms: addition to prev. revision [#METR-18149]. 2015-10-12 04:43:58 +03:00
Alexey Milovidov
4201a685b5 dbms: added support of tuple arguments to comparison functions [#METR-18149]. 2015-10-12 04:42:47 +03:00
Alexey Milovidov
8ab8ab5a2b dbms: added 'override' to functions [#METR-18149]. 2015-10-12 02:36:45 +03:00
Alexey Milovidov
ff06c18850 dbms: fixed error with 'replace' functions [#METR-18401]. 2015-10-11 07:25:02 +03:00
Alexey Milovidov
62061c3969 dbms: temporarily disabled MongoDB dictionary source (to enable automatic builds) [#METR-17854]. 2015-10-11 04:08:39 +03:00
Alexey Milovidov
31e94fb6cb dbms: OLAP compatibility: fixed error for ███████████.yandex-team.ru [#METR-17929]. 2015-10-09 23:22:33 +03:00
Alexey Milovidov
3733ac9ead dbms: fixed comment [#METR-17854]. 2015-10-09 23:21:20 +03:00
Andrey Mironov
d5caf72ca7 Merge 2015-10-09 17:52:45 +03:00
Andrey Mironov
4e66eb2884 Merge 2015-10-09 17:51:57 +03:00
Andrey Mironov
8e4f30fff0 dbms: MongoDB dictionary source draft (actually it works, but there are some improvements to be made) [#METR-17854] 2015-10-09 17:51:31 +03:00
Alexey Milovidov
75c6e83b71 dbms: added test [#METR-18382]. 2015-10-09 00:29:17 +03:00
Alexey Milovidov
a7fc2040d9 dbms: handling of compatible types in IN section with explicitly provided set [#METR-18382]. 2015-10-09 00:22:49 +03:00
Alexey Milovidov
0a7b4dd536 dbms: fixed little error [#METR-16457]. 2015-10-08 23:01:09 +03:00