Commit Graph

3728 Commits

Author SHA1 Message Date
Alexey Milovidov
d06a5906bf Quantiles: better [#METR-20381]. 2016-03-13 22:00:59 +03:00
Alexey Milovidov
1203a0a9c4 Fixed error [#METR-20381]. 2016-03-13 21:15:41 +03:00
Alexey Milovidov
745a29949e Updated comment [#METR-20381]. 2016-03-13 18:01:36 +03:00
Alexey Milovidov
bcd6875d6f Fixed off-by-one errors in aggregate functions quantileTiming and quantileExactWeighted [#METR-20381]. 2016-03-13 17:40:27 +03:00
Alexey Milovidov
a9b8677c26 Aggregate function quantileTiming: improved performance, lowered memory usage, lowered network traffic and improved precision [#METR-20359]. 2016-03-12 10:22:58 +03:00
Alexey Milovidov
261914bef7 Fixed error in comment [#METR-2944]. 2016-03-12 08:59:31 +03:00
Alexey Milovidov
c8d21e3674 Fixed informational size in bytes of ColumnAggregateFunction [#METR-20359]. 2016-03-12 08:25:55 +03:00
Alexey Milovidov
18016c4221 Merge 2016-03-12 07:01:03 +03:00
Alexey Milovidov
8b36994d88 Attempt to improve performance and memory usage of quantileTiming aggregate function [#METR-20359]. 2016-03-12 00:43:59 +03:00
Alexey Milovidov
ced97fc586 Lowered size of uncompressed serialized state of aggregate function quantileTiming about 20 times in average; improved performance of distributed queries [#METR-20359]. 2016-03-11 06:43:16 +03:00
Alexey Arno
36135ddb6a dbms: Code cleanup. [#METR-18510] 2016-03-10 18:53:20 +03:00
Alexey Arno
4ce2d94be7 dbms: Removed code that was not needed anymore since we have now a better way to check issues with connections. [#METR-18510] 2016-03-10 18:42:36 +03:00
Alexey Arno
bcd48f47e4 dbms: Fixed error message. [#METR-19416] 2016-03-10 17:58:31 +03:00
Alexey Arno
d5d334d5b8 dbms: Fixed post-optimization column order. Retain aliases. [#METR-19684] 2016-03-10 17:24:04 +03:00
Alexey Milovidov
4f3e9dfc95 dbms: addition to prev. revision [#METR-20301]. 2016-03-10 06:45:03 +03:00
Alexey Milovidov
b92b0660a7 dbms: fixed error [#METR-20301]. 2016-03-10 06:08:09 +03:00
Alexey Milovidov
1fec35c80c Merge 2016-03-09 22:57:40 +03:00
Alexey Arno
75f31de790 dbms: Code cleanup. [#METR-18510] 2016-03-09 16:40:47 +03:00
Dmitry Galuza
82fb47739e ███████████: Step 1: Parse tags and store in separated columns [#METR-19071] 2016-03-09 15:31:20 +03:00
Alexey Arno
e9718711d0 dbms: Code cleanup. [#METR-18510] 2016-03-08 18:38:06 +03:00
Alexey Arno
0f35ecc357 dbms: Code cleanup. [#METR-18510] 2016-03-08 16:46:00 +03:00
Alexey Milovidov
268ff3381a Updated zstd [#METR-20309]. 2016-03-07 12:52:53 +03:00
Alexey Milovidov
0e6a5df565 Fixing warnings on clang [#METR-2807]. 2016-03-07 09:25:36 +03:00
Alexey Milovidov
db574c87fb Fixing warnings on clang [#METR-2807]. 2016-03-07 09:24:36 +03:00
Alexey Milovidov
b335dfacba Fixing warnings on clang [#METR-2807]. 2016-03-07 09:18:06 +03:00
Alexey Milovidov
5f3cbc60f1 Fixing warnings on clang [#METR-2807]. 2016-03-07 09:13:54 +03:00
Alexey Milovidov
e41feb0ade Fixing warnings on clang [#METR-2807]. 2016-03-07 09:08:34 +03:00
Alexey Milovidov
4aa0a85ca2 Fixing warning on clang [#METR-2807]. 2016-03-07 09:00:25 +03:00
Alexey Milovidov
51874d6dd3 Fixing warnings on clang [#METR-2807]. 2016-03-07 08:15:42 +03:00
Alexey Milovidov
4576a90ba0 Fixing warnings on clang [#METR-2807]. 2016-03-07 08:05:42 +03:00
Alexey Milovidov
009070123e Fixing warnings on clang [#METR-2807]. 2016-03-07 07:56:19 +03:00
Alexey Milovidov
fcbe00ce94 Fixing warnings on clang [#METR-2807]. 2016-03-07 07:53:17 +03:00
Alexey Milovidov
a75b6ca3dd Fixing warnings on clang [#METR-2807]. 2016-03-07 07:43:14 +03:00
Alexey Milovidov
e2ef99e3b1 Fixing warnings on clang [#METR-2807]. 2016-03-07 07:36:54 +03:00
Alexey Milovidov
0a48e6296e Fixing warnings on clang [#METR-2807]. 2016-03-07 07:35:06 +03:00
Alexey Milovidov
30cba89be0 Fixing build on clang [#METR-2807]. 2016-03-07 07:31:10 +03:00
Alexey Milovidov
58fb3095d9 Fixed clean build [#METR-2944]. 2016-03-07 05:12:51 +03:00
Alexey Milovidov
f81aa67fc4 Preparation [#METR-20307]. 2016-03-07 04:08:01 +03:00
Alexey Milovidov
f5247021b1 Fixed error [#METR-20296]. 2016-03-05 06:17:11 +03:00
Alexey Milovidov
36e4bcc125 Better diagnostics [#METR-19808]. 2016-03-05 05:30:20 +03:00
Alexey Arno
f5c520bde1 dbms: Improved locking. [#METR-18510] 2016-03-04 19:33:31 +03:00
Alexey Milovidov
42883fddc4 Added virtual column '_sample_factor' [#METR-20296]. 2016-03-04 07:54:10 +03:00
Alexey Milovidov
cd7b937342 Whitespaces [#METR-2944]. 2016-03-04 05:40:48 +03:00
Pavel Kartavyy
4e2a760474 Merge 2016-03-03 18:38:13 +03:00
Pavel Kartavyy
1f3cff5232 Merge 2016-03-03 18:21:44 +03:00
Alexey Arno
d21060c35b dbms: Locking performance and correctness improvements. [#METR-18510] 2016-03-03 17:37:15 +03:00
Alexey Milovidov
e29eb14b79 dbms: attempt to fix an error [#METR-20273]. 2016-03-03 07:30:36 +03:00
Alexey Milovidov
f84772a55e Merge 2016-03-03 04:55:17 +03:00
Alexey Milovidov
d38693267d dbms: fixed error with faster text formats [#METR-20081]. 2016-03-03 04:54:58 +03:00
Alexey Arno
514cf0fcba dbms: Code cleanup. [#METR-18510] 2016-03-02 17:12:04 +03:00
Alexey Arno
6232e1cf9a dbms: Added stricter checkings for coordinated requests originating from shards and a more reliable cluster naming scheme. [#METR-18510] 2016-03-02 16:35:30 +03:00
Alexey Arno
6efc98d1f3 Merge 2016-03-01 20:47:53 +03:00
Alexey Milovidov
b5ac93cf0e Fixed segfault [#METR-20155]. 2016-02-25 05:37:31 +03:00
Dmitry Galuza
3dad6b6330 Add StringRef helper for WriteBuffer [#METR-19071] 2016-02-24 12:30:29 +03:00
Vladimir Chebotarev
f35f568595 dbms: Minor changes [METR-19308] 2016-02-24 10:53:04 +03:00
Alexey Milovidov
86a6884344 Merge 2016-02-23 06:21:44 +03:00
Alexey Milovidov
4c0b0e9c80 dbms: fixed error with function positionCaseInsensitiveUTF8 [#METR-20054]. 2016-02-23 06:20:48 +03:00
Vladimir Chebotarev
54b7ce5dad dbms: One more dirty hack to ensure the same size of CompressedWriteBuffer [METR-19308] 2016-02-22 00:58:08 +03:00
Alexey Milovidov
80fd8aa29b Merge 2016-02-21 23:08:41 +03:00
Alexey Milovidov
5ba1215b12 Updated comment [#METR-2944]. 2016-02-21 23:08:08 +03:00
Vladimir Chebotarev
6f0084c3a3 dbms: Dirty hack to ensure the same size of CompressedReadBufferBase [METR-19308] 2016-02-21 16:57:16 +03:00
Alexey Milovidov
aea710d430 Removed function groupUniqArray from Array argument [#METR-20150]. 2016-02-20 22:04:35 +03:00
Alexey Milovidov
a4cb6a3de9 Fixed error with groupUniqArray aggregate function of Array arguments [#METR-20150]. 2016-02-20 21:11:50 +03:00
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
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
313b0a58f5 Implemented TODO [#METR-2944]. 2016-02-17 05:38:56 +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
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
ce3f881d7a Improved performance of WriteBufferValidUTF8 [#METR-20026]. 2016-02-14 07:07:55 +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
6a2a082ea7 Added setting http_zlib_compression_level [#METR-20041]. 2016-02-12 05:26:04 +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
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
dadadf1b37 dbms: CSV format: additions [#METR-19957]. 2016-02-07 13:43: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
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
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
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
a0e7a59ab1 dbms: fixing errors with ATTACHes [#METR-19399]. 2016-01-30 05:29:20 +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
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
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 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
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 Arno
a3ea32b985 Merge 2016-01-21 19:30:05 +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
f818977092 dbms: fixed dynamic compilation [#METR-2944]. 2016-01-19 05:25:07 +03:00
Alexey Milovidov
82a96d22b1 dbms: tracking replicas delays [#METR-17573]. 2016-01-17 16:00:42 +03:00
Alexey Milovidov
d603d0a12d Merge 2016-01-17 11:12:48 +03:00
Alexey Milovidov
a30532594b dbms: fixed error [#METR-19586]. 2016-01-17 08:22:22 +03:00
Alexey Milovidov
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
81d5b9aaab Moved embedded dictionaries to dbms [#METR-17973]. 2016-01-15 05:47:19 +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
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
ab1b725779 dbms: less dependencies [#METR-2944]. 2016-01-13 03:32:59 +03:00
Alexey Milovidov
949ecc2070 dbms: optimized function pullLogsToQueue [#METR-19586]. 2016-01-12 22:45:51 +03:00
Alexey Milovidov
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
a419ce1052 Preparation to build with in-tree Poco library [#METR-19593]. 2016-01-07 22:52:21 +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
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
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
2368ac3675 dbms: fixed error with ArenaWithFreeLists; added comments; improved performance [#METR-19278]. 2015-12-27 13:58:20 +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
c483485eaf dbms: create a separate type for Tuple in Field [#METR-19265] 2015-12-25 15:06:17 +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
f1f3619df4 dbms: cancelling fetching of parts on table shutdown [#METR-19544]. 2015-12-25 00:28:18 +03:00
Alexey Milovidov
89c64fe863 dbms: removed unused field [#METR-2944]. 2015-12-24 21:35:01 +03:00
Alexey Milovidov
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
00b43c9c46 dbms: added comment [#METR-19278]. 2015-12-23 10:32:44 +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
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
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
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
9c4db62704 dbms: addition to prev. revision [#METR-16779]. 2015-12-13 15:39:06 +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
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
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
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
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
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
dc7372ab71 dbms: fixed error [#METR-19271]. 2015-12-08 04:17:57 +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
Alexey Milovidov
0d7135fcf6 dbms: fixed errors [#METR-17000]. 2015-12-06 22:42:28 +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
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
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
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
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
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
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