Commit Graph

5723 Commits

Author SHA1 Message Date
Alexey Milovidov
9fdec4bcd2 dbms: ODBC: development [#METR-18538]. 2015-10-25 07:53:30 +03:00
Alexey Milovidov
3a2a7a2e17 dbms: ODBC: development [#METR-18538]. 2015-10-25 07:45:02 +03:00
Alexey Milovidov
1bf1883c87 dbms: ODBC: just "connecting" [#METR-18538]. 2015-10-25 03:47:15 +03:00
Alexey Milovidov
c42ad08ff0 dbms: added ODBC driver stub [#METR-18538]. 2015-10-24 22:12:37 +03:00
Alexey Arno
497b9ba3c8 Merge 2015-10-24 01:43:06 +03:00
Alexey Milovidov
6affd9f342 dbms: fixed error with ARRAY JOIN, ORDER BY and LIMIT when no aggregation and joined arrays is not used before ORDER BY [#METR-18534]. 2015-10-23 22:05:21 +03:00
Alexey Milovidov
d2ba5e1afe dbms: updated test result (meaningless values was changed) [#METR-17109]. 2015-10-23 20:21:26 +03:00
Alexey Milovidov
09e3e62539 Merge 2015-10-23 04:44:50 +03:00
Alexey Milovidov
5cd5c0dde5 dbms: using 'max_rows_to_group_by' limit while merging aggregate states (in certain cases) [#METR-18507]. 2015-10-23 04:43:42 +03:00
Alexey Milovidov
6f00b5949c dbms: fixed ARRAY JOIN when joined array is not used, but original is used [#METR-18406]. 2015-10-22 23:56:52 +03:00
Alexey Arno
33650462c2 Merge 2015-10-22 18:31:42 +03:00
Alexey Milovidov
90ff83b1ba dbms: using max_rows_to_group_by limit while merging aggregate states (incomplete) [#METR-18507]. 2015-10-22 04:44:33 +03:00
Alexey Milovidov
9b0da24558 dbms: allowed to GROUP BY constants with no aggregates [#METR-18298]. 2015-10-22 00:43:42 +03:00
Alexey Milovidov
7fcae3dddd dbms: allowed to parse unix timestamp as DateTime for small unix timestamps [#METR-15790]. 2015-10-21 22:04:02 +03:00
Alexey Arno
fbe7b48dc9 dbms: Server: Code cleanup [#METR-16213] 2015-10-21 18:04:20 +03:00
Alexey Arno
e059442193 Merge 2015-10-21 17:57:10 +03:00
Andrey Mironov
d2188a1183 dbms: alter: allow altering between any default types. [#METR-18221]
add commentary about altering to FixedString(N) columns with existing files
2015-10-21 17:54:13 +03:00
Andrey Mironov
8242d24d1d dbms: fix alters involving FixedString columns and defaults [#METR-18221] 2015-10-21 17:54:13 +03:00
Alexey Arno
2660fbaa21 dbms: Server: merged branch METR-16213 into master 2015-10-20 17:59:29 +03:00
Alexey Milovidov
7600d9135a dbms: added support for array argument for function reverse [#METR-18022]. 2015-10-20 00:07:24 +03:00
Alexey Milovidov
a552f7b723 dbms: added function arrayStringConcat [#METR-18022]. 2015-10-19 21:49:52 +03:00
Alexey Milovidov
ea567490b6 dbms: fixed (falsely broken) test [#METR-18490]. 2015-10-19 18:56:33 +03:00
Alexey Milovidov
1eaa3cb309 dbms: implemented method getExtremes for ColumnTuple [#METR-18474]. 2015-10-16 23:32:44 +03:00
Alexey Milovidov
d5e8f3e427 dbms: attempt to fix memory usage [#METR-18456]. 2015-10-16 20:27:11 +03:00
Alexey Milovidov
203beb9621 dbms: caching DNS for table function 'remote' [#METR-18472]. 2015-10-16 19:10:10 +03:00
Alexey Milovidov
9b15c2e0f1 Merge 2015-10-16 18:36:43 +03:00
Alexey Milovidov
5e21d6a11d dbms: implemented TODO [#METR-18472]. 2015-10-16 18:36:23 +03:00
Alexey Arno
a5c49720fc Merge 2015-10-16 18:00:50 +03:00
Andrey Mironov
4195842841 dbms: add ext::identity and ext::collection_cast, use in ITableDeclaration 2015-10-16 14:44:44 +03:00
Alexey Arno
ce93036534 dbms: Server: Fixed comment typo. [#METR-16213] 2015-10-16 14:25:29 +03:00
Alexey Arno
caaf0235b9 dbms: Server: merged branch METR-16213 into master [#METR-16213] 2015-10-16 14:02:48 +03:00
Alexey Milovidov
9bf8199cae Merge 2015-10-15 22:42:06 +03:00
Alexey Milovidov
5249748571 dbms: fixed memory usage when using distributed_aggregation_memory_efficient [#METR-18456]. 2015-10-15 22:41:32 +03:00
Andrey Mironov
3b879c444d dbms: simplify ITableDeclaration::getColumnsList 2015-10-15 20:58:28 +03:00
Andrey Mironov
b0d70b6753 dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further 2015-10-15 20:51:23 +03:00
Andrey Mironov
ecf917de65 dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further 2015-10-15 19:50:10 +03:00
Alexey Milovidov
fc745dbfa1 dbms: fixed error with removing temporary columns [#METR-18448]. 2015-10-15 19:10:08 +03:00
Alexey Arno
3d7a3bcd92 dbms: Server: Fixed typo in comment. [#METR-18155] 2015-10-15 16:07:35 +03:00
Andrey Mironov
a4657df04e dbms: move Volnitsky to DB namespace 2015-10-15 16:05:27 +03:00
Andrey Mironov
6a4a1887a8 dbms: DB::UTF8::syncForward remove default parameter value 2015-10-15 15:55:34 +03:00
Andrey Mironov
39189f48d3 dbms: UTF8Helpers.h: make all functions inline 2015-10-15 15:54:33 +03:00
Andrey Mironov
53a251d1f5 dbms: ext.hpp include fix 2015-10-15 15:40:17 +03:00
Alexey Arno
66c46b1a49 dbms: Server: Fixed inverted columns. [#METR-16213] 2015-10-15 15:16:04 +03:00
Andrey Mironov
97ca8e5945 Merge 2015-10-15 14:36:39 +03:00
Andrey Mironov
e4f0f59742 dbms: fix unsigned vs signed comparison [#METR-18210] 2015-10-15 14:17:02 +03:00
Alexey Arno
f4d2d42ea8 dbms: Server: Fixed bug in query analysis ordering. [#METR-18155] 2015-10-15 14:07:39 +03:00
Andrey Mironov
797b947425 dbms: add concatAssumeInjective [#METR-18261] 2015-10-14 15:50:21 +03:00
Alexey Arno
be68994963 dbms: Server: Compilation fix for benchmark. [#METR-16213] 2015-10-14 15:19:55 +03:00
Andrey Mironov
957c8ecafe dbms: refactor position function family, remove debug versions. [#METR-18210] 2015-10-14 15:12:56 +03:00
Pavel Kartavyy
3069d6fe8f Merge 2015-10-14 14:58:16 +03:00
Andrey Mironov
4355b32890 dbms: external dictionaries: store null_values in sample_block, use them instead of IColumn::insertDefault for MySQL and MongoDB [#METR-17854] 2015-10-13 18:38:22 +03:00
Pavel Kartavyy
c469b726c1 Merge 2015-10-13 15:38:38 +03:00
Andrey Mironov
dd45d300bf Merge 2015-10-13 15:17:23 +03:00
Andrey Mironov
1657e38c97 dbms: prefer static version of boost_regex, add support for loading specific ids with MongoDBDictionarySource [#METR-17854] 2015-10-13 15:17:09 +03:00
Andrey Mironov
a36436a64b Revert "dbms: temporarily disabled MongoDB dictionary source (to enable automatic builds) [#METR-17854]."
This reverts commit 7060e5a7c839040ff23aebd160e0a1d088778fa7.
2015-10-13 13:20:48 +03:00
Alexey Arno
0f923131c6 dbms: Server: Removed unused header include. [#METR-16213] 2015-10-12 18:10:08 +03:00
Alexey Arno
abcf2ebc75 dbms: Server: Updated comment. [#METR-16213] 2015-10-12 18:05:30 +03:00
Alexey Arno
5f17c9d55d Merge 2015-10-12 17:53:16 +03:00
Andrey Mironov
7c64c3dc30 Merge 2015-10-12 13:23:31 +03:00
Andrey Mironov
e28dca4d4d dbms: add MongoDBBlockInputStream commentary [#METR-17854] 2015-10-12 13:22:16 +03:00
Alexey Milovidov
7f06d70d45 dbms: added test [#METR-18382]. 2015-10-12 10:15:57 +03:00
Alexey Milovidov
bb283e6602 dbms: added support for different numeric types in function has [#METR-18382]. 2015-10-12 10:05:54 +03:00
Alexey Milovidov
d12532e7b1 dbms: fixed error [#METR-18382]. 2015-10-12 07:27:02 +03:00
Alexey Milovidov
cbaaa0a4d7 dbms: addition to prev. revision [#METR-18149]. 2015-10-12 04:43:58 +03:00
Alexey Milovidov
4201a685b5 dbms: added support of tuple arguments to comparison functions [#METR-18149]. 2015-10-12 04:42:47 +03:00
Alexey Milovidov
8ab8ab5a2b dbms: added 'override' to functions [#METR-18149]. 2015-10-12 02:36:45 +03:00
Alexey Milovidov
ff06c18850 dbms: fixed error with 'replace' functions [#METR-18401]. 2015-10-11 07:25:02 +03:00
Alexey Milovidov
62061c3969 dbms: temporarily disabled MongoDB dictionary source (to enable automatic builds) [#METR-17854]. 2015-10-11 04:08:39 +03:00
Alexey Milovidov
31e94fb6cb dbms: OLAP compatibility: fixed error for ███████████.yandex-team.ru [#METR-17929]. 2015-10-09 23:22:33 +03:00
Alexey Milovidov
3733ac9ead dbms: fixed comment [#METR-17854]. 2015-10-09 23:21:20 +03:00
Andrey Mironov
d5caf72ca7 Merge 2015-10-09 17:52:45 +03:00
Andrey Mironov
4e66eb2884 Merge 2015-10-09 17:51:57 +03:00
Andrey Mironov
8e4f30fff0 dbms: MongoDB dictionary source draft (actually it works, but there are some improvements to be made) [#METR-17854] 2015-10-09 17:51:31 +03:00
Alexey Milovidov
75c6e83b71 dbms: added test [#METR-18382]. 2015-10-09 00:29:17 +03:00
Alexey Milovidov
a7fc2040d9 dbms: handling of compatible types in IN section with explicitly provided set [#METR-18382]. 2015-10-09 00:22:49 +03:00
Alexey Milovidov
0a7b4dd536 dbms: fixed little error [#METR-16457]. 2015-10-08 23:01:09 +03:00
Alexey Milovidov
e118d055da dbms: fixed error with OLAP compatibility layer [#METR-17929]. 2015-10-08 22:00:50 +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
a2e53d50ec dbms: addition to prev. revision [#METR-18361]. 2015-10-08 06:49:04 +03:00
Alexey Milovidov
dca0bb0a45 dbms: added test [#METR-18361]. 2015-10-08 06:45:17 +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
Alexey Milovidov
382d73270b dbms: Better exception message [#METR-18306]. 2015-10-06 23:03:10 +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
Pavel Kartavyy
7b308a8153 dbms: add read_float_perf test. On common data new version if 2 times slower [#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
687958aa0b Addition [#METR-17973]. 2015-10-05 09:12:54 +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
49852e67fb dbms: added tests [#METR-13168]. 2015-10-04 09:25:33 +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
058e5e8de7 dbms: addition to prev. revision [#METR-13168]. 2015-10-04 06:41:00 +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
51cdac107b dbms: tests: removed executable flag on few files [#METR-2944]. 2015-10-02 23:45:43 +03:00
Alexey Milovidov
b8c8662457 dbms: preparation [#METR-18167]. 2015-10-02 21:33:46 +03:00
Alexey Milovidov
fba839199a dbms: limited queries to OLAP compatibility layer [#METR-18008]. 2015-10-02 21:02:56 +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
3ab5226a56 dbms: Server: Fixed typo in comment. [#METR-17506] 2015-10-01 18:14:39 +03:00
Alexey Arno
ddf5996c44 Merge 2015-10-01 18:10:41 +03:00
Alexey Arno
700e545ebf dbms: Server: Fixed reference file for functional test. [#METR-18059] 2015-10-01 12:03:14 +03:00
Alexey Milovidov
d339ad0048 Merge 2015-10-01 06:30:50 +03:00
Alexey Milovidov
f725116826 dbms: fixed error [#METR-18249] [#METR-17924]. 2015-10-01 04:35:18 +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
Andrey Mironov
dc087ac04d dbms: rename test 00234 to 00235[#METR-18251] 2015-09-30 16:57:40 +03:00
Andrey Mironov
b8e3d35f92 dbms: add test [#METR-18251] 2015-09-30 16:56:58 +03:00
Pavel Kartavyy
269b4b8155 Merge 2015-09-30 16:55:20 +03:00
Alexey Arno
3a8d096be2 dbms: Server: Added functional test + comment. [#METR-18059] 2015-09-30 16:43:25 +03:00
Andrey Mironov
e42022adce dbms: allow CREATE TEMPORARY TABLE AS [#METR-18251] 2015-09-30 16:35:32 +03:00
Alexey Milovidov
7ea5da8b53 dbms: test: increased padding [#METR-2944]. 2015-09-30 02:58:26 +03:00
Alexey Milovidov
28f67084a4 Merge 2015-09-30 01:31:22 +03:00
Alexey Milovidov
9be353dd28 dbms: added old modification [#METR-2944]. 2015-09-30 01:30:59 +03:00
Alexey Milovidov
bfce8aee43 dbms: fixed error with Throttler (incomplete) [#METR-18233]. 2015-09-30 00:16:16 +03:00
Alexey Milovidov
914067c861 dbms: fixed error [#METR-18202]. 2015-09-29 23:47:15 +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
003cc854fd dbms: changed 'at most' to 'at least' for rows to read when specifying absolute SAMPLE size [#METRIKASUPP-5748]. 2015-09-28 22:10:07 +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
e96705ed44 dbms: fixed error [#METR-16779]. 2015-09-27 16:45:20 +03:00
Alexey Milovidov
88f8d02ae7 dbms: fixed error [#METR-16779]. 2015-09-27 16:35:14 +03:00
Alexey Milovidov
9a4a46af9b dbms: fixed error [#METR-16779]. 2015-09-27 16:03:41 +03:00
Alexey Milovidov
1a2f063fc8 dbms: addition to prev. revision [#METR-16779]. 2015-09-27 15:52:58 +03:00
Alexey Milovidov
9025f88561 dbms: fixed error [#METR-18061]. 2015-09-27 15:34:32 +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
3979b2aa49 dbms: don't use unreplicated data if there are no parts [#METR-18198]. 2015-09-27 10:11:00 +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
b06032a322 dbms: fixed error in prev. revision [#METR-18202]. 2015-09-26 04:42:32 +03:00
Alexey Milovidov
555ad5ac3f dbms: parallel loading of tables [#METR-18202]. 2015-09-26 04:02:07 +03:00
Alexey Milovidov
b714813c76 dbms: improved startup time [#METR-18202]. 2015-09-25 21:57:17 +03:00
Alexey Milovidov
642584e0c8 dbms: explicitly allowed / and /ping URIs for health checks [#METR-18208]. 2015-09-25 19:28:17 +03:00
Alexey Milovidov
fa1e2cc70f dbms: support for HEAD method in /ping [#METR-18208]. 2015-09-25 18:54:54 +03:00
Andrey Mironov
04b0f73c86 dbms: add test for position function family [#METR-16752] 2015-09-25 18:38:31 +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
d86761f504 dbms: fixed error with 'max_concurrent_queries_for_user' setting in distributed queries [#METR-17965]. 2015-09-25 15:47:33 +03:00
Andrey Mironov
efc1f35c21 dbms: fix reverse order of ranges for FINAL with merge_tree_uniform_read_distribution = 1 [#METR-16457] 2015-09-25 14:35:58 +03:00
Alexey Milovidov
1a16709162 dbms: fixed error [#METR-18170]. 2015-09-25 10:51:00 +03:00
Alexey Milovidov
056f792a1b dbms: little better [#METR-18133]. 2015-09-24 22:33:16 +03:00
Alexey Milovidov
8584faf609 dbms: don't log internal queries [#METR-18133]. 2015-09-24 22:25:18 +03:00
Alexey Milovidov
7989024c76 dbms: addition to prev. revision [#METR-2944]. 2015-09-24 22:14:43 +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
fb654a1255 Merge 2015-09-24 10:39:47 +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
07b34aa432 dbms: fixed build [#METR-2944]. 2015-09-24 10:03:20 +03:00
Alexey Milovidov
a3e706ead8 dbms: fixed error [#METR-18167]. 2015-09-24 09:20:50 +03:00
Alexey Milovidov
3d817fe625 dbms: lowered data size in ZK [#METR-18170]. 2015-09-24 08:47:17 +03:00
Alexey Milovidov
6fc99c48e1 dbms: better [#METR-2944]. 2015-09-24 07:52:02 +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
7784606c6a dbms: addition to prev. revision [#METR-2944]. 2015-09-24 07:14:35 +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
f8d94fcbd9 dbms: just-written parts does not participate in sanity check [#METR-18169]. 2015-09-24 04:17:10 +03:00
Alexey Milovidov
a840af70ab dbms: addition to prev. revision [#METR-18061]. 2015-09-24 03:31:47 +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
666a33e435 dbms: add try-catch around reloadFromFile in ExternalDictionaries.cpp [#METR-18128] 2015-09-22 18:15:19 +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
Alexey Milovidov
5df201add2 dbms: clarification [#METR-2944]. 2015-09-22 01:33:20 +03:00
Alexey Milovidov
1799be41ec dbms: removed obsolete test [#METR-2944]. 2015-09-21 23:51:24 +03:00
Alexey Milovidov
4e28608077 dbms: fixed error [#METR-16779]. 2015-09-21 21:47:46 +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
726443131b dbms: addition to prev. revision [#METR-16779]. 2015-09-20 15:25:10 +03:00
Alexey Milovidov
4047e4ed5b dbms: tiny modification [#METR-2944]. 2015-09-20 14:56:14 +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
dcf40ef7c8 dbms: addition [#METR-17573]. 2015-09-20 09:40:17 +03:00
Alexey Milovidov
a78ac9c6ee dbms: addition to prev. revision [#METR-18099]. 2015-09-20 09:35:28 +03:00
Alexey Milovidov
b14bbf3928 Merge 2015-09-20 09:31:19 +03:00
Alexey Milovidov
227b41b0eb dbms: set queue entry time when cloning replica or repairing missing or damaged parts [#METR-18085]. 2015-09-20 08:50:15 +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
69b1789b83 dbms: added test [#METR-16184]. 2015-09-20 07:14:15 +03:00
Alexey Milovidov
311c9b2f39 dbms: added test [#METR-17986]. 2015-09-20 07:09:21 +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
72a964d865 dbms: fixed test [#METR-17536]. 2015-09-19 12:44:02 +03:00
Alexey Milovidov
3ea789e23f dbms: fixed log message [#METR-2944]. 2015-09-19 11:19:25 +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
9958e569b7 dbms: Server: Compilation fix for some older versions of g++. [#METR-17668] 2015-09-18 18:53:48 +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
Andrey Mironov
9b9e5bedf4 dbms: redesign stateless test 00229 2015-09-18 13:02:22 +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
7a7a2ac6e0 dbms: attempt to fix an error (incomplete) [#METR-17286]. 2015-09-18 00:31:26 +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
51b2951d62 dbms: fixed error [#METR-18011]. 2015-09-17 23:00:38 +03:00
Alexey Milovidov
43ee70e1fe dbms: fixed error [#METR-18011]. 2015-09-17 23:00:19 +03:00
Alexey Milovidov
662471de29 dbms: ParallelReplicas: fixed error [#METR-18011]. 2015-09-17 22:53:57 +03:00
Alexey Milovidov
b0b44b1565 dbms: removing old queue entries: continue development [#METR-18035]. 2015-09-17 00:12:59 +03:00
Alexey Milovidov
13112cc66e dbms: better [#METR-18035]. 2015-09-16 23:40:01 +03:00
Alexey Milovidov
cf7d220f10 dbms: fixed error [#METR-18035]. 2015-09-16 23:38:50 +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
fd60ee37d3 dbms: add 'zookeeper' substring to test 226 2015-09-16 18:48:39 +03:00
Andrey Mironov
c6ec4f9ff5 dbms:: add test for missing column in PREWHERE [#METR-18009] 2015-09-16 18:33:58 +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
Andrey Mironov
b3db6a06fc dbms: fix for non-final select just in case [#METR-16457] 2015-09-16 15:15:25 +03:00
Andrey Mironov
55087bddc7 dbms: fix segfault when SELECT FINAL selects zero parts[#METR-16457] 2015-09-16 14:49:09 +03:00
Alexey Milovidov
fa0e61086f dbms: removed bad code [#METR-17988]. 2015-09-16 08:09:58 +03:00
Alexey Milovidov
200742d632 Merge 2015-09-16 07:18:52 +03:00
Alexey Milovidov
d51404633b dbms: fixed error [#METR-16457]. 2015-09-16 07:18:16 +03:00
Alexey Milovidov
94d6d70310 Revert "dbms: fix filter size mismatch with size of column [#METR-18009]"
This reverts commit a8da5e498cd9744189c9600d062e82a6fd334609.
2015-09-16 05:02:22 +03:00
Andrey Mironov
0922693bf0 dbms: fix filter size mismatch with size of column [#METR-18009] 2015-09-15 20:45:39 +03:00
Alexey Milovidov
d829d9fe10 dbms: clearing impossible queue entries: development [#METR-18035]. 2015-09-15 04:55:22 +03:00
Alexey Milovidov
23a11f19c7 dbms: clearing impossible entries from replication queue [#METR-18035]. 2015-09-15 04:20:40 +03:00
Alexey Milovidov
7f2a6d8ee0 Merge 2015-09-15 01:50:06 +03:00
Alexey Milovidov
0743a87ebd dbms: clearing impossible entries from replication queue [#METR-18035]. 2015-09-15 01:45:19 +03:00
Alexey Milovidov
9e8b28131e dbms: fixed error [#METR-17536]. 2015-09-15 00:09:33 +03:00
Andrey Mironov
2318e27485 Merge 2015-09-14 23:03:54 +03:00
Andrey Mironov
8022f0941e dbms: add refernce file for test 00228_quantiles_deterministic_merge_overflow 2015-09-14 13:06:08 +03:00
Pavel Kartavyy
44c810b228 ███████████: split ClickHouse query to several sub queries [#METR-17968] 2015-09-14 11:50:35 +03:00
Alexey Milovidov
6ffb49fbe4 dbms: fixed progress bar for subqueries in IN and JOIN [#METR-18025]. 2015-09-14 05:39:54 +03:00
Alexey Milovidov
8e23685201 dbms: allowed tuples with one element; allowed empty sets [#METR-18020]. 2015-09-11 23:58:44 +03:00
Alexey Milovidov
5b68045461 dbms: removed limit for at least two elements in tuple [#METR-18020]. 2015-09-11 23:27:01 +03:00
Andrey Mironov
739a3dae8b Merge 2015-09-11 18:11:41 +03:00
Andrey Mironov
9f32c9b9cf dbms:investigation [#METR-16938] 2015-09-11 18:11:41 +03:00
Andrey Mironov
be230b1859 dbms: ReservoirSamplerDeterministic make internal member function private 2015-09-11 11:27:00 +03:00
Alexey Milovidov
15a6ac31f4 dbms: quorum inserts: development [#METR-16779]. 2015-09-11 05:51:35 +03:00
Alexey Milovidov
d53f173478 dbms: quorum inserts: development [#METR-16779]. 2015-09-11 05:13:59 +03:00
Alexey Milovidov
f395a408ef dbms: fixed error [#METR-16779]. 2015-09-11 00:36:48 +03:00
Alexey Milovidov
3b6ef8b28c dbms: quorum inserts: development [#METR-16779]. 2015-09-11 00:32:33 +03:00
Alexey Milovidov
a26a43fcc0 dbms: quorum inserts: development [#METR-16779]. 2015-09-10 23:43:42 +03:00
Alexey Milovidov
5bb64243b7 dbms: fixed tiny error with query_log [#METR-18008]. 2015-09-10 22:23:15 +03:00
Andrey Mironov
484c354d93 dbms: add test for quantileDeterministic overflow [#METR-13932] 2015-09-10 19:29:13 +03:00
Andrey Mironov
cb78c88e34 dbms: add test for quantilesTiming order fix [#METR-14503] 2015-09-10 19:29:13 +03:00
Andrey Mironov
61988e6a37 dbms: fix quantileDeterministic (no hash was saved with samples) [#METR-13932] 2015-09-10 18:07:47 +03:00
Alexey Milovidov
540c411aa8 dbms: fixed error [#METR-17536]. 2015-09-10 04:58:37 +03:00
Alexey Milovidov
217ef544c2 dbms: fixed error [#METR-17536]. 2015-09-10 00:32:29 +03:00
Alexey Milovidov
b34d3366fd dbms: added test [#METR-17988]. 2015-09-09 22:33:24 +03:00
Alexey Milovidov
ec2151e646 dbms: removing deduplicated parts immediately [#METR-17988]. 2015-09-09 22:03:46 +03:00
Alexey Milovidov
f6cfc72000 dbms: addition to prev. revision [#METR-16779]. 2015-09-09 21:34:58 +03:00
Alexey Milovidov
53967b5c85 Merge 2015-09-09 21:16:09 +03:00
Alexey Milovidov
aaa70348af dbms: quorum inserts: development [#METR-16779]. 2015-09-09 21:15:36 +03:00
Andrey Mironov
5caf4e401f dbms: style corrections and comments [#METR-16457] 2015-09-09 20:46:56 +03:00
Alexey Milovidov
47f291d721 dbms: fixed error with MemoryTracker in synchronous loading of external dictionaries [#METR-17969]. 2015-09-09 03:54:17 +03:00
Alexey Milovidov
4e54056c66 dbms: allowed to specify duplicate columns in JOIN subquery [#METR-17664]. 2015-09-09 03:52:35 +03:00
Alexey Arno
64d47f35df dbms: Server: Fixed possible cyclic dependencies. [#METR-14099] 2015-09-09 01:13:43 +03:00
Alexey Milovidov
0ca77545b2 dbms: added setting 'max_concurrent_queries_for_user' [#METR-17965]. 2015-09-09 00:01:43 +03:00
Alexey Milovidov
a3588ad5ff dbms: updated test [#METR-17536]. 2015-09-08 23:20:39 +03:00
Alexey Milovidov
a476396e70 dbms: fixed error [#METR-17536]. 2015-09-08 23:19:30 +03:00
Alexey Milovidov
50690565c1 dbms: improvement [#METR-17536]. 2015-09-08 22:53:16 +03:00
Pavel Kartavyy
aee3f9a868 ███████████: add state descriptor to task [#METR-16142] 2015-09-08 17:24:25 +03:00
Alexey Arno
9656f0799b Merge 2015-09-08 13:27:34 +03:00
Andrey Mironov
0bcf25e518 dbms: naive implementation of non-const array() function for now[#METR-17948] 2015-09-08 12:38:45 +03:00
Andrey Mironov
43b0e8a46c dbms: working out array() non-const implementation [#METR-17948] 2015-09-08 12:38:44 +03:00
Andrey Mironov
aa68fd2aec dbms: add expression support for id, range_min and range_max [#METR-17888]
Fix type-checking of range_hashed dictionary with mysql as a source.
Parenthesise all expressions to avoid errors.
2015-09-08 12:38:44 +03:00
Alexey Arno
38fc81074f Merge 2015-09-08 12:16:15 +03:00
Alexey Arno
0f5b2097f0 dbms: Server: Updated functional test. [#METR-17276] 2015-09-08 12:15:32 +03:00
Alexey Milovidov
690237d800 dbms: fixed test [#METR-17536]. 2015-09-08 03:50:15 +03:00
Alexey Milovidov
fb04cf1a99 dbms: added comment [#METR-17536]. 2015-09-08 00:20:28 +03:00
Alexey Milovidov
9f3cab500d dbms: memory efficient distributed aggregation: development [#METR-17536]. 2015-09-07 23:08:02 +03:00
Alexey Arno
437ca51ce8 dbms: Server: Bug fixes in the serialization/deserialization code. [#METR-17276] 2015-09-07 22:03:14 +03:00
Alexey Milovidov
e5677bea4d dbms: added function randConstant for testing purposes [#METR-17536]. 2015-09-07 20:56:56 +03:00
Andrey Mironov
f8b21b5fd6 dbms: add tests for sequenceCount and sequenceMatch, fix infinite loop for sequenceCount of empty pattern, fix decltype deducing reference type [#METR-17427] 2015-09-07 17:50:02 +03:00
Alexey Milovidov
2311c69d53 dbms: development of memory efficient distributed aggregation method [#METR-17536]. 2015-09-07 10:40:14 +03:00
Alexey Milovidov
8d25390c48 dbms: fixed error [#METR-17758]. 2015-09-06 01:47:13 +03:00
Alexey Milovidov
87465416b0 dbms: pull method for GLOBAL subqueries: supported JOINs [#METR-17758]. 2015-09-05 04:53:16 +03:00
Alexey Milovidov
66b130a2e5 dbms: implemented method 'pull' for GLOBAL subqueries [#METR-17758]. 2015-09-05 04:22:09 +03:00
Alexey Milovidov
9f38f15294 dbms: pull scheme for GLOBAL subqueries: development [#METR-17758]. 2015-09-05 00:39:10 +03:00
Alexey Milovidov
e82e19ee75 dbms: pull scheme for GLOBAL subqueries: development: added ability to SELECT from temporary tables of another query [#METR-17758]. 2015-09-04 23:52:00 +03:00
Alexey Milovidov
193113dc63 Merge 2015-09-04 23:00:32 +03:00
Alexey Milovidov
767a3c8090 dbms: fixed error with WITH TOTALS in subquery with distributed table with one shard and LIMIT [#METR-17561]. 2015-09-04 22:40:55 +03:00
Alexey Milovidov
e923dd2ff6 dbms: added test [#METR-17550]. 2015-09-03 23:50:41 +03:00
Alexey Milovidov
7dc7144011 dbms: fixed error with column order in RIGHT and FULL JOINs [#METR-17550]. 2015-09-03 23:48:02 +03:00
Alexey Milovidov
bf6544693e dbms: tiny modifications [#METR-17588]. 2015-09-03 22:19:19 +03:00
Alexey Milovidov
69be9e7dd0 dbms: increased default limit on query size [#METRIKASUPP-5557]. 2015-09-03 21:48:41 +03:00
Alexey Arno
d18544c981 dbms: Server: Improved implementation. [#METR-17588] 2015-09-03 18:35:34 +03:00
Alexey Arno
1dc1cbc021 Merge 2015-09-03 17:21:55 +03:00
Andrey Mironov
65c309550d Merge 2015-09-03 16:36:18 +03:00
Andrey Mironov
40026a8e7b Merge 2015-09-03 16:30:50 +03:00
Alexey Arno
1491260e3b dbms: Server: Fixed behavior of LIKE. Now % correctly matches newlines. [#METR-17588] 2015-09-03 15:09:47 +03:00
Andrey Mironov
e8111d7e07 Merge 2015-09-03 15:07:46 +03:00
Andrey Mironov
11857853a4 Merge 2015-09-03 12:20:04 +03:00
Andrey Mironov
5ca53c8b10 Merge 2015-09-03 12:17:25 +03:00
Alexey Milovidov
0e26b64968 dbms: allowed columns with duplicate names in GLOBAL subqueries [#METR-17552]. 2015-09-02 23:35:38 +03:00
Alexey Milovidov
57c03c0dce dbms: whitespace [#METR-17552]. 2015-09-02 22:58:29 +03:00
Alexey Milovidov
df90e447fb dbms: increased limit for max_suspicious_broken_parts [#METR-17811]. 2015-09-02 22:39:19 +03:00
Alexey Milovidov
f46326c4e8 dbms: StorageBuffer: better [#METR-17889]. 2015-09-02 20:47:29 +03:00
Andrey Mironov
9cc9cb241f Merge 2015-09-02 20:11:47 +03:00
Andrey Mironov
6b642e8749 dbms: round subtask size up to multiple of max_block_size [#METR-16457] 2015-09-02 19:09:32 +03:00
Andrey Mironov
288f46936a Merge 2015-09-02 18:48:10 +03:00
Andrey Mironov
70ec50316e Merge 2015-09-02 18:32:17 +03:00
Alexey Arno
277fab46b9 Merge 2015-09-02 16:05:17 +03:00
Andrey Mironov
959d66cfa4 dbms: use actual settings [#METR-16457] 2015-09-02 14:15:16 +03:00
Pavel Kartavyy
7ef5c508d9 Revert "dbms::Allocator: support big alignments for ███████████ [#METR-17814]"
This reverts commit 8d5d4b6b9265e2b5a103a6d713df81d7fe232745.
2015-09-02 13:29:23 +03:00
Pavel Kartavyy
044b70ff8c dbms::Allocator: support big alignments for ███████████ [#METR-17814] 2015-09-02 13:29:23 +03:00
Alexey Milovidov
c5e0d759e5 dbms: fixed build [#METR-17276]. 2015-09-02 03:17:10 +03:00
Alexey Milovidov
dab47ec36d dbms: fixed error with StorageBuffer [#METR-17889]. 2015-09-02 00:48:38 +03:00
Andrey Mironov
ef356f9267 Merge 2015-09-01 19:09:12 +03:00
Andrey Mironov
1b394d9324 dbms: DB::Memory::resize alloc instead of realloc when m_capacity == 0 [#METR-16457] 2015-09-01 18:08:37 +03:00
Andrey Mironov
cbe8fb0b67 Merge 2015-09-01 17:15:07 +03:00
Andrey Mironov
b2fa52394b dbms: support final with new code [#METR-16457] 2015-09-01 15:24:38 +03:00
Andrey Mironov
bc5007fc36 Merge 2015-08-31 23:22:06 +03:00
Andrey Mironov
7b818fe243 dbms: somehow fix memory corruption [#METR-16457] 2015-08-31 22:14:45 +03:00
Andrey Mironov
77a0a22de6 dbms: existing_memory support for ReadBufferAIO.cpp 2015-08-31 19:49:09 +03:00
Andrey Mironov
84d24ae336 merge branch 'master' 2015-08-31 18:50:06 +03:00
Alexey Arno
e0e7ebfc0a dbms: Server: Coding style fix. [#METR-17276] 2015-08-31 18:32:01 +03:00
Andrey Mironov
6b5b1f2723 optimistic codepath for bitTest(All|Any) when all positions are constant [#METR-17427] 2015-08-31 17:03:31 +03:00
Alexey Arno
f93141355b Merge 2015-08-31 16:53:16 +03:00
Andrey Mironov
fbfaa83b1a Merge 2015-08-25 13:25:45 +03:00
Andrey Mironov
acb10923de add aggregate function sequenceCount [#METR-17427] 2015-08-21 18:58:31 +03:00
Andrey Mironov
d43a8cce1f fix linking of ███████████ 2015-08-21 12:16:52 +03:00
Andrey Mironov
914e74f796 dbms: fix quantilesTiming for levels specified in non-increasing order [#METR-14503] 2015-08-20 19:47:10 +03:00
Andrey Mironov
8b890f1c06 dbms: add functions bitTestAny, bitTestAll (non-vectorized) and tests [#METR-17245] 2015-08-20 16:58:09 +03:00
Alexey Milovidov
10a3d616f6 dbms: pull scheme for GLOBAL subqueries: development [#METR-17758]. 2015-08-20 00:15:27 +03:00
Alexey Milovidov
5374c2a927 dbms: removed random shuffling of data parts on SELECT [#METR-17757]. 2015-08-19 21:35:02 +03:00
Andrey Mironov
b4b33364e9 dbms: add function bitTest(val, pos), pos starts from 0 [#METR-17245] 2015-08-19 19:11:48 +03:00
Andrey Mironov
24e9805c9f dbms: remove dead code from FunctionsDictionaries.h 2015-08-19 19:11:48 +03:00
Andrey Mironov
9d406de8c9 dbms: add dictionary name to messages of most exceptions occurring during their creation [#METR-17487] 2015-08-19 16:19:37 +03:00
Andrey Mironov
4bdecf9c29 dbms: print detailed exception text in system.dictionaries.last_exception [#METR-17487] 2015-08-19 16:19:37 +03:00
Anton Tikhonov
330d0a99b0 Merge 2015-08-19 12:07:41 +03:00
Alexey Milovidov
bfd52af224 dbms: added tests [#METR-17745]. 2015-08-18 23:44:54 +03:00
Andrey Mironov
d192a76be8 dbms: sequenceMatch: add iterations threshold with exception [#METR-17425] 2015-08-18 19:11:31 +03:00
Alexey Milovidov
276ca03bc2 dbms: fixed error [#METR-17745]. 2015-08-18 18:20:38 +03:00
Alexey Milovidov
f1655cc62f Merge 2015-08-18 00:09:36 +03:00
Alexey Milovidov
3d2a766964 Revert "dbms: using huge pages everywhere (experimental) [#METR-2944]."
This reverts commit a127a866704f95ef31684ef042d0765f7202677a.
2015-08-16 18:11:06 +03:00
Alexey Milovidov
f68478b638 dbms: using huge pages everywhere (experimental) [#METR-2944]. 2015-08-16 17:44:02 +03:00
Alexey Milovidov
f0a5ec4736 dbms: unification; using huge pages (experimental) [#METR-2944]. 2015-08-16 16:00:22 +03:00
Alexey Milovidov
38fa9c8982 dbms: addition to prev. revision [#METR-17716]. 2015-08-16 11:21:19 +03:00
Alexey Milovidov
5011e4d581 dbms: added StripeLog engine [#METR-17716]. 2015-08-16 11:18:34 +03:00
Alexey Milovidov
5744b77040 dbms: addition to prev. revision [#METR-17716]. 2015-08-16 10:30:01 +03:00
Alexey Milovidov
469b409ba0 dbms: added storage StripeLog (incomplete) [#METR-17716]. 2015-08-16 10:01:41 +03:00
Alexey Milovidov
fa8100bd05 dbms: improved formatting [#METR-17664]. 2015-08-15 00:30:48 +03:00
Alexey Milovidov
3fbb61cbad dbms: fixed error with multiple GLOBAL subqueries [#METR-17622]. 2015-08-15 00:07:17 +03:00
Alexey Milovidov
4724de39bd dbms: lowered memory usage for INSERTs (-1 GiB for visits table on every insert) [#METR-17704]. 2015-08-14 23:18:08 +03:00
Alexey Milovidov
325d73ea39 dbms: addition to prev. revision [#METR-17704]. 2015-08-14 06:41:31 +03:00
Alexey Milovidov
f11f0271e3 dbms: addition to prev. revision [#METR-17704]. 2015-08-14 06:27:32 +03:00
Alexey Milovidov
3688bca270 dbms: addition to prev. revision [#METR-17704]. 2015-08-14 05:47:07 +03:00
Alexey Milovidov
cf4a0e85ef dbms: lowered memory usage for INSERT [#METR-17704]. 2015-08-14 05:45:40 +03:00
Alexey Milovidov
5505474f2a dbms: attempt to lower memory reservation when reading String columns with NativeBlockInputStream [#METR-17704]. 2015-08-14 00:16:23 +03:00
Anton Tikhonov
eef8fef133 Merge 2015-08-13 21:49:50 +03:00
Alexey Arno
3ff1a857fe dbms: Server: Use another hash function. [#METR-17276] 2015-08-12 19:26:53 +03:00
Anton Tikhonov
daf2a78ca0 Merge 2015-08-12 18:18:36 +03:00
Alexey Milovidov
18ed0b2829 dbms: external dictionaries: fixed errors [#METR-17508]. 2015-08-12 07:21:10 +03:00
Alexey Milovidov
dea3c8b8a4 dbms: external dictionaries: fixed bunch of errors; added optional parameter 'dont_check_update_time' for MySQL dictionary source [#METR-17508]. 2015-08-12 06:57:32 +03:00
Alexey Milovidov
0d6f4ffae1 dbms: fixed error with dictionaries [#METR-17666]. 2015-08-12 04:18:30 +03:00
Alexey Milovidov
f39ad593f5 dbms: added optional property 'require_nonempty' for external dictionaries [#METR-17508]. 2015-08-12 00:32:27 +03:00
Alexey Milovidov
8d8fa9d0fd dbms: more logging in MySQLDictionarySource [#METR-17508]. 2015-08-12 00:29:44 +03:00
Alexey Milovidov
6448560938 dbms: allowed to specify 'interserver_http_host' in metrika.xml for metrika package [#MTRSADMIN-1483]. 2015-08-12 00:11:54 +03:00
Alexey Arno
9e1486bfde dbms: Server: Fixed interaction with ███████████. [#METR-17276] 2015-08-11 20:31:31 +03:00
Anton Tikhonov
472116b9e7 Merge 2015-08-11 16:45:14 +03:00
Alexey Arno
99f0783b04 dbms: Server: Fixed pointer computation + simplified code. [#METR-17276] 2015-08-10 16:47:43 +03:00
Anton Tikhonov
053ea72bfe Upgrade number parser in JSON (and ReadHelpers) [#METR-17621] 2015-08-10 16:23:40 +03:00
Alexey Arno
753a90b930 dbms: Server: Deleted obsolete files. [#METR-17276] 2015-08-10 13:05:03 +03:00
Alexey Arno
99a62d3608 Merge 2015-08-10 13:03:44 +03:00
Alexey Milovidov
071c1af212 dbms: fixed error [#METR-17606]. 2015-08-09 08:10:43 +03:00
Alexey Arno
ed2ec39899 dbms: Server: Fixes. [#METR-17276] 2015-08-07 20:35:34 +03:00
Alexey Arno
1bf22c463b dbms: Server: Renamed functional test. [#METR-17276] 2015-08-07 20:09:02 +03:00
Alexey Arno
a68b3891f8 dbms: Server: Updated functional tests. [#METR-17276] 2015-08-07 19:59:15 +03:00
Alexey Arno
311a41e14f Merge 2015-08-07 18:24:23 +03:00
Alexey Arno
69d8ae10b6 Merge 2015-08-07 18:23:38 +03:00
Alexey Arno
e24cad5123 dbms: Server: Performance improvements. [#METR-17276] 2015-08-07 15:39:06 +03:00
Alexey Milovidov
ca3a36c3e1 dbms: addition to prev. revision [#METR-17606]. 2015-08-07 02:46:15 +03:00
Alexey Milovidov
ec1b05bf54 dbms: added test [#METR-17606]. 2015-08-07 00:38:52 +03:00
Alexey Milovidov
32da2a7d8c dbms: improved query formatting for distributed queries [#METR-17606]. 2015-08-07 00:32:51 +03:00
Alexey Milovidov
5ed70eeb27 dbms: preparation [#METR-17606]. 2015-08-06 07:28:59 +03:00
Alexey Milovidov
e072db7da2 dbms: preparation to more compact query formatting [#METR-17606]. 2015-08-06 06:26:27 +03:00
Alexey Milovidov
4eac023043 dbms: addition to prev. revision [#METR-17606]. 2015-08-06 00:39:42 +03:00
Alexey Milovidov
4ab0052456 dbms: more compact formatting of queries with aliases: development [#METR-17606]. 2015-08-06 00:38:31 +03:00
Alexey Milovidov
e9c504e9da dbms: modified exception message for ParallelReplicas [#MTRSADMIN-1462]. 2015-08-04 21:55:53 +03:00
Alexey Arno
891aed0744 dbms: Server: Cosmetic changes. [#METR-17276] 2015-08-04 16:37:56 +03:00
Alexey Arno
58e2a7ef6b dbms: Server: Removed useless hashing in the case of 32-bit floating point values. [#METR-17276] 2015-08-04 15:33:08 +03:00
Alexey Arno
99aec7b6c1 dbms: Server: Fixed timeout value. [#METR-14410] 2015-08-04 14:22:13 +03:00
Alexey Milovidov
845758e378 Merge 2015-08-03 23:12:23 +03:00
Alexey Milovidov
70f4887d74 dbms: tiny modifications [#METR-2944]. 2015-08-03 23:11:57 +03:00
Alexey Arno
b32721432b dbms: Server: Added stateless functional test (stateful one is in progress). [#METR-17276] 2015-08-03 20:32:37 +03:00
Alexey Arno
a012ab00a8 Merge 2015-08-03 18:54:38 +03:00
Alexey Milovidov
5b0b5dc9cf dbms: added memory-efficient mode of distributed aggregation [#METR-17536]. 2015-07-31 02:41:02 +03:00
Alexey Arno
f651046ac8 Merge 2015-07-30 20:09:02 +03:00
Alexey Arno
3251f5978a dbms: Server: Made HyperLogLog implementation more understandable. [#METR-17276] 2015-07-30 20:04:49 +03:00
Alexey Arno
3d301bb749 dbms: Server: Use trivial has for HLL12 case. [#METR-17276] 2015-07-29 20:22:17 +03:00
Alexey Arno
b17d3d79fc dbms: Server: Updated comment. [#METR-17276] 2015-07-29 20:13:02 +03:00
Alexey Arno
98557ba369 dbms: Server: Feed CombinedCardinalityEstimator with at most 32-bit wide values. [#METR-17276] 2015-07-29 20:06:39 +03:00
Alexey Arno
99e2b241c0 dbms: Server: Fixes. [#METR-17276] 2015-07-29 17:53:34 +03:00
Alexey Arno
4da092418e dbms: Server: Fixes. [#METR-17276] 2015-07-29 17:14:44 +03:00
Alexey Milovidov
6bdcf3a9ae dbms: fixed test [#METR-2944]. 2015-07-27 21:05:32 +03:00
Alexey Milovidov
f98ab0c9c1 dbms: allowed to cancel query while sending external tables data [#METR-15144]. 2015-07-27 20:36:52 +03:00
Alexey Milovidov
fc49f1ab55 dbms: added tests [#METR-17491]. 2015-07-27 19:57:02 +03:00
Alexey Milovidov
e3b5bc0ea6 dbms: fixed segfault when using INSERT SELECT or CREATE AS SELECT with extremes=1 or WITH TOTALS [#METR-17491]. 2015-07-27 18:51:37 +03:00
Alexey Milovidov
bc6598371c dbms: fixed comment [#METR-2944]. 2015-07-27 16:36:22 +03:00
Alexey Milovidov
99d64cbc7f Merge 2015-07-26 15:06:29 +03:00
Alexey Milovidov
38d6128150 dbms: added column sizes to system.columns table [#METR-17475]. 2015-07-26 14:34:41 +03:00
Alexey Milovidov
c5570f3f89 dbms: little better [#METR-17472]. 2015-07-26 14:07:03 +03:00
Alexey Milovidov
0439ef5f7f dbms: implemented LEFT ARRAY JOIN [#METR-17474]. 2015-07-26 13:54:45 +03:00
Alexey Milovidov
5c2b5ffb10 dbms: added function emptyArrayToSingle [#METR-17474]. 2015-07-26 13:40:32 +03:00
Alexey Milovidov
6f2eda117e dbms: fixed error [#METR-17472]. 2015-07-26 11:28:12 +03:00
Alexey Milovidov
323188bd29 dbms: scalar subqueries: development [#METR-17472]. 2015-07-26 11:16:39 +03:00
Alexey Milovidov
8e44832c85 dbms: scalar subqueries: development [#METR-17472]. 2015-07-26 10:55:48 +03:00
Alexey Milovidov
b87857152b dbms: fixed error in prev. revision [#METR-17472]. 2015-07-26 10:08:46 +03:00
Alexey Milovidov
35b55b7e4f dbms: added tests; fixed error in prev. revision [#METR-17472]. 2015-07-25 14:59:21 +03:00
Alexey Milovidov
80ce5f1f65 dbms: scalar subqueries: initial implementation [#METR-17472]. 2015-07-25 14:47:50 +03:00
Alexey Milovidov
d9e76da292 dbms: added support for multiquery in interactive mode [#METR-17471]. 2015-07-25 13:58:41 +03:00
Alexey Milovidov
6acbf3db3e dbms: fixed progress bar for INSERT SELECT and CREATE AS SELECT queries [#METR-17470]. 2015-07-25 13:38:52 +03:00
Alexey Milovidov
e3449cae83 dbms: added progress for query CREATE AS SELECT [#METR-17470]. 2015-07-25 12:56:56 +03:00
Alexey Milovidov
39bc10041d dbms: generating query_id [#METR-17469]. 2015-07-25 12:49:09 +03:00
Alexey Milovidov
007ecde455 dbms: Client: allowed to paste multi-line queries even in single-line mode [#METR-2944]. 2015-07-25 08:55:40 +03:00
Alexey Milovidov
0c9c9fcead dbms: added test [#METR-17461]. 2015-07-24 22:24:56 +03:00
Alexey Milovidov
04c78e57ef dbms: function extractURLParameter: fixed error and removed support for ; [#METR-17461]. 2015-07-24 22:23:22 +03:00
Alexey Arno
b3bcc4f668 dbms: Server: Various optimizations. [#METR-17276] 2015-07-24 19:46:00 +03:00
Andrey Mironov
9fea075cb0 Merge 2015-07-24 17:46:29 +03:00
Alexey Milovidov
aa785f3481 dbms: added tests [#METR-15418]. 2015-07-24 00:30:34 +03:00
Alexey Milovidov
57a91256a2 dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-24 00:19:30 +03:00
Alexey Milovidov
fb7520d2cd dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-24 00:03:51 +03:00
Alexey Milovidov
763fe6fb93 dbms: added CROSS JOIN [#METR-16893]. 2015-07-23 23:23:24 +03:00
Andrey Mironov
28d333adff Merge 2015-07-23 20:54:07 +03:00
Andrey Mironov
9a54c18a8d Merge 2015-07-23 16:37:09 +03:00
Andrey Mironov
defba956d9 Merge 2015-07-23 16:11:27 +03:00
Alexey Milovidov
6f70e8e05c dbms: added comment [#METR-2944]. 2015-07-23 14:11:41 +03:00
Alexey Milovidov
b5b40a9a7a dbms: added function arrayUniq [#METR-17429]. 2015-07-23 14:11:10 +03:00
Alexey Milovidov
f4d5b5e3b8 dbms: arrayUniq: development [#METR-17429]. 2015-07-23 12:39:21 +03:00
Alexey Milovidov
0f954021cb dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-22 23:54:42 +03:00
Alexey Milovidov
d660d987ce dbms: FULL and RIGHT JOIN: development [#METR-15418]. 2015-07-22 22:43:09 +03:00
Alexey Arno
4bf6fe2070 dbms: Server: Feature development. [#METR-17276] 2015-07-22 18:25:59 +03:00
Alexey Arno
45d8bebff6 dbms: Server: Squeezed most of the fields into a 8-byte memory chunk. [#METR-17276] 2015-07-22 17:12:34 +03:00
Alexey Milovidov
b0387d5ccf dbms: FULL and RIGHT JOINs: partial implementation [#METR-15418]. 2015-07-22 05:59:47 +03:00
Alexey Milovidov
d44cc0ca08 dbms: preparations [#METR-15418]. 2015-07-22 04:46:35 +03:00
Alexey Milovidov
71ae4a9931 dbms: preparation [#METR-15418]. 2015-07-22 03:59:22 +03:00
Alexey Milovidov
ca17e5f14a dbms: FULL and RIGHT JOIN: preparation [#METR-15418]. 2015-07-22 00:29:02 +03:00
Andrey Mironov
f4b0c505da dbms: materialize defaults to avoid type safety problems while sorting [#METR-17391] 2015-07-21 20:19:21 +03:00
Alexey Milovidov
291fb2ad3e dbms: added test [#METR-17364]. 2015-07-21 04:09:59 +03:00
Alexey Milovidov
45bfe8e361 dbms: fixed error with DISTINCT [#METR-17364]. 2015-07-21 00:43:53 +03:00
Alexey Milovidov
9364b2a13a dbms: fixed error in split functions [#METR-17374]. 2015-07-20 23:05:34 +03:00
Andrey Mironov
c956fff1d0 dbms: add FarmHash64 and two variations of MetroHash64 to hash_map_string_3 text [#METR-15838] 2015-07-20 20:50:24 +03:00
Alexey Arno
18e886588d dbms: Server: Fixed bug. [#METR-17276] 2015-07-20 20:29:59 +03:00
Alexey Arno
3314579909 Merge 2015-07-20 20:09:43 +03:00
Andrey Mironov
c739de4805 dbms: check for unsigned overflows in function range() [#METR-17362] 2015-07-20 19:24:37 +03:00
Andrey Mironov
b63b5cd8f9 dbms: add test for ternary operator type checks. [#METR-17372] 2015-07-20 18:46:50 +03:00
Andrey Mironov
44f6b22a55 dbms: fix function if() and ternary operator for same types. [#METR-17372] 2015-07-20 18:04:40 +03:00
Andrey Mironov
58408dc8a3 dbms: add function metroHash64 2015-07-20 17:59:29 +03:00
Alexey Milovidov
3ca8bb4448 dbms: added format TSKV [#METR-2944]. 2015-07-18 07:27:38 +03:00
Alexey Milovidov
aa225476e8 dbms: modified test [#METR-17361]. 2015-07-18 07:21:04 +03:00
Alexey Milovidov
d5a69e8e31 dbms: fixed error with GROUP BY empty arrays [#METR-17361]. 2015-07-18 07:18:14 +03:00
Alexey Milovidov
5077e51fc7 dbms: implemented function 'if' for FixedString arguments [#METR-17352]. 2015-07-17 22:53:09 +03:00
Alexey Milovidov
8d5cd69bb2 dbms: fixed exception message [#METR-2944]. 2015-07-17 21:11:10 +03:00
Andrey Mironov
bb136fb496 dbms: RangeHashedDictionary: fix constructor fomartting 2015-07-17 18:56:34 +03:00
Andrey Mironov
f1bc759807 dbms: add farmHash64 [#METR-17328] 2015-07-17 18:56:34 +03:00
Alexey Milovidov
c0e029bb1b dbms: renamed ColumnWithNameAndType to ColumnWithTypeAndName for clarification [#METR-2944]. 2015-07-17 04:27:35 +03:00
Alexey Milovidov
71f64f2d49 Merge 2015-07-17 00:32:51 +03:00
Alexey Milovidov
41faaed60e dbms: addition to prev. revision [#METR-17305]. 2015-07-17 00:08:50 +03:00
Alexey Milovidov
791cc23dd6 dbms: addition to prev. revision [#METR-17305]. 2015-07-17 00:06:45 +03:00
Alexey Milovidov
52847e6591 Merge 2015-07-17 00:03:53 +03:00
Alexey Milovidov
2cfb6495d4 dbms: added test to Float32 formatting [#METR-17281]. 2015-07-16 23:45:04 +03:00
Alexey Milovidov
230bbe3296 dbms: addition to prev. revision [#METR-17281]. 2015-07-16 23:33:05 +03:00
Alexey Milovidov
9c69ec44a9 dbms: addition to prev. revision [#METR-17281]. 2015-07-16 23:16:42 +03:00
Alexey Milovidov
4920b63fd1 dbms: fixed error with rounded float formatting [#METR-17281]. 2015-07-16 23:02:36 +03:00
Alexey Milovidov
c9689b255d dbms: system.replicas: added columns 'inserts_oldest_time' and 'merges_oldest_time' [#METR-17306].. 2015-07-16 22:11:59 +03:00
Alexey Milovidov
efdc07a1da Merge 2015-07-16 21:13:58 +03:00
Alexey Arno
5dcda93405 dbms: Server: Fixed unsigned int overflow issues. Updated functional test. [#METR-16435] 2015-07-16 16:01:49 +03:00
Alexey Milovidov
ba7b7dd52d dbms: fixed race condition in storage Chunks [#METR-17327]. 2015-07-15 23:40:19 +03:00
Alexey Milovidov
583dd33ed0 dbms: disabled moving to PREWHERE expressions with GLOBAL IN [#METR-17231]. 2015-07-15 08:07:00 +03:00
Alexey Milovidov
6847fdb979 dbms: added test [#METR-15553]. 2015-07-15 08:06:26 +03:00
Alexey Milovidov
1f03f17a49 dbms: passing proper Context to subqueries analyzer in PREWHERE [#METR-17231]. 2015-07-15 07:50:48 +03:00
Alexey Milovidov
6815bd7c00 dbms: addition to prev. revision [#METR-15553]. 2015-07-15 05:58:28 +03:00
Alexey Milovidov
7726566956 dbms: addition to prev. revision [#METR-15553]. 2015-07-15 05:56:12 +03:00
Alexey Milovidov
bc3a0de6ab dbms: fixed GLOBAL IN inside subquery [#METR-15553]. 2015-07-15 05:52:19 +03:00
Alexey Milovidov
226731128b dbms: get rid of columns inside Context [#METR-15553]. 2015-07-15 04:26:35 +03:00
Alexey Milovidov
e948f1d1c1 Merge 2015-07-14 20:11:09 +03:00
Andrey Mironov
240d5c5b58 dbms: range_hashed dictGet*: add a missing call to resizing constructor of ColumnVector. [#METR-17111] 2015-07-14 18:05:46 +03:00
Alexey Milovidov
ac2f8dfb13 Merge 2015-07-14 17:49:49 +03:00
Andrey Mironov
874f665ffd Merge 2015-07-14 16:11:38 +03:00
Andrey Mironov
2af56fe772 dbms: implement dictGet* functions for RangeHashedDictionary. [#METR-17111 2015-07-14 16:06:25 +03:00
Alexey Milovidov
df4a33949b dbms: logging query finish for queries without result [#METR-16946]. 2015-07-14 06:05:10 +03:00
Alexey Milovidov
52bab67d5f Merge 2015-07-14 03:48:34 +03:00
Alexey Milovidov
3072d69739 dbms: probably faster (needs testing) [#METR-2944]. 2015-07-14 00:28:19 +03:00
Alexey Milovidov
234367b038 dbms: added function identity [#METR-17251]. 2015-07-14 00:27:08 +03:00
Andrey Mironov
f92714712f dbms: extract IDictionaryBase, fix devirtualization. [#METR-17111] 2015-07-13 20:11:17 +03:00
Andrey Mironov
c4440ad829 dbms: RangeHashedDictionary implementation [#METR-17111] 2015-07-13 19:18:28 +03:00
Alexey Arno
aa30036fd4 dbms: Server: Cosmetic changes that make easier to read, understand, and maintain the code that handles UNION ALL. [#METR-14099] 2015-07-13 18:02:29 +03:00
Alexey Arno
a3cd654331 dbms: Server: Added functional test. [#METR-16435] 2015-07-13 16:25:56 +03:00
Alexey Arno
231588919f Merge 2015-07-13 14:45:59 +03:00
Alexey Arno
135cac6d77 dbms: Server: Performance improvement. [#METR-16778] 2015-07-11 18:16:59 +03:00
Alexey Arno
b4f65a44e9 dbms: Server: Performance improvement. [#METR-16778] 2015-07-11 16:43:48 +03:00
Alexey Arno
8410736612 dbms: Server: Correctly handle backward linking of SELECT queries inside UNION ALL. [#METR-16778] 2015-07-11 03:44:45 +03:00
Alexey Arno
10b695465a dbms: Server: Fixed the bug in a much nicer way: InterpreterSelectQuery does not split anymore its AST. [#METR-16778] 2015-07-10 21:26:46 +03:00
Andrey Mironov
8ea2990e7d dbms: ExternalDictionaries: remove most invididual getters 2015-07-10 17:43:49 +03:00
Alexey Arno
6efb40c48b Merge 2015-07-10 17:42:30 +03:00
Alexey Milovidov
8aa96f3f79 dbms: added comment [#METR-17233]. 2015-07-10 06:06:00 +03:00
Alexey Milovidov
2af61829fe dbms: added least and greatest functions [#METR-17233]. 2015-07-10 05:57:32 +03:00
Alexey Milovidov
07bb8f34ba dbms: Client: added line feed in case of exception in non-interactive mode [#METR-2944]. 2015-07-09 21:26:50 +03:00
Andrey Mironov
a27057d4b9 Merge 2015-07-08 20:59:44 +03:00
Alexey Arno
5e1b1d4c48 dbms: Server: Performance improvements. [#METR-15618] 2015-07-08 20:30:42 +03:00
Alexey Arno
e44a202bad dbms: Server: Style fix. [#METR-15618] 2015-07-08 17:25:11 +03:00
Alexey Milovidov
c449820a13 dbms: addition to prev. revision [#METR-16999]. 2015-07-08 17:22:31 +03:00
Alexey Milovidov
af0070c16b Merge 2015-07-08 07:38:46 +03:00
Alexey Milovidov
0b05ac5871 Merge 2015-07-08 06:18:51 +03:00
Alexey Arno
992e7dc7a5 Merge 2015-07-08 02:11:30 +03:00
Andrey Mironov
a5bfc70920 Merge 2015-07-07 18:30:10 +03:00
Pavel Kartavyy
ba715bdde0 dbms: writeDateTimeText pass arguments as template parameters 2015-07-07 12:29:29 +03:00
Alexey Milovidov
bbdfd33f47 dbms: fixed error with arrays; added test [#METR-17110]. 2015-07-06 23:25:50 +03:00
Alexey Milovidov
0296dc2b88 dbms: fixing error with function replicate of arrays of consts [#METR-17110]. 2015-07-06 22:24:51 +03:00
Alexey Arno
1c8251ad10 Merge 2015-07-06 16:53:13 +03:00
Alexey Arno
1d9066bb8a Merge 2015-07-03 16:04:03 +03:00
Alexey Arno
90d85c9a77 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-03 14:55:51 +03:00
Alexey Vasiliev
49288b4043 Merge 2015-07-03 11:29:53 +03:00
Alexey Arno
5a3d5970c5 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-03 03:09:57 +03:00
Alexey Arno
7968c06699 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 17:26:15 +03:00
Alexey Arno
91ca58d0d3 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 17:22:15 +03:00
Alexey Arno
426e27d98e dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 17:14:07 +03:00
Alexey Arno
7ef2b9595a dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 16:35:28 +03:00
Alexey Arno
ec8925aa40 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-02 03:19:31 +03:00
Alexey Milovidov
efddabd212 Merge 2015-07-01 23:42:42 +03:00
Alexey Milovidov
d71b7ca1b0 dbms: better diagnostics [#METR-12542]. 2015-07-01 23:14:23 +03:00
Alexey Arno
17f681ba8c dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 21:03:18 +03:00
Alexey Arno
072d110f67 Merge 2015-07-01 20:33:00 +03:00
Alexey Arno
2f56341f00 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 20:32:04 +03:00
Alexey Arno
419bc03713 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 19:07:29 +03:00
Alexey Arno
557b0bf9cc dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-01 17:35:02 +03:00
Pavel Kartavyy
eee023ffa9 Merge 2015-07-01 16:07:05 +03:00
Alexey Milovidov
f07967515b dbms: addition to prev. revision [#METR-16946]. 2015-07-01 08:31:27 +03:00
Alexey Milovidov
4505af81b3 dbms: QueryLog: development [#METR-16946]. 2015-07-01 08:24:08 +03:00
Alexey Milovidov
5ed6a1d446 dbms: QueryLog: development [#METR-16946]. 2015-07-01 08:18:54 +03:00
Alexey Milovidov
719f0ee89c Merge 2015-06-30 22:07:19 +03:00
Alexey Milovidov
1618ea3dd7 dbms: added test to prev. revision [#METRIKASUPP-5388]. 2015-06-30 22:06:52 +03:00
Alexey Milovidov
cd734e6f06 dbms: allowed constant arguments of aggregate functions and keys [#METRIKASUPP-5388]. 2015-06-30 22:05:30 +03:00
Alexey Milovidov
115d04aa24 Update README 2015-06-30 21:48:55 +03:00
Alexey Milovidov
cc8734c5aa dbms: addition to prev. revision [#METR-17105]. 2015-06-30 21:38:55 +03:00
Alexey Milovidov
b5e2e9a7ae dbms: function 'roundAge': fixed error [#METR-17105]. 2015-06-30 21:22:06 +03:00
Alexey Arno
d8b0510518 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-30 18:03:22 +03:00
Alexey Arno
eec6b89a4c dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-30 17:02:47 +03:00
Alexey Milovidov
3ac04b49b2 dbms: QueryLog: development [#METR-16946]. 2015-06-30 02:59:25 +03:00
Alexey Milovidov
cb223d360a dbms: QueryLog: development [#METR-16946]. 2015-06-30 02:54:33 +03:00
Alexey Milovidov
b5fd5fe490 dbms: QueryLog: development (incomplete) [#METR-16946]. 2015-06-30 00:35:35 +03:00
Alexey Milovidov
c1ed7ca004 dbms: fixed error with LIKE [#METR-17078]. 2015-06-29 21:47:46 +03:00
Pavel Kartavyy
aaf7afaa13 Merge 2015-06-29 15:42:00 +03:00
Andrey Mironov
85d2dbcd76 Merge 2015-06-29 13:49:24 +03:00
Alexey Milovidov
d23de31335 dbms: improved performance for very long arrays [#METR-17061]. 2015-06-29 10:41:23 +03:00
Alexey Milovidov
8c1d4358bc dbms: addition to prev. revision [#METR-17061]. 2015-06-29 08:48:08 +03:00
Alexey Milovidov
9527f99d07 dbms: improved performance for very long arrays [#METR-17061]. 2015-06-29 08:46:55 +03:00
Alexey Milovidov
b308d79f5e dbms: improved performance of query parsing and analyzing with very long arrays [#METR-17061]. 2015-06-29 07:54:52 +03:00
Alexey Milovidov
c8b4a8f1be dbms: lowered default query_log.flush_interval_milliseconds to 7500 [#METR-16946]. 2015-06-28 10:34:58 +03:00
Alexey Milovidov
9d0f0bf334 Client: added parameter --progress [#METR-17001]. 2015-06-28 10:05:42 +03:00
Alexey Milovidov
efc741efb0 dbms: added setting 'distributed_group_by_no_merge' [#METR-17060]. 2015-06-28 09:48:42 +03:00
Alexey Milovidov
4cebee36ea dbms: added setting 'skip_unavailable_shards' [#METR-17059]. 2015-06-28 09:38:18 +03:00
Alexey Milovidov
cdf90e9510 dbms: higher order functions: added support for constant expressions [#METR-17014]. 2015-06-28 09:25:12 +03:00
Alexey Milovidov
6b82289af4 dbms: addition to prev. revision [#METR-16946]. 2015-06-27 01:37:55 +03:00
Alexey Milovidov
d9fd662c12 dbms: addition to prev. revision [#METR-16946]. 2015-06-27 00:20:33 +03:00
Alexey Milovidov
c36fdf0e56 dbms: initial implementation of QueryLog [#METR-16946]. 2015-06-26 23:48:10 +03:00
Alexey Milovidov
c9e225be12 dbms: QueryLog: development [#METR-16946]. 2015-06-26 22:23:25 +03:00
Andrey Mironov
f2f8bf86cc dbms: external dictionaries: fix null pointer dereference after calling unique_ptr::release() 2015-06-26 18:45:31 +03:00
Alexey Arno
37f008afd0 dbms: Server: Added support for multiple time zones: part 1 (does not add any new functionality, does not change current functionality) [#METR-15618] 2015-06-26 18:11:31 +03:00
Andrey Mironov
a9d16d8a9f Merge 2015-06-26 13:52:20 +03:00
Andrey Mironov
f7ec7dbf9e dbms: ReadBuffer::ignore does not call eof when n == 0 [#MTRSADMIN-1093] 2015-06-26 13:38:15 +03:00
Alexey Arno
3e25e37feb dbms: Server: Re-added functional test [#METR-16716] 2015-06-26 11:05:59 +03:00
Alexey Arno
a13e6f6a56 dbms: Server: Removed test because UNION ALL and FORMAT cannot be reliably tested together with our current functional test framework: 1) in the result of a UNION ALL the rows may appear in any order; 2) If put UNION ALL in a subrequest and use ORDER BY, we cannot test FORMAT. [#METR-16716] 2015-06-25 21:03:09 +03:00
Alexey Arno
a522013939 Merge 2015-06-25 20:38:54 +03:00
Andrey Mironov
9dd999708c Merge 2015-06-25 16:03:46 +03:00
Alexey Milovidov
4ecc523ea5 dbms: fixed error with using comparison of Date or DateTime with constant string in index [#METR-2944]. 2015-06-25 00:24:06 +03:00
Andrey Mironov
54d5517757 Merge 2015-06-24 20:05:40 +03:00
Andrey Mironov
aa7fe63962 dbms: temporarily add merge_tree_uniform_read_distribution setting. [#METR-16457] 2015-06-24 16:22:31 +03:00
Andrey Mironov
b18764404a Merge 2015-06-24 14:03:53 +03:00
Alexey Arno
3874bef1fc dbms: Server: Added unit test. [#METR-16188] 2015-06-23 19:35:04 +03:00
Alexey Milovidov
f3bcb40a45 dbms: added test to prev. revision [#METR-16945]. 2015-06-23 02:54:25 +03:00
Alexey Milovidov
7f2fddeed2 dbms: fixed error in materialized views after refactoring [#METR-16945]. 2015-06-23 02:17:49 +03:00
Alexey Milovidov
8ab76848d7 dbms: QueryLog: development [#METR-16946]. 2015-06-23 00:26:03 +03:00
Andrey Mironov
f012d95b7a dbms: implement alter table detach unreplicated partition [#MTRSADMIN-1093] 2015-06-22 21:24:02 +03:00
Andrey Mironov
2ba22a4a8a dbms: ActiveDataPartSet::level no longer participates in ::contains and ::operator<. 2015-06-22 21:24:02 +03:00
Andrey Mironov
be68461fc6 dbms: correctly determine mark to end of previous block [#MTRSADMIN-1093] 2015-06-22 21:24:02 +03:00
Andrey Mironov
978aba0f4c Merge 2015-06-22 21:24:02 +03:00
Alexey Milovidov
6f3d8f0efc dbms: added simple priorities system [#METR-16911]. 2015-06-21 09:06:04 +03:00
Alexey Milovidov
001ffdfa18 dbms: fixed error with higher order functions [#METR-16894]. 2015-06-19 05:34:47 +03:00
Alexey Milovidov
0180cda4ef dbms: modified test [#METR-2944]. 2015-06-18 16:38:50 +03:00
Alexey Milovidov
ba29065d30 dbms: fixed comment [#METR-2944]. 2015-06-18 05:41:35 +03:00
Alexey Milovidov
09010e81f1 dbms: added test [#METR-2944]. 2015-06-18 05:38:38 +03:00
Alexey Milovidov
580b77c152 dbms: addition to prev. revision [#METR-2944]. 2015-06-18 05:30:50 +03:00
Alexey Milovidov
c757ab96c0 dbms: addition to prev. revision [#METR-2944]. 2015-06-18 05:25:50 +03:00
Alexey Milovidov
29bb4c0f2e dbms: addition to prev. revision [#METR-2944]. 2015-06-18 05:15:26 +03:00
Alexey Milovidov
0719320758 dbms: improvement [#METR-2944]. 2015-06-18 05:11:05 +03:00
Alexey Milovidov
e27323dd2e dbms: addition to prev. revision [#METR-16277]. 2015-06-18 03:34:39 +03:00
Alexey Milovidov
9245f053ca dbms: log query and IP address in case of syntax error [#METR-16277]. 2015-06-18 03:27:25 +03:00
Alexey Milovidov
1b61065f50 dbms: more uniform logging of query, logging client IP address [#METR-16277]. 2015-06-18 00:34:15 +03:00
Alexey Milovidov
fc9bbaa2c1 dbms: added test [#METR-16700]. 2015-06-18 00:11:03 +03:00
Alexey Milovidov
b6ccb2f6f5 dbms: added support for arguments of type Array(String) for function if [#16700]. 2015-06-18 00:10:19 +03:00
Alexey Milovidov
0e01dad0a3 dbms: added support for numeric arrays for arguments of function if [#METR-16700]. 2015-06-17 05:02:53 +03:00
Alexey Milovidov
bb83c867fd dbms: added support for Array arguments of function 'if' (incomplete) [#METR-16700]. 2015-06-17 00:42:18 +03:00
Alexey Milovidov
73072b58c7 dbms: fixed comment [#METR-2944]. 2015-06-17 00:41:47 +03:00
Alexey Milovidov
5c7dccebc1 dbms: allowed to compare Date and DateTime with strings in IN [#METR-2944]. 2015-06-16 21:50:44 +03:00
Pavel Kartavyy
d6e101ae4b Merge 2015-06-16 17:46:24 +03:00
Alexey Vasiliev
528af6d7cf Merge 2015-06-15 16:53:46 +03:00
Alexey Milovidov
26813667eb dbms: allowed to compare Date and DateTime with constant string [#METR-2944]. 2015-06-12 10:46:58 +03:00
Alexey Milovidov
7b76ff3118 dbms: additions to prev. revision [#METR-2944]. 2015-06-12 08:54:49 +03:00
Alexey Milovidov
779d85afc9 dbms: addition to prev. revision [#METR-2944]. 2015-06-12 08:19:18 +03:00
Alexey Milovidov
a9becd36ea dbms: allowed constant expressions in IN [#METR-2944]. 2015-06-12 08:18:47 +03:00
Alexey Milovidov
5b8008e2b1 dbms: fixed error with tuples [#METR-13649]. 2015-06-12 02:38:55 +03:00
Alexey Milovidov
bff45a25fa dbms: improved type checking in IN [#METR-16793]. 2015-06-12 02:09:56 +03:00
Pavel Kartavyy
84c2351774 remove old todo 2015-06-11 11:02:29 +03:00
Alexey Milovidov
7f0e6fd3c1 Merge 2015-06-11 03:35:36 +03:00
Alexey Milovidov
bc17c73ee4 SipHash: allowed not to call update for empty strings (less than 0.3% performance degradation on all test data) [#METR-16781]. 2015-06-10 22:56:57 +03:00
Andrey Mironov
c4d1887a6f dbms: correctly (I hope) determine PREWHERE dependencies for defaults [#METR-16589] 2015-06-10 17:49:38 +03:00
Andrey Mironov
ea4f4420ba dbms: replace old lower/upper(UTF8) with vectorized ones [#METR-14764] 2015-06-10 15:47:27 +03:00
Pavel Kartavyy
4463a747da ReadHelpers: add assertChar function [#METR-15514] 2015-06-10 11:14:46 +03:00
Pavel Kartavyy
6d71c367ed WriteHelpers: add template specialization for const char * [#METR-15514] 2015-06-10 11:11:32 +03:00
Alexey Milovidov
b2bfa55a37 dbms: fixed tests [#METR-16762]. 2015-06-10 02:54:37 +03:00
Alexey Milovidov
9237e308fb dbms: JOIN: added checking of types of key columns [#METR-16762]. 2015-06-10 02:50:22 +03:00
Alexey Milovidov
161d30c902 dbms: adding checking of types when JOIN (incomplete) [#METR-16762]. 2015-06-10 00:34:45 +03:00
Alexey Milovidov
b417ef015f dbms: added test [#METR-16762]. 2015-06-09 23:56:40 +03:00
Alexey Milovidov
d1df9bd43b dbms: Join: added support for constant keys [#METR-16762]. 2015-06-09 23:55:15 +03:00
Alexey Milovidov
c65b2f6a16 dbms: added test [#METR-16722]. 2015-06-09 22:51:45 +03:00
Alexey Milovidov
18a8e1f0ca dbms: StorageBuffer: added missing support for defaults [#METR-16722]. 2015-06-09 22:43:06 +03:00
Alexey Milovidov
b64f094d84 dbms: tiny improvement [#METR-2944]. 2015-06-09 21:58:18 +03:00
Andrey Mironov
4fca014e1b dbms: reload initially failed dictionaries with exponential backoff [#METR-16702] 2015-06-09 19:18:49 +03:00
Alexey Milovidov
c94bd2fc09 dbms: removed useless code [#METR-16739]. 2015-06-08 23:22:02 +03:00
Alexey Milovidov
0b3c071eb9 dbms: removed useless code [#METR-16739]. 2015-06-08 23:19:28 +03:00
Andrey Mironov
432687925c dbms: prevent moving array join-ed columns to PREWHERE. No diagnostic for ExpressionAnalyzer yet though [#METR-16525] 2015-06-08 19:05:44 +03:00
Andrey Mironov
5a60c588bf dbms: ExpressionAnalyzer: redundant null check eliminated, refactoring 2015-06-08 18:22:04 +03:00
Alexey Milovidov
97782b4855 dbms: fixed error with memory tracking [#METR-16433]. 2015-06-08 07:59:45 +03:00
Alexey Milovidov
51be2693ee dbms: addition to SETTINGS [#METR-16354]. 2015-06-06 23:00:08 +03:00
Alexey Milovidov
557b60a19d dbms: fixed tiny error [#METR-15933]. 2015-06-06 22:59:16 +03:00
Alexey Milovidov
af3ccde339 dbms: section SETTINGS: added tests [#METR-16354]. 2015-06-06 04:14:56 +03:00
Alexey Milovidov
70d40aedc3 dbms: added tests for functions of aggregation states [#METR-16677]. 2015-06-06 03:43:54 +03:00
Alexey Milovidov
417ab909b8 dbms: added functions for manipulation of aggregation states [#METR-16677]. 2015-06-06 03:28:37 +03:00
Alexey Milovidov
890ee9c0fa dbms: removed aggregate function 'debug' [#METR-2944]. 2015-06-06 02:19:15 +03:00
Alexey Milovidov
854a2f4cc8 dbms: added optional section SETTINGS to SELECT query [#METR-16354]. 2015-06-06 00:28:04 +03:00
Alexey Milovidov
cac3ce7e27 dbms: allowed more easily to specify cluster name with hyphens [#METR-16610]. 2015-06-05 23:04:54 +03:00
Alexey Milovidov
b4f60297d2 dbms: Client: max_block_sizes: using parameters from Settings as defaults [#METR-2944]. 2015-06-05 22:33:52 +03:00
Alexey Milovidov
f78e0925da Merge 2015-06-05 20:41:51 +03:00
Alexey Milovidov
58465191e8 dbms: fixed error: stuck with too much parts [#METR-16703]. 2015-06-05 20:34:57 +03:00
Andrey Mironov
427469fba9 Merge 2015-06-05 20:30:33 +03:00
Andrey Mironov
0326ee5a2e Merge 2015-06-05 20:30:24 +03:00
Alexey Milovidov
4899dd47aa dbms: get rid of 'increment.txt': addition [#METR-16629]. 2015-06-05 19:41:18 +03:00
Andrey Mironov
5a21f3908b dbms: SSE lower/upperUTF8 faster handling of cyrillic sequences[#METR-14764] 2015-06-04 15:16:48 +03:00
Alexey Arno
9f15e1a483 dbms: Server: Small cosmetic change for memset/memcpy/memmove functions. Does not change functionality. [#METR-15090] 2015-06-04 13:28:31 +03:00
Alexey Milovidov
05814604de dbms: fixed error with ATTACH for replicated tables [#MTRSADMIN-1093]. 2015-06-04 05:07:30 +03:00
Alexey Arno
b86aa4785c dbms: Server: Avoid negative zeroes in all of the remaining cases. [#METR-15210] 2015-06-03 20:01:30 +03:00
Andrey Mironov
1037433f3d dbms: finally fix out-of-bounds access in SSE lower/upper UTF8[#METR-14764] 2015-06-03 19:08:39 +03:00
Alexey Arno
ce1e437c09 dbms: Server: Added function toStartOfFiveMinute. [#METR-14495] 2015-06-03 17:27:03 +03:00
Alexey Arno
de8ad31161 dbms: Server: Added comment. [#METR-16386] 2015-06-03 16:20:19 +03:00
Alexey Arno
59e894426a dbms: Server: Added version function. [#METR-16386] 2015-06-03 16:11:59 +03:00
Alexey Arno
ac80e39c1e dbms: Server: Deleted forgotten garbage from header file. [#METR-16546] 2015-06-03 14:28:16 +03:00
Alexey Milovidov
027342ec5a Merge 2015-06-03 06:56:40 +03:00
Alexey Milovidov
8d09c7f618 dbms: additions [#METR-15987]. 2015-06-03 06:55:29 +03:00
Alexey Milovidov
1cf67bdede dbms: addition to prev. revision [#METR-15987]. 2015-06-03 06:32:37 +03:00
Alexey Milovidov
c341bd2c60 dbms: function 'transform': added support for non-const argument with default value [#METR-15987]. 2015-06-03 06:29:28 +03:00
Alexey Milovidov
9c78e95702 dbms: addition to prev. revision [#METR-16629]. 2015-06-03 00:24:41 +03:00
Alexey Milovidov
76bfd2af21 dbms: addition to prev. revision [#METR-16629]. 2015-06-03 00:08:12 +03:00
Alexey Milovidov
c19193cf61 Merge 2015-06-02 23:22:53 +03:00
Alexey Milovidov
5752d8f561 dbms: removing obsolete parts [#METR-16629]. 2015-06-02 23:21:03 +03:00
Alexey Arno
82a330f47a dbms: Server: Small simplification. [#METR-16546] 2015-06-02 17:18:14 +03:00
Alexey Arno
20fe37511f Merge 2015-06-02 14:16:02 +03:00
Andrey Mironov
018a31f416 dbms: SSE lower/upperUTF8 fix calculation of array end aligned to a multiple of 16 [#METR-14764] 2015-06-01 15:51:07 +03:00
Alexey Milovidov
9c2cf55a28 dbms: addition to prev. revision [#METR-16576]. 2015-05-30 00:37:17 +03:00
Alexey Milovidov
68cfd47195 dbms: added missing aggregate function synonim [#METR-16266]. 2015-05-30 00:33:18 +03:00
Alexey Milovidov
96f1bbc379 dbms: added support for randomization of quota intervals [#METR-16576]. 2015-05-30 00:32:10 +03:00
Alexey Milovidov
6a5ef9be83 dbms: fixed error with hanging INSERTs [#METR-16514]. 2015-05-29 23:36:09 +03:00
Alexey Milovidov
3a6d28eb0e dbms: fixed error: empty queries in process list [#METR-16577]. 2015-05-29 22:08:51 +03:00
Alexey Milovidov
98594561d5 dbms: fixed error [#METR-15210]. 2015-05-29 19:46:46 +03:00
Alexey Milovidov
f16cdbdefa dbms: tiny modifications for rounding functions [#METR-15210]. 2015-05-29 19:09:51 +03:00
Andrey Mironov
78bda3cd50 dbms: SSE lower/upperUTF8 finer granularity, more realistic approach [#METR-14764] 2015-05-29 17:58:33 +03:00
Andrey Mironov
ff7dc2635b dbms: SSE lower/upper(UTF8) fix logical error, disable SSE4.2 [#METR-14764] 2015-05-29 13:43:05 +03:00
Andrey Mironov
8825aa2db3 dbms: SSE lower/upper(UTF8) fix hardcode and harness SSE4.2 [#METR-14764] 2015-05-29 11:43:20 +03:00
Alexey Milovidov
3db1bf63a2 dbms: fixed error [#METR-16575] [#METR-16573]. 2015-05-29 03:33:56 +03:00
Alexey Milovidov
3786513a3c dbms: fixing error [#METR-16575]. 2015-05-29 00:41:28 +03:00
Alexey Arno
b2679d1886 Merge 2015-05-28 17:01:46 +03:00
Alexey Arno
8125cad146 dbms: Server: Performance improvements. [#METR-15210] 2015-05-28 17:00:52 +03:00
Alexey Arno
79bad96d98 dbms: Server: Performance improvements. [#METR-15210] 2015-05-28 15:58:09 +03:00
Andrey Mironov
b06bdb0edf dbms: add SSE variants of lower/upper and UTF8 equivalents [#METR-14764] 2015-05-28 15:33:07 +03:00
Alexey Milovidov
40f0a9c4d9 dbms: fixed error with false-broken parts [#METR-16545]. 2015-05-28 07:32:38 +03:00
Alexey Milovidov
986f7b55bb dbms: addition to prev. revision [#METR-16545]. 2015-05-28 07:09:09 +03:00
Alexey Milovidov
c03cec07de dbms: addition to prev. revision [#METR-16545]. 2015-05-28 07:07:09 +03:00
Alexey Milovidov
0984363b9c dbms: removed passing DataTypeFactory everywhere [#METR-16545]. 2015-05-28 06:49:28 +03:00
Alexey Milovidov
ef54e74f45 dbms: supported 'NOT NOT x' chain in parser [#METR-16543]. 2015-05-28 04:41:40 +03:00
Alexey Arno
463ee81a9d dbms: Server: Performance improvements + fixed rounding algorithm for negative precisions. [#METR-15210] 2015-05-28 01:59:46 +03:00
Alexey Milovidov
5390f492e1 dbms: JOIN with empty table: additions [#METR-16476]. 2015-05-27 03:55:54 +03:00
Andrey Mironov
7f38ad390e dbms: allow specifying expressions for dictionary attributes [#METR-16432] 2015-05-26 18:09:53 +03:00
Andrey Mironov
ff4fb2784a zkutil: rework KeeperException to minimize repetition, set non-zero return code for KeeperException, process ZSESSIONMOVED as unrecoverable 2015-05-26 17:40:36 +03:00
Andrey Mironov
afa79bfcda dbms: add parsing of expression to DictionaryStructure [#METR-16432] 2015-05-26 15:24:31 +03:00
Andrey Mironov
31b868184d dbms: show all dictionaries in system.dictionaries, even the ones failed to load. [#METR-16466] 2015-05-26 14:54:05 +03:00
Alexey Arno
28822deffb dbms: Server: Fixed computation overflow issue. [#METR-16435] 2015-05-26 13:00:17 +03:00
Alexey Milovidov
baaf5d0485 dbms: allowed to JOIN with empty table [#METR-16476]. 2015-05-26 03:37:48 +03:00
Alexey Milovidov
c160b7e460 dbms: tiny modification [#METR-2944]. 2015-05-26 03:35:13 +03:00
Alexey Arno
3bff6644f9 dbms: Server: Updated functional test for rounding functions. [#METR-15210] 2015-05-25 19:32:53 +03:00
Alexey Arno
d34ed382e0 dbms: Server: Added functional test for rounding functions. [#METR-15210] 2015-05-25 19:13:10 +03:00
Sergey Magidovich
09e5261dff Merge 2015-05-25 18:44:30 +03:00
Andrey Mironov
fef078c8ec Merge 2015-05-25 18:33:44 +03:00
Alexey Arno
c965ef892a Merge 2015-05-25 18:09:12 +03:00
Sergey Magidovich
1143c9def9 statdaemons: Add test. [#MOBMET-1661] 2015-05-25 17:10:30 +03:00
Alexey Arno
57287a28c1 Merge 2015-05-25 16:39:06 +03:00
Pavel Kartavyy
52b004722e CalcCloud: fix compability with java StoreInfo 2015-05-25 16:20:17 +03:00
Pavel Kartavyy
ce8e182d9c dbms: fix comments for network_compression_method [#METR-16391] 2015-05-22 18:22:37 +03:00
Pavel Kartavyy
665afc2550 dbms: renamed SettingsNetworkCompressionMethod to SettingsCompressionMethod[#METR-16391] 2015-05-22 18:22:36 +03:00
Pavel Kartavyy
34f1b2e8a8 dbms: build fix [#METR-16391] 2015-05-22 18:22:36 +03:00
Pavel Kartavyy
392dc138ba dbms: add compression method to client [#METR-16391] 2015-05-22 18:22:36 +03:00
Pavel Kartavyy
391ec6451b dbms: use network_compression_method when server writes result [#METR-16391] 2015-05-22 18:22:36 +03:00
Pavel Kartavyy
65d74a6195 dbms: add network compression method to settings [#METR-16391]
dbms: add network compression method to settings [#METR-16391]
2015-05-22 18:22:36 +03:00
Andrey Mironov
f465feeb28 dbms: DictionarySource::loadIds pass ids by reference to const.
Allow specifying "where" for MySQL and ClickHouse dictionary sources [#METR-16432]
2015-05-22 16:25:59 +03:00
Andrey Mironov
3fc0fda58f dbms: ExpressionAnalyzer: addStorageAliases add useful todo 2015-05-22 16:25:59 +03:00
Andrey Mironov
9b5ff37c09 dbms: set optimize_move_to_prewhere to on by default [#METR-13020] 2015-05-21 19:26:23 +03:00
Andrey Mironov
8ddc49125c dbms: do not expand ALIAS column names. [#METR-16390] 2015-05-21 16:47:29 +03:00
Andrey Mironov
728d367d34 dbms: FunctionsMath: use Vec2d::store for faster stores 2015-05-21 15:26:29 +03:00
Pavel Kartavyy
f377dccdf1 PoolWothFailover: fix wrong exception type 2015-05-21 14:19:58 +03:00
Alexey Arno
569a383606 dbms: Server: bug fix. [#METR-15210] 2015-05-20 19:21:58 +03:00
Alexey Arno
1143cfb7ad dbms: Server: performance optimizations. [#METR-15210] 2015-05-20 18:34:09 +03:00
Alexey Arno
793d1accfc dbms: Server: performance optimizations. [#METR-15210] 2015-05-20 17:00:40 +03:00
Alexey Arno
6dca411831 Merge 2015-05-20 16:21:39 +03:00
Alexey Arno
c5535adb03 dbms: Server: MySQL conformant behavior for limit cases. [#METR-16188] 2015-05-20 15:35:15 +03:00
Alexey Arno
262564a0d5 dbms: Server: MySQL conformant behavior for limit cases. [#METR-16188] 2015-05-20 15:18:46 +03:00
Andrey Mironov
fb2828f256 Merge 2015-05-20 15:06:48 +03:00
Alexey Arno
3658260d63 dbms: Server: refactoring. [#METR-16188] 2015-05-20 15:04:33 +03:00
Alexey Arno
758add05b4 dbms: Server: refactoring. [#METR-16188] 2015-05-20 14:09:54 +03:00
Alexey Arno
76dcc45edf dbms: Server: Small style cleanup + numerical stability improvement for covariance and correlation. [#METR-16188] 2015-05-20 12:17:25 +03:00
Alexey Arno
b46ce05dbe Merge 2015-05-19 18:06:12 +03:00
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
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