Commit Graph

3452 Commits

Author SHA1 Message Date
Alexey Milovidov
6584d9ca6c dbms: better [#METR-2944]. 2015-11-21 21:56:54 +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
Dmitry Galuza
65e912a05c ███████████: New fields into example [#METR-18831] 2015-11-20 00:48:17 +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
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
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
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
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
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
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
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
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
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
52a3b686cd dbms: fixed error; parsing 'ON' expression in JOINs [#METR-18692]. 2015-11-08 05:42: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 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
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 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
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 Milovidov
00ea6b6b94 dbms: ODBC: more conscious [#METR-18538]. 2015-10-31 08:48:28 +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
b13c6cdd1e dbms: fixed error [#METR-18564]. 2015-10-30 05:34:24 +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
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 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 Arno
497b9ba3c8 Merge 2015-10-24 01:43:06 +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
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
e059442193 Merge 2015-10-21 17:57:10 +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
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
5e21d6a11d dbms: implemented TODO [#METR-18472]. 2015-10-16 18:36:23 +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
caaf0235b9 dbms: Server: merged branch METR-16213 into master [#METR-16213] 2015-10-16 14:02:48 +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
b0d70b6753 dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further 2015-10-15 20:51:23 +03:00
Alexey Milovidov
fc745dbfa1 dbms: fixed error with removing temporary columns [#METR-18448]. 2015-10-15 19:10:08 +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
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
Andrey Mironov
797b947425 dbms: add concatAssumeInjective [#METR-18261] 2015-10-14 15:50:21 +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
bb283e6602 dbms: added support for different numeric types in function has [#METR-18382]. 2015-10-12 10:05:54 +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
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 Arno
e86428b4ac Merge 2015-10-08 17:23:23 +03:00
Pavel Kartavyy
2163af290a Merge 2015-10-08 16:21:23 +03:00
Alexey Milovidov
a62fdf0e24 dbms: removing temporary columns early [#METR-18361]. 2015-10-08 06:41:11 +03:00
Alexey Milovidov
9f5aa6c26e dbms: Set 'merge_tree_uniform_read_distribution' to true by default [#METR-16457]. 2015-10-08 03:09:48 +03:00
Andrey Mironov
3e3dfa0362 dbms: SSE versions for position(UTF8) [#METR-18210] 2015-10-06 18:12:45 +03:00
Pavel Kartavyy
1bf0b9841a ReadHelpers: add braces 2015-10-06 15:04:50 +03:00
Pavel Kartavyy
04dfbc5728 ReadHelpers: don't throw exception in tryReadFloatText [#METR-18288] 2015-10-06 13:40:24 +03:00
Pavel Kartavyy
7c7829051b dbms::ReadHelpers: rewrite readFloatText for better perfomance when exception happens [#METR-18288] 2015-10-05 17:28:06 +03:00
Alexey Milovidov
9facd5bc56 Removed link-time dependency [#METR-17973]. 2015-10-05 10:04:42 +03:00
Alexey Milovidov
4e75ccee03 Probably better [#METR-17973]. 2015-10-05 08:40:27 +03:00
Alexey Milovidov
baa25bf288 Addition to prev. revision [#METR-17973]. 2015-10-05 04:52:00 +03:00
Alexey Milovidov
3183deadef Moved files [#METR-17973]. 2015-10-05 04:50:42 +03:00
Alexey Milovidov
0ddb9cffdd Addition to prev. revision [#METR-17973]. 2015-10-05 04:40:00 +03:00
Alexey Milovidov
918422ad48 Moved files [#METR-17973]. 2015-10-05 04:35:28 +03:00
Alexey Milovidov
7f6bc50055 Moved files [#METR-17973]. 2015-10-05 04:31:57 +03:00
Alexey Milovidov
feec229066 Moved files [#METR-17973]. 2015-10-05 04:26:43 +03:00
Alexey Milovidov
f90c3003ea Moved files [#METR-17973]. 2015-10-05 04:11:12 +03:00
Alexey Milovidov
3a5032fd4a Moved files [#METR-17973]. 2015-10-05 03:52:29 +03:00
Alexey Milovidov
4a061b97cb Moved file [#METR-17973]. 2015-10-05 03:44:40 +03:00
Alexey Milovidov
fefd3791f1 Moved files [#METR-17973]. 2015-10-05 03:33:43 +03:00
Alexey Milovidov
0ced5b4013 dbms: improved performance of aggregation by arrays [#METR-13168]. 2015-10-04 09:51:22 +03:00
Alexey Milovidov
804216f678 dbms: added full support of GROUP BY arrays [#METR-13168]. 2015-10-04 09:10:48 +03:00
Alexey Milovidov
6546fa7dbd dbms: fixed build [#METR-17573]. 2015-10-04 06:44:58 +03:00
Alexey Milovidov
4309ccd0d6 dbms: addition to prev. revision [#METR-13168]. 2015-10-04 06:20:03 +03:00
Alexey Milovidov
733324645f dbms: aggregation by arrays: preparation [#METR-13168]. 2015-10-04 06:17:36 +03:00
Alexey Milovidov
f356545bbe dbms: allowed DROP/DETACH partition on non-leader [#METR-17573]. 2015-10-03 00:28:19 +03:00
Alexey Milovidov
b8c8662457 dbms: preparation [#METR-18167]. 2015-10-02 21:33:46 +03:00
Andrey Mironov
a18933eeb3 dbms: Volnitsky: incorporate best of SSE2 string searching into fallback algorithm [#METR-18210] 2015-10-02 17:04:33 +03:00
Alexey Arno
ddf5996c44 Merge 2015-10-01 18:10:41 +03:00
Andrey Mironov
c915538fa7 dbms: add UTF-8 and case insensitive comparison support to Volnitsky [#METR-18210] 2015-09-30 21:07:02 +03:00
Pavel Kartavyy
269b4b8155 Merge 2015-09-30 16:55:20 +03:00
Alexey Milovidov
1f6def094f dbms: fixed build [#METR-18202]. 2015-09-29 22:19:54 +03:00
Alexey Milovidov
fa252f2208 dbms: SimpleCache: better (tnx. hertz) [#METR-18213]. 2015-09-29 22:10:54 +03:00
Alexey Arno
8bdb8f93c0 Merge 2015-09-29 17:40:23 +03:00
Alexey Milovidov
fda3591d92 dbms: moved code to .cpp [#METR-18202]. 2015-09-29 17:09:01 +03:00
Alexey Milovidov
d496f6cd4e dbms: get rid of boost::property_tree [#METR-18202]. 2015-09-29 03:53:10 +03:00
Alexey Milovidov
949dfb4226 dbms: fixed build [#METR-2807]. 2015-09-27 17:28:43 +03:00
Alexey Milovidov
932a09ad6e dbms: fixed race condition in ATTACH [#METR-17573]. 2015-09-27 17:22:23 +03:00
Alexey Milovidov
87e1e69ff6 dbms: allowed to write block again after failed quorum write [#METR-16779]. 2015-09-27 13:45:49 +03:00
Alexey Milovidov
6e3394496f dbms: don't move conditions of type PKColumn IN (subquery) to PREWHERE [#METR-18198]. 2015-09-27 09:50:36 +03:00
Alexey Milovidov
d04c213b27 dbms: addition to prev. revision [#METR-18213]. 2015-09-27 05:45:55 +03:00
Alexey Milovidov
e1836a1e27 dbms: addition to prev. revision [#METR-18213]. 2015-09-27 05:40:39 +03:00
Alexey Milovidov
c1bb394e8d dbms: caching DNS requests for authentification [#METR-18213]. 2015-09-27 05:18:00 +03:00
Alexey Milovidov
b714813c76 dbms: improved startup time [#METR-18202]. 2015-09-25 21:57:17 +03:00
Andrey Mironov
8d3783153a dbms: fix Volnitsky correctness for zero-length needle 2015-09-25 18:11:12 +03:00
Andrey Mironov
07a3ea8eb1 Merge 2015-09-25 16:39:13 +03:00
Andrey Mironov
a5bf937335 Merge 2015-09-25 16:39:13 +03:00
Andrey Mironov
bd57afb76c dbms: stop reading from parts without PREWHERE prematurely by calling isCancelled() [#METR-16457] 2015-09-25 16:39:13 +03:00
Alexey Milovidov
093a8b12a7 dbms: added 'max_network_bytes' setting [#METR-18186]. 2015-09-25 15:52:47 +03:00
Alexey Milovidov
c757bf9063 dbms: setting thread names [#METR-2944]. 2015-09-24 21:54:21 +03:00
Andrey Mironov
01e767afa0 dbms: refactor, fix out of bounds access when needle is empty [#METR-16752] 2015-09-24 17:28:31 +03:00
Andrey Mironov
fd6dca0432 dbms: (lower|upper)UTF-8 refactor a bit [#METR-16752] 2015-09-24 15:58:28 +03:00
Alexey Arno
19bc3181f2 Merge 2015-09-24 15:40:36 +03:00
Andrey Mironov
90e9e8ab1a dbms: UTF-8 position function family fix for constants [#METR-16752] 2015-09-24 14:39:51 +03:00
Andrey Mironov
03e7932164 dbms: positionCaseInsensitiveUTF8 code point counting fix. [#METR-16752] 2015-09-24 12:33:28 +03:00
Alexey Milovidov
0e57c8c423 dbms: allowed to specify passwords in hashed form [#METR-18119]. 2015-09-24 10:18:05 +03:00
Alexey Milovidov
3d817fe625 dbms: lowered data size in ZK [#METR-18170]. 2015-09-24 08:47:17 +03:00
Alexey Milovidov
1481d7f293 dbms: specifying port to send queries in ZK [#METR-18167]. 2015-09-24 07:50:53 +03:00
Alexey Milovidov
a531680a92 dbms: removed most of log messages 'all_data_parts is locked' [#METR-2944]. 2015-09-24 07:13:06 +03:00
Alexey Milovidov
75a16854db dbms: moved files [#METR-2944]. 2015-09-24 06:50:09 +03:00
Alexey Milovidov
dc209def73 dbms: table system.replication_queue: development [#METR-18061]. 2015-09-24 04:18:25 +03:00
Alexey Milovidov
6af8215af5 dbms: added table system.replication_queue [#METR-18061]. 2015-09-24 03:21:02 +03:00
Andrey Mironov
2efae5a5b9 dbms: positionCaseInsensitiveUTF8 and some fixes (out of bounds access etc.) for positionCaseInsensitive. [#METR-16752] 2015-09-23 20:00:01 +03:00
Pavel Kartavyy
d1bd09246d gcc-4.9.2: compilation fix 2015-09-23 18:03:08 +03:00
Alexey Milovidov
0f8b651fe8 dbms: fixing error with 'nonincrement_block_numbers' [#METR-18139]. 2015-09-23 05:39:07 +03:00
Alexey Milovidov
ef7afd0b9a dbms: fixed dynamic compilation with clang [#METR-2944]. 2015-09-23 00:16:00 +03:00
Alexey Arno
7d52bb7ccf dbms: Server: Small code simplification. [#METR-17668] 2015-09-22 18:23:49 +03:00
Andrey Mironov
0f6c2839c2 dbms: put right brace back once again [#METR-16752] 2015-09-22 18:13:47 +03:00
Andrey Mironov
02064e1029 dbms: positionCaseInsensitive function (no tests attached yet) [#METR-16752] 2015-09-22 16:43:41 +03:00
Alexey Milovidov
926a661e38 Merge 2015-09-22 01:44:18 +03:00
Alexey Milovidov
c89541646c dbms: instrumenting replication queue [#METR-18061]. 2015-09-22 01:43:38 +03:00
Andrey Mironov
244eabb54b dbms: allow moving primary key columns to PREWHERE if the can't be used by PKCondition [#METR-18063] 2015-09-21 15:13:11 +03:00
Alexey Milovidov
6571769d3b dbms: added setting 'select_sequential_consistency' [#METR-16779]. 2015-09-20 14:54:58 +03:00
Alexey Milovidov
3b5a3e7325 dbms: quorum insert: development [#METR-16779]. 2015-09-20 14:02:59 +03:00
Alexey Milovidov
615181b3a6 dbms: added last_queue_update column to system.replicas table; clarifications [#METR-17573]. 2015-09-20 08:21:43 +03:00
Alexey Milovidov
27c1d4e807 dbms: added VerticalRaw format [#METR-17986]. 2015-09-20 07:04:52 +03:00
Alexey Milovidov
c89b063288 dbms: fixed deadlock on shutdown [#METR-18098]. 2015-09-20 07:03:53 +03:00
Alexey Milovidov
6ceb83dc7d dbms: added function formatReadableSize [#METR-16184]. 2015-09-20 05:03:12 +03:00
Alexey Milovidov
32b7fcb933 dbms: added override [#METR-2944]. 2015-09-20 04:55:29 +03:00
Alexey Milovidov
75ea48970c dbms: BackgroundProcessingPool: attempt to fix an error [#METR-18098]. 2015-09-19 10:55:01 +03:00
Alexey Milovidov
b068913aeb dbms: removed bogus messages from error log; improved diagnostics; extended system.replicas table [#METR-17573]. 2015-09-19 08:56:40 +03:00
Alexey Milovidov
5af56824f2 dbms: improved texts [#METR-17688]. 2015-09-19 00:35:35 +03:00
Alexey Arno
1cae6e8b54 Merge 2015-09-18 16:36:10 +03:00
Andrey Mironov
16be53f475 dbms: add support of non-const second arg to has, indexOf, equalCount [#METR-18062] 2015-09-18 15:40:42 +03:00
Andrey Mironov
38ae453855 Merge 2015-09-18 15:40:09 +03:00
Alexey Milovidov
a53f7473d3 dbms: removed misleading error messages about canceled merges [#METR-18087]. 2015-09-18 09:39:39 +03:00
Alexey Milovidov
5884a7b536 dbms: doing synchronous merges non-aggressively [#METR-18006]. 2015-09-18 03:48:48 +03:00
Alexey Milovidov
fa9553307e dbms: fixed error [#METR-17286]. 2015-09-18 03:46:36 +03:00
Alexey Milovidov
10b86afd3c dbms: saving create time for log entries in ZK [#METR-18085]. 2015-09-18 00:30:43 +03:00
Alexey Milovidov
43ee70e1fe dbms: fixed error [#METR-18011]. 2015-09-17 23:00:19 +03:00
Alexey Milovidov
7dfc436c83 dbms: fixed error with renaming unexpected parts [#METR-18009]. 2015-09-16 22:25:49 +03:00
Andrey Mironov
7b149be2c6 Merge 2015-09-16 20:49:08 +03:00
Andrey Mironov
9716ef7b34 Merge 2015-09-16 18:27:30 +03:00
Andrey Mironov
5ffd4898e8 Merge 2015-09-16 17:33:58 +03:00
Andrey Mironov
b6449b00f0 dbms: fix read order with merge_tree_uniform_read_distribution to be consistent with old method [#METR-16457] [#METR-18009] 2015-09-16 16:14:45 +03:00
Alexey Milovidov
fa0e61086f dbms: removed bad code [#METR-17988]. 2015-09-16 08:09:58 +03:00