Commit Graph

2984 Commits

Author SHA1 Message Date
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
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
Anton Tikhonov
330d0a99b0 Merge 2015-08-19 12:07:41 +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
5011e4d581 dbms: added StripeLog engine [#METR-17716]. 2015-08-16 11:18:34 +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
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
cf4a0e85ef dbms: lowered memory usage for INSERT [#METR-17704]. 2015-08-14 05:45:40 +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 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 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
311a41e14f Merge 2015-08-07 18:24:23 +03:00
Alexey Milovidov
ca3a36c3e1 dbms: addition to prev. revision [#METR-17606]. 2015-08-07 02:46:15 +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
4ab0052456 dbms: more compact formatting of queries with aliases: development [#METR-17606]. 2015-08-06 00:38:31 +03:00
Alexey Milovidov
5b0b5dc9cf dbms: added memory-efficient mode of distributed aggregation [#METR-17536]. 2015-07-31 02:41:02 +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
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
38d6128150 dbms: added column sizes to system.columns table [#METR-17475]. 2015-07-26 14:34:41 +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
8e44832c85 dbms: scalar subqueries: development [#METR-17472]. 2015-07-26 10:55:48 +03:00
Alexey Milovidov
80ce5f1f65 dbms: scalar subqueries: initial implementation [#METR-17472]. 2015-07-25 14:47:50 +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
04c78e57ef dbms: function extractURLParameter: fixed error and removed support for ; [#METR-17461]. 2015-07-24 22:23:22 +03:00
Andrey Mironov
9fea075cb0 Merge 2015-07-24 17:46:29 +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
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
9364b2a13a dbms: fixed error in split functions [#METR-17374]. 2015-07-20 23:05:34 +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
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
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
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
52847e6591 Merge 2015-07-17 00:03:53 +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 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
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
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
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
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