Commit Graph

3249 Commits

Author SHA1 Message Date
Alexey Milovidov
c461d32474 dbms: fixed comment [#METR-2944]. 2015-11-21 18:51:09 +03:00
Alexey Milovidov
8314861690 dbms: improved performance of INSERT SELECT [#METR-19025]. 2015-11-21 18:47:32 +03:00
Alexey Milovidov
2c67747a0d dbms: implemented quantilesTDigest and quantilesTDigestWeighted aggregate functions [#METR-19024]. 2015-11-21 17:04:43 +03:00
Alexey Milovidov
31c09b4d2d dbms: added weighted variants of t-digest [#METR-19024]. 2015-11-21 16:24:51 +03:00
Alexey Milovidov
57e8a8fdbb dbms: added t-digest algorithm [#METR-19024]. 2015-11-21 15:47:41 +03:00
Alexey Milovidov
d7c24b8203 dbms: fixed build [#METR-2944]. 2015-11-21 06:20:31 +03:00
Alexey Milovidov
659cf5a940 dbms: improved performance of ColumnArray::filter [#METR-19022]. 2015-11-21 06:19:43 +03:00
Andrey Mironov
715d2f6ce5 dbms: add key description to system.dictionaries[#METR-17328] 2015-11-20 19:20:54 +03:00
Andrey Mironov
aece1d21f8 dbms: improve dictGet functions for constant defaults [#METR-17328], [#METR-18520] 2015-11-20 18:53:23 +03:00
Alexey Milovidov
2d00e5d84f dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847]. 2015-11-20 00:34:53 +03:00
Andrey Mironov
295e23a587 dbms: reimplement ArenaWithFreeLists on top of Arena [#METR-17328], [#METR-18520] 2015-11-19 18:06:00 +03:00
Andrey Mironov
de8eb7b914 dbms: fix debug build of ArenaWithFreeLists. [#METR-17328], [#METR-18520] 2015-11-19 16:41:35 +03:00
Andrey Mironov
6c8c0e03cb dbms: slightly refactor most dictionaries, add dictHas function for all dictionaries supporting dictGet*OrDefault. [#METR-17328], [#METR-18520] 2015-11-19 16:15:02 +03:00
Andrey Mironov
6d42868283 dbms: ClickHouseDictionarySource: check that key is present before dereferencing [#METR-18945] 2015-11-19 09:50:05 +03:00
Alexey Milovidov
09dd253636 dbms: added support for SAMPLE ... OFFSET [#METR-18847]. 2015-11-19 00:37:28 +03:00
Alexey Milovidov
8255d76754 dbms: added missing include [#METR-18945]. 2015-11-19 00:35:24 +03:00
Andrey Mironov
e4ecbf42b1 dbms: fix cache-type dictionary memory effect on default values [#METR-17382] 2015-11-18 17:06:53 +03:00
Andrey Mironov
8feafa0da2 dbms: add dictGet*OrDefault for all new dictionaries [#METR-17382] 2015-11-18 16:31:29 +03:00
Andrey Mironov
4f1caeb0e4 dbms: SmallObjectPool for ComplexKeyCacheDictionary [#METR-17382] 2015-11-18 14:53:15 +03:00
Andrey Mironov
2e8cc93664 dbms: ArenaWithFreeLists basic implementation. [#METR-17382] 2015-11-17 19:09:43 +03:00
Alexey Milovidov
0270f2ff4d dbms: addition [#METR-18778]. 2015-11-17 02:49:18 +03:00
Alexey Milovidov
4056b3f2c8 dbms: fixed error [#METR-18778]. 2015-11-16 23:33:43 +03:00
Andrey Mironov
b6930dafa1 dbms: support loading composite keys in MySQLDictionarySource [#METR-17328] 2015-11-16 20:49:39 +03:00
Andrey Mironov
0fd1fc9cdc dbms: add ComplexKeyCacheDictionary, not yet complete [#METR-17328]
Requires a way of deallocating keys in memory Arena (a new type of arena, actually), MySQLDictionarySource not yet capable of requesting complex keys.
2015-11-16 20:49:39 +03:00
Andrey Mironov
7798c45b5b dbms: rename validateKeyColumns to validateKeyTypes [#METR-17328] 2015-11-16 20:49:39 +03:00
Alexey Milovidov
408a2e4751 Fixed errors in gcc-5 [#METR-18843]. 2015-11-16 07:56:31 +03:00
Alexey Milovidov
302e726a14 dbms: fixed error in gcc-5 [#METR-18843]. 2015-11-16 07:00:46 +03:00
Alexey Milovidov
df3f04cdeb dbms: fixing warnings in gcc-5 [#METR-18843]. 2015-11-16 06:28:10 +03:00
Alexey Milovidov
27ff4dd5d8 Updated double-conversion library (fixed warning in gcc-5) [#METR-18843]. 2015-11-16 06:10:37 +03:00
Alexey Milovidov
a82692e655 dbms: fixed error [#METR-2944]. 2015-11-15 12:17:51 +03:00
Alexey Milovidov
4b7db2cc36 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:17:11 +03:00
Alexey Milovidov
dc04cb7b88 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:14:22 +03:00
Alexey Milovidov
a7469e82d1 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 12:12:40 +03:00
Alexey Milovidov
2870fbb655 dbms: moved file [#METR-18778]. 2015-11-15 12:06:53 +03:00
Alexey Milovidov
49580a9048 dbms: added aggregate function quantileExactWeighted and companions [#METR-18778]. 2015-11-15 11:31:08 +03:00
Alexey Milovidov
3a1a8c9567 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 10:05:01 +03:00
Alexey Milovidov
a2efbc1efc dbms: renamed functions [#METR-18778]. 2015-11-15 09:23:44 +03:00
Alexey Milovidov
3a6f91fc70 dbms: addition to prev. revision [#METR-18778]. 2015-11-15 09:19:34 +03:00
Alexey Milovidov
4a537fcb84 dbms: moved file [#METR-18778]. 2015-11-15 09:18:43 +03:00
Alexey Milovidov
749e54749c dbms: moved file [#METR-18778]. 2015-11-15 09:11:58 +03:00
Alexey Milovidov
f353711e5e dbms: improved performance of quantile and quantileDeterministic aggregate functions [#METR-18778]. 2015-11-15 08:52:41 +03:00
Alexey Milovidov
8732e7a3f1 dbms: improved performance of aggregate function groupArray [#METR-18778]. 2015-11-15 07:54:56 +03:00
Alexey Milovidov
8a0892f2fb dbms: quantileExact: added small set optimization [#METR-18778]. 2015-11-15 06:20:29 +03:00
Alexey Milovidov
4c87ec04b4 dbms: quantileExact: initial implementation [#METR-18778]. 2015-11-15 06:11:24 +03:00
Alexey Milovidov
959ae7cd78 dbms: unified allocators [#METR-18778]. 2015-11-15 06:09:40 +03:00
Andrey Mironov
078cc8dbb4 dbms: significantly simplify ComplexKeyDictionary code and length [#METR-17328]
Add commentary about dictGet*OrDefault to FlatDictionary.
2015-11-13 17:01:30 +03:00
Andrey Mironov
c0ba6bedcb dbms:rename ComplexKeyDictionary to ComplexKeyHashedDictionary [#METR-17328] 2015-11-13 14:21:40 +03:00
Andrey Mironov
a863b2b0a4 dbms: take ComplexKeyDictionary::keys_pool size into account when determining bytes_allocated [#METR-17328] 2015-11-13 14:08:25 +03:00
Andrey Mironov
5c641ffc78 dbms: dictGet* functions for complex_key dictionary. No dictGet*OrDefault variants yet [#METR-17328] 2015-11-13 04:44:41 +03:00
Andrey Mironov
701bed3fae dbms: add ComplexKeyDictionary, no fetching of values yet [#METR-17328] 2015-11-12 19:29:07 +03:00