Commit Graph

4126 Commits

Author SHA1 Message Date
Alexey Arno
a29d67c82d dbms: Server: Feature implementation. [#METR-16188] 2015-05-19 18:03:17 +03:00
Alexey Arno
b3418c08a2 Merge 2015-05-19 16:53:23 +03:00
Alexey Arno
2421d53033 dbms: Server: small cosmetic change. [#METR-15210] 2015-05-19 16:31:14 +03:00
Alexey Arno
8a36ba31c8 dbms: Server: small cosmetic change. [#METR-15210] 2015-05-19 16:26:23 +03:00
Alexey Arno
30eef142b3 Merge 2015-05-19 16:23:13 +03:00
Alexey Milovidov
3dfb212562 Merge 2015-05-19 00:20:43 +03:00
Alexey Milovidov
fa6a6682d3 dbms: added test [#METR-16341]. 2015-05-19 00:03:08 +03:00
Alexey Milovidov
2b12e65784 dbms: added test [#METR-16352]. 2015-05-18 23:59:40 +03:00
Alexey Milovidov
90522cb623 dbms: removed useless header [#METR-2944]. 2015-05-18 23:30:00 +03:00
Alexey Milovidov
2b762c7aa9 dbms: fixed error with StorageBuffer when destination table doesn't exist [#METR-16352]. 2015-05-18 23:28:40 +03:00
Alexey Milovidov
0f6bb584fb dbms: allowed whitespaces in column list in INSERT query [#METR-16341]. 2015-05-18 23:22:23 +03:00
Pavel Kartavyy
4dce7fb109 dbms: log number of threads in background pool 2015-05-18 17:09:05 +03:00
Pavel Kartavyy
c6e7584fbb ███████████: obtain leadership before iteration. check before commit [#METR-16024]
Signed-off-by: Pavel Kartavyy <kartavyy@yandex-team.ru>
2015-05-18 15:38:50 +03:00
Alexey Arno
5f0a1cab74 dbms: Server: Feature implementation. [#METR-16188] 2015-05-18 01:33:17 +03:00
Alexey Arno
bf6aecc826 dbms: Server: Feature implementation. [#METR-16188] 2015-05-17 20:46:21 +03:00
Alexey Milovidov
b96f132d21 dbms: fixed error with regionToContinent [#METR-2944]. 2015-05-17 02:49:13 +03:00
Alexey Milovidov
df8eefd79e dbms: tiny fixes [#METR-16266]. 2015-05-16 11:33:32 +03:00
Alexey Arno
fe3b31bd97 dbms: Server: Feature implementation. [#METR-16188] 2015-05-16 00:02:29 +03:00
Alexey Arno
3b2a84264e dbms: Server: Feature implementation. [#METR-16188] 2015-05-15 19:54:17 +03:00
Alexey Arno
b9014db828 dbms: Server: Feature implementation. [#METR-16188] 2015-05-15 18:13:59 +03:00
Alexey Arno
b0abc2dc2a dbms: Server: Feature implementation. [#METR-16188] 2015-05-15 18:01:05 +03:00
Alexey Milovidov
a66f8f99ba dbms: don't use constant columns while evaluating DISTINCT [#METR-2944]. 2015-05-15 03:20:25 +03:00
Alexey Arno
ae16cb6ac2 dbms: Server: cosmetic change. [#METR-15210] 2015-05-14 15:43:42 +03:00
Alexey Arno
897f809463 dbms: Server: cosmetic change. [#METR-15210] 2015-05-14 15:33:52 +03:00
Alexey Arno
aa6fb6b229 Merge 2015-05-14 15:08:27 +03:00
Alexey Arno
ce2abcabdd dbms: Server: In the code managing asynchronous writes, fill with zeroes the portion of the buffer that is eventually truncated in order to keep Valgrind quiet. [#METR-15090] 2015-05-14 01:17:28 +03:00
Alexey Arno
5d0e5ec60c dbms: Server: better designed initialization. Does not change anything. [#METR-15090] 2015-05-14 00:28:28 +03:00
Andrey Mironov
095fd54ae8 dbms: correctly handle injective dictGet* functions during ExpressionAnalyzer's optimizations. 2015-05-13 19:11:24 +03:00
Alexey Milovidov
b5463a887f dbms: allowed to type 'count(*)' instead of 'count()' as exception [#METR-2944]. 2015-05-13 04:19:19 +03:00
Alexey Milovidov
488343c252 dbms: fixed tiny error [#METR-10859]. 2015-05-12 23:09:18 +03:00
Alexey Milovidov
8f64441bbf dbms: added test [#METR-10872]. 2015-05-12 22:28:41 +03:00
Pavel Kartavyy
6f1f6e3d99 Merge 2015-05-12 17:44:10 +03:00
Alexey Milovidov
8a1ea8cdad dbms: disabled max_streams_to_max_threads_ratio by default [#METR-2944]. 2015-05-12 08:01:43 +03:00
Alexey Milovidov
e3b0c97b0f dbms: fixed error with merging [#METR-16247]. 2015-05-12 07:55:14 +03:00
Alexey Milovidov
566b62854b dbms: more unform distribution of work among threads (experimental) [#METR-2944]. 2015-05-11 03:11:22 +03:00
Alexey Milovidov
8ce4dac8ed dbms: fixed tiny error in rare cases [#METR-2944]. 2015-05-11 01:25:19 +03:00
Andrey Mironov
2c58c9ea50 dbms: add system.dictionaries.query_count field [#METR-
15569]
2015-05-08 15:31:34 +03:00
Pavel Kartavyy
751344d1f4 dbms: throw NetExceptions on errors with Network [#METR-15570] 2015-05-08 12:24:42 +03:00
Pavel Kartavyy
8ae0453076 dbms: removed unused exception [#METR-15570] 2015-05-08 12:24:42 +03:00
Pavel Kartavyy
8e0041e9d0 dbms: error codes - refactoring [#METR-15570] 2015-05-08 12:24:42 +03:00
Andrey Mironov
759f10aa88 dbms: add builtin_dictionaries_reload_interval to config [#METR-16143] 2015-05-07 18:06:11 +03:00
Andrey Mironov
b9b0ebb0f8 dbms: prohibit chaining of temporal conditions [#METR-16058] 2015-05-07 17:04:28 +03:00
Andrey Mironov
64dc50dfa4 dbms: implementation of temporal conditions [#METR-16058] 2015-05-07 17:04:28 +03:00
Andrey Mironov
27ebf02a8d dbms: simplify sequenceMatch prototype by appending .* before any pattern [#METR-16058] 2015-05-07 17:04:27 +03:00
Andrey Mironov
6acdcb281d dbms: sequenceMatch: remove usage of continue [#METR-16058] 2015-05-07 17:04:27 +03:00
Andrey Mironov
be67de26b5 dbms: sequenceMatch aggregate function draft, temporal conditions currently ignored [#METR-16058] 2015-05-07 17:04:27 +03:00
Alexey Arno
51711df1c0 Removed blank. [#METR-15652] 2015-05-07 15:28:41 +03:00
Alexey Arno
ac6a365ea1 Greatly simplfied code. [#METR-15652] 2015-05-07 15:28:09 +03:00
Alexey Arno
44066984cf Merge 2015-05-07 13:31:50 +03:00
Alexey Milovidov
c57063be27 Merge 2015-05-07 02:35:54 +03:00
Alexey Milovidov
a5afb7a863 dbms: cut dependency [#METR-2944]. 2015-05-07 02:35:37 +03:00
Alexey Milovidov
cebe87f321 Merge 2015-05-05 21:22:59 +03:00
Alexey Milovidov
9c99febfc3 dbms: added ProfileEvents for Compiler [#METR-16212]. 2015-05-05 18:50:20 +03:00
Alexey Milovidov
46eb776111 dbms: increased 'max_ast_elements' by default and for profile 'web' [#METRIKASUPP-5044]. 2015-05-05 17:54:14 +03:00
Alexey Arno
8ff005e909 dbms: Server: Fixed incorrect behavior with the DISTINCT keyword [#METR-14408] 2015-05-05 17:02:57 +03:00
Alexey Arno
2d8d0970ed dbms: Server: Fixed numbering. [#METR-15859] 2015-05-05 14:53:09 +03:00
Alexey Arno
6a3c429bf3 dbms: Server: Removed unneeded code. [#METR-15859] 2015-05-05 13:45:45 +03:00
Alexey Arno
550d5e9e7a dbms: Server: Fixed hostname + IP address presentation. [#METR-15859] 2015-05-05 13:13:45 +03:00
Alexey Milovidov
6ce28acc0f dbms: cut dependency [#METR-2944]. 2015-05-04 20:52:19 +03:00
Alexey Milovidov
f33943144d Revert "dbms: improvement [#METR-16164]."
This reverts commit b9f977d430df589f006d6c2bb3ffc32bc2f54a31.
2015-05-03 12:13:29 +03:00
Alexey Milovidov
310ed66b00 Revert "dbms: improvement (incomplete) [#METR-16164]."
This reverts commit 6f4f44ce7980cace32edd0913b8d1d53cd51682b.
2015-05-03 12:13:08 +03:00
Alexey Milovidov
3b5fe94b82 dbms: fixed indent [#METR-16164]. 2015-05-03 11:35:50 +03:00
Alexey Milovidov
cb562a1d97 dbms: don't calculate constant expressions for every block [#METR-16164]. 2015-05-03 11:07:31 +03:00
Alexey Milovidov
2f2c7869f6 dbms: fixed error [#METR-16164]. 2015-05-03 11:06:15 +03:00
Alexey Arno
47b9cd0dd6 dbms: Server: Small cosmetic cleanup. [#METR-15090] 2015-04-30 18:04:42 +03:00
Alexey Arno
fe683b8c78 dbms: Server: Remove unneeded event statistics. [#METR-15090] 2015-04-30 16:25:34 +03:00
Alexey Arno
14823c82a5 dbms: Server: Added comment. [#METR-15354] 2015-04-30 16:00:56 +03:00
Alexey Arno
fa78aa633f Merge 2015-04-30 15:43:16 +03:00
Alexey Milovidov
b5f1084132 dbms: improvement (incomplete) [#METR-16164]. 2015-04-30 08:45:34 +03:00
Alexey Milovidov
cb1301d3cb dbms: improvement [#METR-16164]. 2015-04-30 00:30:40 +03:00
Alexey Milovidov
685aa695bb dbms: function 'transform': added support for constant argument [#METR-15987]. 2015-04-29 04:30:44 +03:00
Alexey Milovidov
738e736500 dbms: function 'transform': development [#METR-15987]. 2015-04-28 08:21:41 +03:00
Alexey Milovidov
d371b7c843 dbms: function 'transform': development [#METR-15987]. 2015-04-28 07:47:27 +03:00
Alexey Milovidov
1e55d7aa60 dbms: removed debug output [#METR-2944]. 2015-04-28 07:37:35 +03:00
Alexey Milovidov
c89970cc01 dbms: fixed comment [#METR-2944]. 2015-04-28 07:35:54 +03:00
Alexey Milovidov
3f4f96ad7d dbms: added test for function 'transform' [#METR-15987]. 2015-04-28 06:56:23 +03:00
Alexey Milovidov
123cd3340d dbms: function 'transform': development [#METR-15987]. 2015-04-28 06:54:57 +03:00
Alexey Milovidov
5e230a6b2d dbms: function 'transform': development [#METR-15987]. 2015-04-28 06:38:41 +03:00
Alexey Arno
e596208c3b dbms: Server: Fixes. [#METR-15859] 2015-04-27 12:43:23 +03:00
Alexey Arno
5309366008 dbms: Server: Feature development. [#METR-15859] 2015-04-25 02:23:25 +03:00
Alexey Arno
7d12e18e16 dbms: Server: Feature development. [#METR-15859] 2015-04-24 19:49:32 +03:00
Alexey Arno
5463d74a84 Merge 2015-04-24 18:49:30 +03:00
Alexey Arno
93a871e60a dbms: Server: Untabified a bit. [#METR-15619] 2015-04-24 15:28:38 +03:00
Alexey Arno
e1b6730e5b Merge 2015-04-24 15:26:23 +03:00
Alexey Arno
999bc75dfe dbms: Server: Removed unneeded optimization (ii). [#METR-14408] 2015-04-23 16:16:42 +03:00
Alexey Arno
7a755007eb dbms: Server: Removed unneeded optimization. [#METR-14408] 2015-04-23 16:09:43 +03:00
Alexey Arno
a15052e0e6 Merge 2015-04-23 15:57:39 +03:00
Alexey Arno
80850909c7 Merge 2015-04-23 14:07:15 +03:00
Alexey Milovidov
2c067ad2c2 dbms: fixed error [#METR-16053]. 2015-04-23 03:20:41 +03:00
Alexey Milovidov
30c800bb69 dbms: fixed error [#METR-16053]. 2015-04-23 00:26:12 +03:00
Alexey Arno
31faf89c70 dbms: Server: Further simplified the business logic: no more calls to fcntl. [#METR-15090] 2015-04-22 19:05:48 +03:00
Andrey Mironov
2fff473759 dbms: fix deadlock in Context::getExternalDictionariesImpl with ClickhouseDictionarySource 2015-04-22 16:53:43 +03:00
Alexey Arno
cd24f85cfe dbms: Server: Reduced the number of open files. [#METR-15090] 2015-04-22 16:37:30 +03:00
Alexey Arno
543afcf58f dbms: Server: More correct logic. It does not change functionality, but it adds coherency. [#METR-14408] 2015-04-22 01:28:42 +03:00
Alexey Milovidov
b5383147c6 Update README 2015-04-21 23:44:46 +03:00
Alexey Arno
5136ffb2a6 dbms: Server: Simplified code. [#METR-14408] 2015-04-21 18:12:08 +03:00
Andrey Mironov
77b2ef6f81 Merge 2015-04-21 16:10:08 +03:00
Alexey Milovidov
4f469ea831 dbms: preparation [#METR-15418]. 2015-04-19 01:33:24 +03:00
Alexey Milovidov
9077eb4f3c dbms: preparation [#METR-15418]. 2015-04-19 01:30:43 +03:00
Alexey Milovidov
6e235bf2a7 Merge 2015-04-18 15:10:43 +03:00
Alexey Milovidov
b326ef1bc8 dbms: updated benchmark [#METR-15716]. 2015-04-18 15:08:51 +03:00
Alexey Arno
8a317f076d Merge 2015-04-17 16:56:29 +03:00
Alexey Milovidov
a2f2cc369d dbms: preparation for FULL and RIGHT JOINs [#METR-15418]. 2015-04-17 11:46:06 +03:00
Alexey Milovidov
124a12095a dbms: added support for selecting stronger compression method [#METR-15386]. 2015-04-17 08:35:53 +03:00
Alexey Arno
7d00e235ea Merge 2015-04-16 17:27:56 +03:00
Alexey Milovidov
4c703cbfd7 dbms: added profile events for AIO and ordinary IO [#METR-15090]. 2015-04-16 15:06:05 +03:00
Alexey Milovidov
a5ac7fb70c dbms: disabled direct IO by default [#METR-15090]. 2015-04-16 14:47:17 +03:00
Alexey Milovidov
b69900e6c1 dbms: added missing function [#METR-2944]. 2015-04-16 14:40:18 +03:00
Alexey Milovidov
93ae68b68d dbms: probably fixed race condition (and flapping test) with ALTER ... DETACH and merge [#METR-2944]. 2015-04-16 14:30:34 +03:00
Alexey Milovidov
4b53ad5e13 dbms: added test [#METR-15964]. 2015-04-16 13:53:51 +03:00
Alexey Milovidov
e871f4efe2 dbms: added support for arrays in tuple in NativeBlock streams [#METR-15964]. 2015-04-16 13:48:35 +03:00
Alexey Milovidov
e37e38991c dbms: added test for usage of WITH TOTALS inside JOIN [#METR-15417]. 2015-04-16 12:58:47 +03:00
Alexey Milovidov
97cbc17863 Merge 2015-04-16 12:56:29 +03:00
Alexey Milovidov
c89b7dcf92 dbms: implementation of WITH TOTALS inside JOINed subqueries [#METR-15417]. 2015-04-16 12:55:24 +03:00
Alexey Arno
ba9df3a39a dbms: Server: Correctly disconnect when exceptions occur in RemoteBlockInputStream. [#METR-15689] 2015-04-16 12:29:40 +03:00
Alexey Arno
72297de7f5 Merge 2015-04-16 11:51:03 +03:00
Alexey Milovidov
80a3021962 dbms: removed old code [#METR-2944]. 2015-04-16 10:56:43 +03:00
Alexey Milovidov
361c167d59 dbms: fixed build [#METR-2944]. 2015-04-16 10:36:38 +03:00
Alexey Milovidov
dd4cef4781 dbms: fixed build [#METR-2944]. 2015-04-16 10:32:40 +03:00
Alexey Milovidov
e4bd9b1dec dbms: cut another dependency [#METR-2944]. 2015-04-16 10:22:29 +03:00
Alexey Milovidov
402e0ee457 dbms: fixed build [#METR-2944]. 2015-04-16 09:46:18 +03:00
Alexey Milovidov
ee1b7bc617 dbms: fixed build [#METR-2944]. 2015-04-16 09:39:46 +03:00
Alexey Milovidov
114b3de689 dbms: cut dependencies [#METR-2944]. 2015-04-16 09:12:35 +03:00
Andrey Mironov
bedd5e7c26 dbms: add function URLHash plus tests [#METR-15826] 2015-04-15 18:00:28 +03:00
Alexey Arno
bc2de9a94d dbms: Server: Correctly disconnect when exceptions occur in RemoteBlockInputStream. [#METR-15689] 2015-04-15 16:23:37 +03:00
Alexey Arno
beddce0927 dbms: Server: unit tests cleanup. [#METR-15090] 2015-04-15 13:07:48 +03:00
Alexey Arno
ac1e12e8dc dbms: Server: tweaked comments. [#METR-15090] 2015-04-15 11:45:22 +03:00
Alexey Milovidov
9a2bb06823 dbms: fixed build [#METR-2944]. 2015-04-15 08:20:33 +03:00
Alexey Milovidov
3a658e4b26 dbms: fixed error with multiquery mode in Client [#METR-15975]. 2015-04-14 23:46:34 +03:00
Alexey Arno
7415b65a55 Merge 2015-04-14 18:00:57 +03:00
Alexey Milovidov
cfd2d2aad5 dbms: removed useless code [#METR-2944]. 2015-04-14 05:55:59 +03:00
Alexey Milovidov
c4ea83a906 dbms: cut dependencies [#METR-2944]. 2015-04-14 05:45:30 +03:00
Alexey Milovidov
b1603e4304 dbms: added missing file [#METR-15933]. 2015-04-14 05:11:59 +03:00
Alexey Milovidov
463526910d dbms: little better [#METR-15933]. 2015-04-14 04:39:30 +03:00
Andrey Mironov
c477f5f152 Merge 2015-04-13 16:55:39 +03:00
Andrey Mironov
620cd64569 Merge 2015-04-13 15:05:58 +03:00
Alexey Milovidov
628c32c840 dbms: using setting 'max_read_buffer_size' in Log and TinyLog tables [#METR-15090]. 2015-04-12 07:47:03 +03:00
Alexey Milovidov
cac503ff82 Merge 2015-04-12 07:39:20 +03:00
Alexey Milovidov
00305592bc dbms: addition to prev. revision [#METR-15933]. 2015-04-11 07:15:14 +03:00
Alexey Milovidov
9c4badbe39 dbms: addition to prev. revision [#METR-15934]. 2015-04-11 06:39:31 +03:00
Alexey Milovidov
d09991bd87 dbms: addition to prev. revision [#METR-15934]. 2015-04-11 06:34:37 +03:00
Alexey Milovidov
aa726b203d dbms: addition to prev. revision [#METR-15933]. 2015-04-11 06:30:54 +03:00
Alexey Milovidov
9ec393df61 dbms: better diagnostics on syntax error [#METR-15933]. 2015-04-11 06:10:23 +03:00
Alexey Milovidov
62ff76c572 Merge 2015-04-10 20:54:52 +03:00
Alexey Milovidov
794ee4baf0 dbms: added line feeds [#METR-2944]. 2015-04-10 20:54:33 +03:00
Alexey Arno
b5c1932b8c Merge 2015-04-10 20:51:39 +03:00
Andrey Mironov
26cfbd6e96 dbms: fix merge [#METR-15836] 2015-04-10 18:54:51 +03:00
Andrey Mironov
486568015e Merge 2015-04-10 18:13:26 +03:00
Andrey Mironov
3fbd84b81c dbms: make stateless test 00148 deterministic [#METR-15913]. 2015-04-10 13:14:02 +03:00
Andrey Mironov
226b11b887 dbms: fix test reference and bring commentaries up-to-date [#METR-15913]. 2015-04-10 13:02:57 +03:00