Commit Graph

4215 Commits

Author SHA1 Message Date
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
Alexey Milovidov
2161eb4c0c dbms: addition to prev. revision [#METR-15913]. 2015-04-10 03:57:42 +03:00
Alexey Milovidov
eaa412df2b dbms: added setting 'strict_insert_defaults' (incomplete) [#METR-15913]. 2015-04-10 03:43:08 +03:00
Andrey Mironov
b059495b5d Merge 2015-04-09 20:33:26 +03:00
Andrey Mironov
6cde3424bc Merge 2015-04-09 20:01:12 +03:00
Andrey Mironov
0aec8580b1 dbms: add rich commentary [#METR-15836] 2015-04-09 14:34:50 +03:00
Alexey Milovidov
7d4bf16d06 dbms: fixed Block::insertDefault method for elements of nested data structures (it is used in AddedDefaultsBlockInputStream, InterpreterInsertQuery) [#METR-15896]. 2015-04-09 05:10:06 +03:00
Alexey Milovidov
543c4c92cb dbms: removed dead code; healing corrupted nested columns [#METR-15896]. 2015-04-09 03:37:08 +03:00
Alexey Milovidov
079615d43d dbms: added test [#METR-15896]. 2015-04-09 00:27:35 +03:00
Andrey Mironov
e64fbdf250 dbms: addition to previous commit [#METR-15836] 2015-04-08 19:57:01 +03:00
Andrey Mironov
1e794acb87 Merge 2015-04-08 19:39:02 +03:00
Alexey Milovidov
c67d578e3d dbms: made multi-RENAME atomic [#METR-15843]. 2015-04-08 04:06:15 +03:00
Alexey Milovidov
50acf246aa dbms: benchmark: MemSQL: additions [#METR-15716]. 2015-04-08 04:03:41 +03:00
Alexey Milovidov
e74b56c1d7 dbms: fixed deadlock [#METR-15843]. 2015-04-08 00:24:05 +03:00
Andrey Mironov
0d49b3bde1 revert 2015-04-07 17:30:46 +03:00
Alexey Milovidov
892e51b1df dbms: benchmark: added MemSQL [#METR-15716]. 2015-04-05 05:36:47 +03:00
Alexey Milovidov
2e4e90c866 dbms: Client: added --stacktrace option, removed displaying of stack traces by default [#METR-2944]. 2015-04-03 22:06:16 +03:00
Alexey Milovidov
f1dc2f4775 dbms: fixed error [#METR-15387]. 2015-04-03 19:16:02 +03:00
Andrey Mironov
e267ba87f0 dbms: rename isNan to isNaN [#METR-15731] 2015-04-03 17:52:33 +03:00
Andrey Mironov
4ed57ac566 dbms: add functions isFinite, isInfinite, isNan [#METR-METR-15731] 2015-04-03 16:30:51 +03:00
Andrey Mironov
08ea875532 move stateful test to stateful folder 2015-04-03 16:30:51 +03:00
Andrey Mironov
63a12789e6 add reference for 00130_buffer_and_rewhere 2015-04-03 16:30:51 +03:00
Andrey Mironov
2de6e4a51b Merge 2015-04-03 13:10:38 +03:00
Alexey Milovidov
b11974f99a Merge 2015-04-03 02:58:26 +03:00
Alexey Milovidov
6a65e6702a dbms: added test [#METR-15790]. 2015-04-03 00:10:05 +03:00
Alexey Milovidov
65d88e3037 ███████████: added program to looking at solid table [#METR-15822]. 2015-04-03 00:06:23 +03:00
Andrey Mironov
9c502e55f9 print "Ready for connections" earlier 2015-04-02 19:41:07 +03:00
Andrey Mironov
ba2e06a6e6 propagate exception from dictionaries on server start, fix race condition 2015-04-02 19:37:05 +03:00
Andrey Mironov
ebd953e1b6 Merge 2015-04-02 19:37:05 +03:00
Andrey Mironov
ea9f5f2488 return old-fashioned code for calculation of total_rows 2015-04-02 12:36:40 +03:00
Alexey Milovidov
694939cee8 dbms: added test [#METR-15790]. 2015-04-02 06:32:39 +03:00
Alexey Milovidov
7b3ab80648 dbms: added test [#METR-15804]. 2015-04-02 06:29:42 +03:00
Alexey Milovidov
376087dd00 dbms: addition to prev. revision [#METR-15804]. 2015-04-02 06:19:09 +03:00
Alexey Milovidov
f6600e38d4 Merge 2015-04-02 06:17:10 +03:00
Alexey Milovidov
edf7fdc58d dbms: fixed error [#METR-15804]. 2015-04-02 06:08:43 +03:00
Andrey Mironov
6dcee7e9a5 Merge 2015-04-01 14:45:01 +03:00
Andrey Mironov
c2ba426ab7 Merge 2015-04-01 14:45:01 +03:00
Andrey Mironov
82621ca5a1 fix type in comment 2015-04-01 14:45:01 +03:00
Andrey Mironov
c707bd3bc4 dbms: add FixedString support for function toFixedString 2015-04-01 14:45:01 +03:00
Andrey Mironov
4760f61f39 Merge 2015-04-01 14:45:01 +03:00
Andrey Mironov
bdd0b60c07 dbms: support FixedString in column default expressions 2015-04-01 14:45:00 +03:00
Alexey Milovidov
b609ca6872 dbms: benchmark of Vertica: updated queries file [#METR-15716]. 2015-04-01 08:00:27 +03:00
Alexey Milovidov
666c154e5d dbms: fixed compiler, added test [#METR-2944]. 2015-04-01 07:14:15 +03:00
Alexey Milovidov
7acee77529 dbms: improved performance [#METR-15790]. 2015-04-01 05:55:52 +03:00
Alexey Milovidov
54397c6c7a dbms: added support for parsing 10-digits unix timestamp as DateTime (in addition to YYYY-MM-DD hh:mm:ss format) [#METR-15790]. 2015-04-01 00:09:19 +03:00
Alexey Milovidov
1654320fb7 dbms: updated comment [#METR-2944]. 2015-03-31 23:46:44 +03:00
Alexey Milovidov
5b4172106b Update README 2015-03-31 02:31:14 +03:00
Alexey Milovidov
a0646d83f1 dbms: benchmarks: updated [#METR-15716]. 2015-03-31 02:28:49 +03:00
Alexey Milovidov
31ea01d2ab dbms: removed old files [#METR-15716]. 2015-03-30 14:30:12 +03:00
Alexey Milovidov
03d86006b9 dbms: added new benchmark results (incomplete) [#METR-15716]. 2015-03-30 14:27:22 +03:00
Alexey Milovidov
05c426aa6b dbms: updated benchmark instructions for Vertica [#METR-15716]. 2015-03-30 08:50:13 +03:00
Alexey Milovidov
d3d3329d79 dbms: updated default setting for compiler [#METR-2944]. 2015-03-29 12:20:28 +03:00
Alexey Milovidov
be630f9fae dbms: better diagnostics of errors in TabSeparated format [#METR-15574]. 2015-03-29 12:02:24 +03:00
Alexey Milovidov
3d80f45b71 dbms: better diagnostics of errors in TabSeparated format (development) [#METR-15574]. 2015-03-29 11:44:04 +03:00
Alexey Milovidov
92c2a9ceaa dbms: better diagnostics of errors in TabSeparated format (development) [#METR-15574]. 2015-03-29 10:13:38 +03:00
Alexey Milovidov
093ba78f80 dbms: fixed Compiler [#METR-2944]. 2015-03-29 06:43:17 +03:00
Alexey Milovidov
79c6b9a204 dbms: better diagnostics [#METR-15574]. 2015-03-29 04:51:01 +03:00
Alexey Milovidov
17e285892d dbms: updated benchmark script [#METR-15716]. 2015-03-29 01:23:57 +03:00
Alexey Milovidov
1ae580dcd9 dbms: modified queries file [#METR-15716]. 2015-03-29 00:45:27 +03:00
Alexey Milovidov
dcf5ed4f54 dbms: added new benchmark script [#METR-15716]. 2015-03-28 22:58:07 +03:00
Alexey Milovidov
e72052a57d dbms: Client: added --format command line option [#METR-15716]. 2015-03-28 22:53:34 +03:00
Alexey Milovidov
369a9441ee dbms: Removed old scripts [#MTRSADMIN-1121]. 2015-03-27 22:58:35 +03:00
Alexey Milovidov
b05b41a12c dbms: Client: added --time option for benchmark [#METR-15716]. 2015-03-27 21:43:09 +03:00
Andrey Mironov
082620d054 dbms: do not attempt loading builtin dictionaries if config has no corresponding keys. [#METR-15691] 2015-03-27 18:44:52 +03:00
Andrey Mironov
edbe23ac1f dbms: add dictionaries_lazy_load config parameter, defaults to true. [#METR-15691] 2015-03-27 16:11:31 +03:00
Andrey Mironov
fed50c4702 dbms: add tryLogCurrentException overload taking a pointer to Poco::Logger 2015-03-27 16:11:31 +03:00
Alexey Arno
1c9aa586ed Merge 2015-03-27 13:51:33 +03:00
Alexey Milovidov
06c35e0faa dbms: improvement [#METR-15484]. 2015-03-27 06:37:46 +03:00
Alexey Milovidov
cfc5b313cc dbms: fixed 'force_index_by_date' setting [#METR-15484]. 2015-03-27 06:06:06 +03:00
Alexey Milovidov
048eed9424 dbms: improved performance of LIKE and regexp search [#METR-15690]. 2015-03-27 05:12:45 +03:00
Alexey Milovidov
74dc65197a dbms: tiny modification [#METR-2944]. 2015-03-27 02:51:48 +03:00
Alexey Milovidov
75dc9db388 dbms: ALTER: writing to log just before waiting for lock [#METR-2944]. 2015-03-27 02:48:50 +03:00
Alexey Milovidov
bf4bd07065 dbms: tiny modifications [#METR-2944]. 2015-03-27 02:32:16 +03:00
Andrey Mironov
72b2c63557 dbms: system.dictionaries: use ext::map for the purpose it was designed for. [#METR-15569] 2015-03-26 17:57:41 +03:00
Alexey Arno
732a80d833 dbms: Server: Fixed race condition in PoolWithFailoverBase in a more elegant way. [#METR-15531] 2015-03-26 17:53:35 +03:00
Alexey Milovidov
f3f935e3d8 dbms: toDateTime: improvement [#METR-2944]. 2015-03-26 05:54:16 +03:00
Alexey Milovidov
9cc2e52047 dbms: string search: improved performance in fallback case [#METR-15690]. 2015-03-26 03:38:17 +03:00
Alexey Arno
00ca9c9b24 Merge 2015-03-25 19:46:54 +03:00
Alexey Arno
ae5fd4dbc9 dbms: Server: feature development. [#METR-15090] 2015-03-25 19:44:30 +03:00
Alexey Arno
21259c6f3e dbms: Server: feature development. [#METR-15090] 2015-03-25 18:30:48 +03:00
Alexey Arno
8cdeeaa5a4 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:58:23 +03:00
Alexey Arno
3a2fa12708 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:44:55 +03:00
Alexey Arno
3c65c6d1c5 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:17:51 +03:00
Alexey Arno
6789e6327c dbms: Server: feature development. [#METR-15090] 2015-03-25 17:15:50 +03:00
Alexey Arno
9f6d66a285 dbms: Server: feature development. [#METR-15090] 2015-03-25 17:14:06 +03:00
Andrey Mironov
8bc12dbbe4 dbms: system.dictionaries: add brief source description. [#METR-15569] 2015-03-25 13:10:35 +03:00
Andrey Mironov
6b605d10bb dbms: correct load factor for FlatDictionary (based on capacity, not size). [#METR-15569] 2015-03-25 13:10:35 +03:00
Alexey Milovidov
380ab2dacc dbms: added (ignored) table and FROM/JOIN subquery aliases [#METR-15573]. 2015-03-25 05:49:29 +03:00
Alexey Milovidov
7c74a112a0 dbms: tiny improvement [#METR-2944]. 2015-03-25 04:45:42 +03:00
Andrey Mironov
e25783995c dbms: system.dictionaries: hit-rate, element count and load-factor. [#METR-15569] 2015-03-24 20:04:03 +03:00
Andrey Mironov
8796aa8497 dbms: HashTable: grower getBufferSizeInCells 2015-03-24 20:04:03 +03:00
Andrey Mironov
ca6f081dea dbms: system.dictionaries: provide attribute names and types[#METR-13298] 2015-03-24 20:04:03 +03:00
Pavel Kartavyy
281cd846cd Merge 2015-03-24 18:06:09 +03:00
Alexey Arno
33460bb5ea dbms: Server: feature development. [#METR-15090] 2015-03-24 17:01:53 +03:00
Andrey Mironov
f38d552844 dbms: simplify return value of IDictionary::getTypeName [#METR-13298] 2015-03-24 15:26:19 +03:00
Andrey Mironov
57e13e7d2a dbms: CacheDictionary: do not decrease bytes_allocated by 1 erroneously[#METR-13298] 2015-03-24 15:21:52 +03:00
Andrey Mironov
a892434ffa dbms: CacheDictionary: correctly decrease bytes_allocated on adding default strings. [#METR-13298] 2015-03-24 15:17:18 +03:00
Andrey Mironov
51e1ad0591 dbms: show bytes_allocated in system.dictionaries for all types of dictionaries. [#METR-13298] 2015-03-24 15:12:48 +03:00
Andrey Mironov
4b259dfc01 dbms: IDictionary::getBytesAllocated 2015-03-24 14:30:16 +03:00
Andrey Mironov
3964fc0a0d dbms: make PODArray::storage_size public 2015-03-24 14:30:02 +03:00
Alexey Arno
1d0bd25480 dbms: Server: feature development. [#METR-15090] 2015-03-24 14:05:49 +03:00
Alexey Arno
06a4b8c5f8 dbms: Server: feature development. [#METR-15090] 2015-03-24 14:03:26 +03:00
Andrey Mironov
e521611c98 dbms:dummy system.dictionaries and dictionary exception logging. [#METR-13298] 2015-03-24 12:50:39 +03:00
Alexey Milovidov
904bd9713c dbms: slightly increased default value of setting 'group_by_two_level_threshold' (it's better, but exact amount is a guess) [#METR-2944]. 2015-03-24 03:44:54 +03:00
Alexey Milovidov
b4c9ba93e8 Revert "dbms: Server: Fixed race condition in ConnectionPoolWithFailover. [#METR-15331]"
This reverts commit 209cf77fd6b2962b1996d254db802132ab2bd6f8.
2015-03-24 03:41:03 +03:00
Alexey Milovidov
cc1887f5e3 dbms: fixed error with higher than usual memory usage [#METR-15530]. 2015-03-24 03:39:30 +03:00
Andrey Mironov
cf315e35ef dbms: support non-expiring cache lines in CacheDictionary. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
006360b75a dbms: dictionaries: more meaningful exception message on null_value parsing error. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
f673cedaa3 dbms: allow <comment> node alongside <dictionary> as requested by @zurom. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
297d3263f2 dbms: PODArray::resize_fill(size_t, T): fix erroneous pointer arithmetic 2015-03-23 17:30:43 +03:00
Andrey Mironov
f321a422b7 dbms: FlatDictionary: fix off-by-one error on resize. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
33f41657df dbms: improve structure and speed of MySQLBlockInputStream. [#METR-13298] 2015-03-23 17:30:43 +03:00
Andrey Mironov
b81ef372d3 dbms: ColumnVector: add insert(T) function to avoid Field instantiation. [#METR-13298] 2015-03-23 17:30:43 +03:00
Alexey Arno
1ef29358d6 dbms: Server: feature development. [#METR-15090] 2015-03-23 12:52:13 +03:00
Alexey Arno
f97565add9 dbms: Server: feature development. [#METR-15090] 2015-03-23 12:43:06 +03:00
Pavel Kartavyy
deac97fc8d Merge 2015-03-23 12:09:25 +03:00
Pavel Kartavyy
ffff85daa4 Merge 2015-03-23 12:09:25 +03:00
Pavel Kartavyy
134ee3a779 Merge 2015-03-23 12:09:25 +03:00
Alexey Milovidov
05401b901b dbms: better exception safety [#METR-15530]. 2015-03-23 04:10:06 +03:00
Alexey Arno
efc8ee558d dbms: Server: merge from master. [#METR-15090] 2015-03-20 20:02:01 +03:00
Alexey Arno
b88431e1ad dbms: Server: feature development. [#METR-15090] 2015-03-20 19:58:57 +03:00
Alexey Arno
5a033eb724 dbms: Server: fixed issue with query cancellation. [#METR-14410] 2015-03-20 19:20:47 +03:00
Alexey Milovidov
3fe14e7b76 Merge 2015-03-20 19:14:07 +03:00
Alexey Milovidov
a399504bfa dbms: removed DROP PARTITION from unreplicated data [#METR-15375]. 2015-03-20 19:13:24 +03:00
Andrey Mironov
17da36aba2 dbms: allow using Date and DateTime with dictionaries. [#METR-13298] 2015-03-20 18:45:36 +03:00
Andrey Mironov
ba0fcc32f9 dbms: MySQLDictionarySource: safely handle empty response. [#METR-13298] 2015-03-20 18:45:36 +03:00
Andrey Mironov
47148229e0 dbms: allow DataTypeFactory to be some weird multi-instance singleton, I don't feel like modifying all the code which uses it right now 2015-03-20 18:45:36 +03:00
Andrey Mironov
8ef4f22e4c Merge 2015-03-19 18:28:08 +03:00
Alexey Arno
2ec5cd0506 dbms: Server: feature development. [#METR-15090] 2015-03-19 13:06:11 +03:00
Alexey Milovidov
593a0a8d44 dbms: fixed error [#METR-15530]. 2015-03-19 08:15:38 +03:00
Alexey Milovidov
ba5a54ef7a dbms: temporarily added aggregate function 'debug' [#METR-15530]. 2015-03-19 06:58:23 +03:00
Alexey Milovidov
6107740fc6 dbms: tiny improvement [#METR-14848]. 2015-03-18 22:17:05 +03:00
Andrey Mironov
4243f54911 dbms: support multiple dictionaries config files with glob pattern [#METR-13298] 2015-03-18 19:07:15 +03:00
Andrey Mironov
1e1a26b76f dbms: fix typo in ClickHouseDictionarySource, specify database explicitly. [#METR-13298] 2015-03-18 17:20:07 +03:00
Andrey Mironov
3b3f5b17c4 dbms: fix thread-unsafety: retain mysqlxx::Pool::Entry for the whole duration of a query. [#METR-13298] 2015-03-18 15:20:54 +03:00
Alexey Arno
b5f690dcd1 dbms: Server: Fixed race condition in ConnectionPoolWithFailover. [#METR-15331] 2015-03-18 14:28:30 +03:00
Andrey Mironov
7196d9c987 dbms: fix usage of moved-from variable, drain mysqlxx query result completely. [#METR-13298] 2015-03-18 12:58:58 +03:00
Andrey Mironov
19066a43c2 dbms: rename CacheDictionary size parameter to size_in_cells. [#METR-13298] 2015-03-18 12:57:40 +03:00
Andrey Mironov
e0199760de dbms: add dictionary name to exception message. [#METR-13298] 2015-03-18 12:55:02 +03:00
Alexey Milovidov
f4df541b99 dbms: fixed error [#METR-15530]. 2015-03-18 07:46:55 +03:00
Alexey Milovidov
8eaa75dadb dbms: logging query in one line [#METR-15530]. 2015-03-18 06:13:34 +03:00
Alexey Milovidov
ed4c4292aa dbms: fixed possible error [#METR-15530]. 2015-03-18 05:48:36 +03:00
Alexey Milovidov
77f2e60146 Merge 2015-03-18 04:48:48 +03:00
Alexey Milovidov
a73cd458c2 dbms: irrelevant fixes [#METR-15530]. 2015-03-18 04:48:15 +03:00
Alexey Milovidov
ad6ca01f87 dbms: tiny modification [#METR-2944]. 2015-03-18 00:05:03 +03:00
Andrey Mironov
92eb64e1cd dbms: add unknown exception type detection for tryLogCurrentException 2015-03-17 17:16:08 +03:00
Alexey Arno
6c3bd8759d dbms: Server: feature development. [#METR-15090] 2015-03-17 16:57:24 +03:00
Alexey Arno
f4b7889f90 dbms: Server: feature development. [#METR-15090] 2015-03-17 15:44:49 +03:00
Alexey Arno
9ab8c585ac dbms: Server: feature development. [#METR-15090] 2015-03-17 14:30:23 +03:00
Alexey Arno
53c1253ffe dbms: Server: feature development. [#METR-15090] 2015-03-17 00:39:27 +03:00
Alexey Milovidov
ed1ffd0fbf dbms: fixed exception safety [#METR-15357]. 2015-03-17 00:31:40 +03:00
Alexey Milovidov
60d76ddc48 dbms: writing stack trace in case of exception in HTTPHandler [#METR-15357]. 2015-03-17 00:28:09 +03:00
Alexey Arno
73f0eac93b dbms: Server: feature development. [#METR-15090] 2015-03-17 00:06:38 +03:00
Alexey Arno
bb1b661629 dbms: Server: feature development. [#METR-15090] 2015-03-17 00:05:44 +03:00
Alexey Arno
93ae3550c7 dbms: Server: feature development. [#METR-15090] 2015-03-17 00:00:20 +03:00
Alexey Milovidov
7431af2cf9 dbms: fixed error with exception safety [#METR-15357]. 2015-03-16 22:24:57 +03:00
Alexey Arno
ee22aac2fe dbms: Server: feature development. [#METR-15090] 2015-03-16 13:49:27 +03:00
Alexey Arno
80410ce746 dbms: Server: feature development. [#METR-15090] 2015-03-16 13:41:58 +03:00
Alexey Milovidov
e7b3884f2d dbms: fixed common misunderstanding with function toDate(UInt32) [#METR-2944]. 2015-03-16 07:44:53 +03:00
Alexey Milovidov
026670c4ec dbms: fixed error with exception safety [#METR-15451]. 2015-03-15 14:30:26 +03:00
Alexey Milovidov
0535438ea4 dbms: fixed bad code with GLOBAL operations [#METR-15144]. 2015-03-15 11:05:28 +03:00
Alexey Milovidov
d9e96ed74e dbms: fixed error with creating Set from constant columns [#METR-2944]. 2015-03-15 10:56:46 +03:00
Alexey Milovidov
97bba68642 dbms: improved test [#METR-2944]. 2015-03-15 10:40:05 +03:00
Alexey Milovidov
291d9daabf Merge 2015-03-14 05:37:53 +03:00
Alexey Milovidov
5c69667f2a dbms: different compression methods on merge: preparation [#METR-15386]. 2015-03-14 05:36:39 +03:00
Alexey Milovidov
8736053b15 dbms: additions [#METR-15484]. 2015-03-14 04:48:05 +03:00
Alexey Milovidov
0a27283081 dbms: added setting 'force_index_by_date' [#METR-15484]. 2015-03-14 04:20:10 +03:00
Alexey Milovidov
b828604a5f Merge 2015-03-14 00:31:23 +03:00
Alexey Milovidov
51f8eafc35 dbms: checking estimated query execution time [#METR-15484]. 2015-03-14 00:25:38 +03:00
Alexey Milovidov
c1ff26c7a3 dbms: tiny modifications [#METR-15484]. 2015-03-14 00:01:04 +03:00
Alexey Arno
f8cec8213d dbms: Server: Fix typo [#METR-15090] 2015-03-13 17:07:31 +03:00
Alexey Arno
b5cbb2b46c dbms: Server: Fix typo [#METR-15090] 2015-03-13 16:52:28 +03:00
Alexey Arno
241e35b424 Merge 2015-03-13 16:18:47 +03:00
Alexey Arno
9e65fb7d95 dbms: Server: feature development. [#METR-15090] 2015-03-13 16:14:31 +03:00
Alexey Arno
e20bafa7dd dbms: Server: feature development. [#METR-15090] 2015-03-13 15:27:31 +03:00
Alexey Arno
7395eff889 dbms: Server: feature development. [#METR-15090] 2015-03-13 14:46:04 +03:00
Alexey Arno
606ac0198c dbms: Server: feature development. [#METR-15090] 2015-03-13 14:22:34 +03:00
Alexey Arno
e8c2f6e7b8 dbms: Server: feature development. [#METR-15090] 2015-03-13 14:02:43 +03:00
Alexey Arno
125f837847 dbms: Server: feature development. [#METR-15090] 2015-03-12 19:22:49 +03:00
Alexey Arno
7061e302ec dbms: Server: feature development. [#METR-15090] 2015-03-12 18:38:22 +03:00
Alexey Arno
eb8a0fdc16 dbms: Server: feature development. [#METR-15090] 2015-03-12 17:09:22 +03:00
Alexey Arno
ee09fc9124 dbms: Server: feature development. [#METR-15090] 2015-03-12 15:36:18 +03:00
Alexey Milovidov
db2956eb73 dbms: removing duplicate elements from ORDER BY [#METR-2944]. 2015-03-12 06:31:15 +03:00
Alexey Milovidov
ed0bb6f3da dbms: added test [#METR-15451]. 2015-03-12 05:38:20 +03:00
Alexey Milovidov
1d7d1051a2 dbms: fixed error [#METR-15451]. 2015-03-12 05:22:55 +03:00
Alexey Milovidov
0b07103305 dbms: tiny modification [#METR-2944]. 2015-03-12 05:21:28 +03:00
Alexey Milovidov
9c9162bf94 dbms: FINAL: tiny modifications [#METR-2944]. 2015-03-12 03:01:14 +03:00
Alexey Arno
9dbbaf8c38 dbms: Server: feature development. [#METR-15090] 2015-03-11 20:27:34 +03:00
Alexey Arno
c132a7c428 dbms: Server: feature development. [#METR-15090] 2015-03-11 18:28:43 +03:00
Alexey Arno
039385df87 dbms: Server: feature development. [#METR-15090] 2015-03-11 17:47:52 +03:00
Alexey Arno
a7968c5590 dbms: Server: feature development. [#METR-15090] 2015-03-11 17:32:32 +03:00
Alexey Arno
f3b6be50e3 dbms: Server: feature development. [#METR-15090] 2015-03-11 17:02:38 +03:00
Alexey Arno
07cf0c9bc0 dbms: Server: feature development. [#METR-15090] 2015-03-11 16:51:59 +03:00
Alexey Arno
7e757377e4 dbms: Server: feature development. [#METR-15090] 2015-03-11 16:40:15 +03:00
Alexey Arno
fa73113afb dbms: Server: feature development. [#METR-15090] 2015-03-11 16:26:24 +03:00
Alexey Arno
07d52d9abd dbms: Server: feature development. [#METR-15090] 2015-03-11 16:15:19 +03:00
Alexey Arno
0f434ebd95 dbms: Server: feature development. [#METR-15090] 2015-03-11 14:45:07 +03:00
Alexey Arno
b9260807fd dbms: Server: feature development. [#METR-15090] 2015-03-11 14:31:09 +03:00
Pavel Kartavyy
78e12a7563 Connection: set separate timeout for ping [#METR-15351] 2015-03-11 14:18:36 +03:00
Pavel Kartavyy
192bbc0285 PoolWithFailover: increased error decreasing period [#METR-15351] 2015-03-11 14:18:36 +03:00
Pavel Kartavyy
3f56620685 Connection: ping can be executed as long as read/write timeout [#METR-15351] 2015-03-11 14:18:36 +03:00
Alexey Milovidov
afeba8479c dbms: added test [#METR-15371]. 2015-03-10 23:18:44 +03:00
Alexey Milovidov
ad71fa8155 dbms: fixed error [#METR-15371]. 2015-03-10 23:16:13 +03:00
Alexey Arno
fde57c1a78 dbms: Server: feature development. [#METR-15090] 2015-03-10 20:14:07 +03:00
Alexey Arno
882f902118 dbms: Server: feature development. [#METR-15090] 2015-03-10 19:34:00 +03:00
Alexey Arno
22fa97ed16 dbms: Server: feature development. [#METR-15090] 2015-03-10 18:29:31 +03:00
Alexey Arno
cfdf8fc8e8 dbms: Server: feature development. [#METR-15090] 2015-03-10 18:09:17 +03:00
Alexey Arno
87823c4de7 dbms: Server: feature development. [#METR-15090] 2015-03-10 16:16:49 +03:00
Alexey Arno
6259ad1359 dbms: Server: feature development. [#METR-15090] 2015-03-10 16:00:29 +03:00
Alexey Arno
ce0a3d0ee3 dbms: Server: feature development. [#METR-15090] 2015-03-10 14:43:30 +03:00
Alexey Milovidov
7d11fc0931 dbms: added ZSTD algorithm (experimental) [#METR-15386]. 2015-03-09 04:15:43 +03:00
Alexey Milovidov
ae4c458c5b dbms: more uniform distribution of work among threads [#METR-2944]. 2015-03-08 01:00:58 +03:00
Alexey Milovidov
b1c48ebc08 dbms: added test [#METR-15352]. 2015-03-08 00:03:54 +03:00
Alexey Milovidov
82b3fb4921 dbms: addition to prev. revision [#METR-15352]. 2015-03-07 04:10:14 +03:00
Alexey Milovidov
33f89bfdb7 dbms: fixed exception safety [#METR-15352]. 2015-03-07 04:05:06 +03:00
Alexey Milovidov
4985fb3563 dbms: fixed potential error [#METR-15352]. 2015-03-07 04:03:14 +03:00
Alexey Milovidov
7f3e70f957 dbms: fixed double free [#METR-15352]. 2015-03-07 00:07:21 +03:00
Alexey Milovidov
ad06ce22c3 Merge 2015-03-06 23:15:42 +03:00
Alexey Milovidov
1ba32c6fbb dbms: fixed one of errors [#METR-15352]. 2015-03-06 23:14:45 +03:00
Alexey Arno
2de72742ba dbms: Server: feature development. [#METR-15090] 2015-03-06 19:19:01 +03:00
Alexey Arno
4b9efbbc66 dbms: Server: feature development. [#METR-15090] 2015-03-06 19:16:10 +03:00
Andrey Mironov
c880ae8abb dbms: CacheDictionary: store values for missing ids explicitly. Store exceptions for more user-friendly error messages [#METR-13298] 2015-03-06 19:13:59 +03:00
Alexey Arno
4f0da70657 dbms: Server: feature development. [#METR-15090] 2015-03-06 18:34:42 +03:00
Alexey Arno
3459fdc01e dbms: Server: feature development. [#METR-15090] 2015-03-06 17:45:14 +03:00
Andrey Mironov
de89a0ae4a dbms: superior implementation of dictGetHierarchy [#METR-13298] 2015-03-06 16:38:07 +03:00
Alexey Arno
cdfb096f8f dbms: Server: feature development. [#METR-15090] 2015-03-06 14:08:25 +03:00
Alexey Arno
b458241ae5 dbms: Server: feature development. [#METR-15090] 2015-03-06 13:34:14 +03:00
Alexey Arno
3c8c29451b dbms: Server: feature development. [#METR-15090] 2015-03-06 13:29:58 +03:00
Alexey Milovidov
f749aa6c01 dbms: fixed errors [#METR-15352]. 2015-03-06 04:06:11 +03:00
Alexey Milovidov
2ad20a00be dbms: addition to prev. revision [#METR-2944]. 2015-03-06 03:12:08 +03:00
Alexey Milovidov
d1ca4fe4b3 dbms: RemoteBlockInputStream: more simple [#METR-15352]. 2015-03-06 03:01:59 +03:00
Alexey Arno
a733dedf97 dbms: Server: feature development. [#METR-15090] 2015-03-05 19:20:15 +03:00
Alexey Arno
380e17b899 dbms: Server: feature development. [#METR-15090] 2015-03-05 17:59:29 +03:00
Alexey Arno
905f263045 dbms: Server: feature development. [#METR-15090] 2015-03-05 17:21:55 +03:00
Alexey Arno
7cf06b3bdb dbms: Server: feature development. [#METR-15090] 2015-03-05 14:57:54 +03:00
Alexey Arno
63afb6925e dbms: Server: feature development. [#METR-15090] 2015-03-05 11:18:16 +03:00
Alexey Milovidov
df8e3fa9ec dbms: added old modifications to tests [#METR-2944]. 2015-03-05 09:00:04 +03:00
Alexey Milovidov
577a7d102d dbms: fixed leaks [#METR-15352]. 2015-03-05 08:42:42 +03:00
Alexey Milovidov
bd4b866dc8 dbms: removed unused function [#METR-15352]. 2015-03-05 07:55:55 +03:00
Alexey Arno
e6a1a112a5 dbms: Server: merge from master [#METR-15090] 2015-03-04 15:15:09 +03:00
Alexey Arno
1d14c4192e dbms: Server: feature development. Dont pay attention for now. [#METR-15090] 2015-03-04 13:47:53 +03:00
Andrey Mironov
a032d7affb dbms: dictionary sources: escape column and table names; adjust max connections; MySQL support for CacheDictionary [#METR-13298] 2015-03-04 12:36:36 +03:00
Alexey Milovidov
47287b709c dbms: added test [#METR-15293]. 2015-03-04 00:19:48 +03:00
Alexey Milovidov
4de3ba0bc6 dbms: Set: fixed error [#METR-15293]. 2015-03-04 00:11:54 +03:00
Alexey Milovidov
e1fe24793e dbms: added test [#METR-15293]. 2015-03-03 23:01:37 +03:00
Alexey Milovidov
9981a29365 dbms: fixed error with IN [#METR-15293]. 2015-03-03 23:00:39 +03:00
Andrey Mironov
f479939760 dbms: less macro code [#METR-13298] 2015-03-02 16:16:26 +03:00
Alexey Milovidov
f33348442b dbms: updated default value of setting 'optimize_min_equality_disjunction_chain_length' [#METR-2944]. 2015-03-02 08:42:02 +03:00
Alexey Milovidov
ab0e29f0f2 dbms: Set: removed special case for small sets (not worth in most cases) [#METR-2944]. 2015-03-02 08:41:21 +03:00
Alexey Milovidov
0c14504781 Fixed build [#METR-2944]. 2015-03-02 06:57:27 +03:00
Alexey Milovidov
ce58b8ad01 dbms: addition to prev. revision [#METR-2944]. 2015-03-02 04:39:42 +03:00
Alexey Milovidov
e109ac1f57 dbms: improved performance for small sets [#METR-2944]. 2015-03-02 04:11:37 +03:00
Alexey Milovidov
0828dba841 dbms: preparation [#METR-2944]. 2015-03-02 04:10:58 +03:00
Alexey Milovidov
7276d5f0e9 dbms: addition to prev. revision [#METR-2944]. 2015-03-01 04:10:52 +03:00
Alexey Milovidov
47cbeb41e5 dbms: addition to prev. revision [#METR-2944]. 2015-03-01 04:09:45 +03:00
Alexey Milovidov
eea281236d dbms: improved performance of aggregate functions argMin, argMax (about 5 times) [#METR-2944]. 2015-03-01 04:06:49 +03:00
Alexey Milovidov
91cb53f584 dbms: whitespaces [#METR-2944]. 2015-03-01 03:14:55 +03:00
Alexey Milovidov
3e1dafe3cb dbms: added test (now broken) [#METR-15167]. 2015-02-28 00:07:42 +03:00
Alexey Milovidov
6ee73f0e05 dbms: improved error messages for table function remote [#METR-15145]. 2015-02-28 00:05:56 +03:00
Alexey Milovidov
df2ccb311c dbms: report error when Buffer table refers to itself [#METR-15167]. 2015-02-27 23:39:34 +03:00
Alexey Milovidov
a321aa8108 dbms: added value 2 for setting 'readonly'; ignoring settings from remote client in readonly mode [#METR-15168]. 2015-02-27 23:35:26 +03:00
Alexey Milovidov
8cf8d2d2b7 dbms: addition to test [#METR-15181]. 2015-02-27 20:41:48 +03:00
Alexey Milovidov
82e9bd7058 dbms: added test for prev. revision [#METR-15181]. 2015-02-27 20:40:08 +03:00
Alexey Milovidov
03b1849bac dbms: added aggregate functions quantileTimingWeighted, quantilesTimingWeighted, medianTimingWeighted [#METR-15181]. 2015-02-27 20:38:21 +03:00
Andrey Mironov
c20d5338f0 dbms: StringRef operator std::string made explicit 2015-02-27 17:28:19 +03:00
Andrey Mironov
9d7fd21463 dbms:drastically improve performance by caching current time [#METR-13298] 2015-02-27 16:12:30 +03:00
Andrey Mironov
3f34c733dd dbms: refactor FlatDictionary to use tuple and less macro-code[#METR-13298] 2015-02-27 16:12:30 +03:00
Alexey Arno
ca1c0756c2 dbms: Server: further simplification of memory ordering [#METR-14410] 2015-02-27 15:00:02 +03:00
Alexey Arno
c5b61652ff Merge 2015-02-27 00:38:33 +03:00
Alexey Arno
8456db4740 dbms: Server: updated unit test [#METR-14875] 2015-02-27 00:36:21 +03:00
Alexey Arno
b22532a35a dbms: Server: updated unit test [#METR-14875] 2015-02-26 23:19:51 +03:00
Alexey Arno
09317ca19c dbms: Server: added unit test [#METR-14875] 2015-02-26 20:33:46 +03:00
Andrey Mironov
20eb5013a4 dbms: cache dictionary revamp [#METR-13298] 2015-02-26 17:53:45 +03:00
Andrey Mironov
cc6ac6b930 dbms: implicit conversion operator for StringRef to std::string 2015-02-26 17:53:45 +03:00
Andrey Mironov
70817eb5a6 dbms: move semantics for PODArray 2015-02-26 17:53:45 +03:00
Alexey Milovidov
b793248b8f dbms: fixed error [#METR-2944]. 2015-02-25 22:45:32 +03:00
Alexey Arno
bfc98adc19 dbms: Server: updated comments [#METR-14410] 2015-02-25 20:40:13 +03:00
Alexey Arno
30eee9b656 dbms: Server: fixed race conditions in ParallelReplicas [#METR-14410] 2015-02-25 20:15:31 +03:00
Alexey Arno
d96e9f3f75 dbms: Server: simplified thread-aware order of memory accesses since there are only a few stores that seldom happen [#METR-14410] 2015-02-25 17:28:42 +03:00
Alexey Arno
e4875354bb dbms: Server: simplified code and updated settings [#METR-14875] 2015-02-25 17:23:15 +03:00
Alexey Arno
83f763d927 Merge 2015-02-25 15:43:33 +03:00
Alexey Arno
7fdc23c5f2 dbms: Server: fix race conditions [#METR-14410] 2015-02-25 15:43:06 +03:00
Alexey Milovidov
6301f4cc1b dbms: benchmark: actualized [#METR-2944]. 2015-02-25 03:27:19 +03:00
Alexey Milovidov
dbca19b7bc dbms: Arena: added unused method allocContinue (was applied for experiment) [#METR-2944]. 2015-02-23 20:27:13 +03:00
Alexey Milovidov
3894c5968a dbms: addition to prev. revision [#METR-2944]. 2015-02-22 21:09:59 +03:00
Alexey Milovidov
82e782d6f9 dbms: fixed error in prev. revision [#METR-2944]. 2015-02-22 21:02:54 +03:00
Alexey Milovidov
779be55e63 dbms: added test [#METR-2944]. 2015-02-22 20:44:58 +03:00
Alexey Milovidov
dc6259d931 dbms: added aggregation method 'concat' - performance improvement in generic case [#METR-2944]. 2015-02-22 19:09:16 +03:00
Alexey Milovidov
f8f806ff58 dbms: fixed performance issue with very small blocks [#METR-2944]. 2015-02-22 18:31:39 +03:00
Alexey Milovidov
c744e73ba4 dbms: tiny modification [#METR-2944]. 2015-02-22 18:30:31 +03:00
Alexey Milovidov
e34eb1abcf dbms: addition to prev. revision [#METR-2944]. 2015-02-22 14:25:26 +03:00
Alexey Milovidov
0c144eb619 dbms: addition to prev. revision [#METR-2944]. 2015-02-22 13:53:09 +03:00
Alexey Milovidov
664d85e08f dbms: added support for value 'auto' of setting 'max_threads'; using that value by default [#METR-2944]. 2015-02-22 13:50:36 +03:00
Alexey Milovidov
2520c2e610 dbms: added small set optimization for aggregate function uniqHLL12 [#METR-2944]. 2015-02-22 10:23:37 +03:00
Alexey Milovidov
bbd48f8921 dbms: Aggregator: added specialization for many (up to 256 bit) fixed-size keys (up to 3x performance improvement) [#METR-2944]. 2015-02-22 08:53:16 +03:00
Alexey Milovidov
b6f4d3d3e8 dbms: added setting 'group_by_two_level_threshold' for fine tuning [#METR-2944]. 2015-02-22 08:51:16 +03:00
Alexey Milovidov
a838833a30 dbms: improved performance of aggregation by few fixed-size keys (up to 18%) [#METR-2944]. 2015-02-22 05:18:39 +03:00
Alexey Arno
37dee7d6ef dbms: Server: applied much better fix for instruction ordering [#METR-14410] 2015-02-21 16:59:15 +03:00
Alexey Milovidov
5070e7642d dbms: added SmallSet and SmallMap [#METR-2944]. 2015-02-21 03:28:53 +03:00
Alexey Milovidov
f7ef574ed2 dbms: improved performance of Set, Join, Distinct and arrayEnumerateUniq [#METR-2944]. 2015-02-20 22:48:52 +03:00
Alexey Arno
d4f6e1209a dbms: Server: fixed RemoteBlockInputStream destructor policy [#METR-14410] 2015-02-20 17:43:22 +03:00
Alexey Arno
6c21126a10 Merge 2015-02-20 17:29:45 +03:00
Alexey Arno
75dc809ad2 dbms: Server: simplified code [#METR-14875] 2015-02-20 17:27:05 +03:00
Alexey Arno
e4fdbdb6f8 dbms: Server: simplified code [#METR-14875] 2015-02-20 17:22:33 +03:00
Alexey Arno
025fcd815d Enforce ordering of variable assignment [#METR-14410] 2015-02-20 16:32:20 +03:00
Alexey Arno
9e44061a2f dbms: Server: cosmetic changes [#METR-14875] 2015-02-20 14:33:21 +03:00
Andrey Mironov
e175883dd3 dbms: remove redundant checks in FunctionDictIsIn. [#METR-13298] 2015-02-20 13:57:38 +03:00
Alexey Arno
ef13e0203e dbms: Server: cosmetic changes [#METR-14875] 2015-02-20 13:53:26 +03:00
Alexey Arno
64c8535382 dbms: Server: performance optimization [#METR-14875] 2015-02-20 13:37:55 +03:00
Andrey Mironov
57abed9773 dbms: check argument count for *If aggregate functions. [#METR-15164] 2015-02-19 19:27:19 +03:00
Andrey Mironov
7dd6397245 dbms: alter appendTrailingCharIfAbsent behaviour [#METR-15071] 2015-02-19 18:28:24 +03:00
Andrey Mironov
cf8a927150 dbms: invert the way multiple values are acquired from the dictionary [#METR-13298] 2015-02-19 18:28:24 +03:00