Commit Graph

238 Commits

Author SHA1 Message Date
Vladimir Smirnov
d36f52502e Make it compilable on OS X
It's still hackish and dirty, but server and client compies.

Server starts, but throwes meaningless exception on any query.

Client seems to be working fine.

Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Vitaliy Lyudvichenko
07f4bfc844 Fixed segfaults in quantiles* functions with empty levels set. [#METR-23285] 2016-10-27 17:51:43 +03:00
alexey-milovidov
3296310a9d Merge pull request #116 from ludv1x/METR-22071
More datatypes for groupUniqArray() function [#METR-22071]
2016-09-29 23:53:18 +04:00
Vitaliy Lyudvichenko
a3d72db2aa Added allocatesMemoryInArena() method for aggregate functions.
Fixed runningAccumulate, now it works properly for complex functions.
More accurate threads handling in Aggregator.
2016-09-28 16:28:55 +03:00
Vitaliy Lyudvichenko
80f037b12e Added arena parameter into merge() method of aggregation function states. [#METR-22071] 2016-09-26 15:42:40 +03:00
Vitaliy Lyudvichenko
946a037f71 Added requested changes. [#METR-22071] 2016-09-23 14:24:48 +03:00
Alexey Milovidov
2cceb41877 Fixed error with anyLastIf function [#MARKETHEALTH-550]. 2016-09-23 06:44:51 +03:00
Vitaliy Lyudvichenko
37ed6a3038 Fixed dynamic complation errors. [#METR-22071] 2016-09-21 20:13:32 +03:00
Vitaliy Lyudvichenko
451a4b1d67 Added new Arena parameter to add() method of IAggregateFunction. [#METR-22071] 2016-09-21 20:13:32 +03:00
Vitaliy Lyudvichenko
924075621e Added three experimental implementations for groupUniqArray() aggregate function. [#METR-22071] 2016-09-21 20:13:32 +03:00
Alexey Milovidov
9fd26e381a Less code [#MOBMET-3953]. 2016-08-07 01:31:58 +03:00
Alexey Milovidov
e66ba2e1d8 Fixed error with aggregate function anyHeavy [#METR-21691]. 2016-07-17 20:06:19 +03:00
Alexey Milovidov
55ed2904f4 Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087]. 2016-07-14 08:22:09 +03:00
Alexey Milovidov
d4c364afa9 Tiny modifications [#METR-22035]. 2016-07-10 20:19:35 +03:00
Alexey Milovidov
f5f38e1e50 Better support for tuples, arrays in SELECT DISTINCT [#METR-22035]. 2016-07-10 18:58:58 +03:00
Alexey Arno
09ec76ebb2 dbms: Server: Fixed bug. Currently the move constructor and assignement operator of PODArray behave incorrectly if used with AllocatorWithStackMemory. Anyway here no move operation is needed to achieve what we want to do. [#METR-18844] 2016-07-04 20:31:51 +03:00
Alexey Arno
6c3d36d616 dbms: Server: Renaming [#METR-18844] 2016-06-30 19:56:13 +03:00
Alexey Arno
d537ad38c8 dbms: Server: Added missing tweaks [#METR-18844] 2016-06-30 19:43:22 +03:00
Alexey Arno
86f14711cc dbms: Server: Use PODArray instead of std::vector in sequenceMatch/Count functions implementation [#METR-18844] 2016-06-30 19:31:48 +03:00
Alexey Milovidov
aafe85e474 Modified comment [#METR-21691]. 2016-06-28 21:00:04 +03:00
Alexey Milovidov
b408afa74f Added 'anyHeavy' aggregate function [#METR-21691]. 2016-06-26 15:48:04 +03:00
Alexey Milovidov
9485e493d1 Fixed memory leak in function quantileTiming [#METR-21614]. 2016-06-11 17:27:54 +03:00
Alexey Milovidov
8c4abcdd43 Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:42:22 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
be394f2c84 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 10:48:40 +03:00
Alexey Milovidov
bde00e80cc Added missing modifications [#METR-20892]. 2016-04-15 19:07:58 +03:00
Alexey Milovidov
7301154faf Fixed error in function quantilesTiming [#METR-20821]. 2016-04-11 20:52:20 +03:00
Alexey Milovidov
d06a5906bf Quantiles: better [#METR-20381]. 2016-03-13 22:00:59 +03:00
Alexey Milovidov
1203a0a9c4 Fixed error [#METR-20381]. 2016-03-13 21:15:41 +03:00
Alexey Milovidov
745a29949e Updated comment [#METR-20381]. 2016-03-13 18:01:36 +03:00
Alexey Milovidov
bcd6875d6f Fixed off-by-one errors in aggregate functions quantileTiming and quantileExactWeighted [#METR-20381]. 2016-03-13 17:40:27 +03:00
Alexey Milovidov
a9b8677c26 Aggregate function quantileTiming: improved performance, lowered memory usage, lowered network traffic and improved precision [#METR-20359]. 2016-03-12 10:22:58 +03:00
Alexey Milovidov
18016c4221 Merge 2016-03-12 07:01:03 +03:00
Alexey Milovidov
8b36994d88 Attempt to improve performance and memory usage of quantileTiming aggregate function [#METR-20359]. 2016-03-12 00:43:59 +03:00
Alexey Milovidov
ced97fc586 Lowered size of uncompressed serialized state of aggregate function quantileTiming about 20 times in average; improved performance of distributed queries [#METR-20359]. 2016-03-11 06:43:16 +03:00
Alexey Milovidov
aea710d430 Removed function groupUniqArray from Array argument [#METR-20150]. 2016-02-20 22:04:35 +03:00
Alexey Milovidov
a4cb6a3de9 Fixed error with groupUniqArray aggregate function of Array arguments [#METR-20150]. 2016-02-20 21:11:50 +03:00
Alexey Milovidov
8b3afeb60d Squashed commit of the following:
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:11:29 2016 +0300

    Addition [#METR-2944].

commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:08:43 2016 +0300

    Fixed error (incomplete) [#METR-2944].

commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 05:37:43 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:37:12 2016 +0300

    Improving performance of text formats [#METR-2944].

commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:18:00 2016 +0300

    Improving performance of row formats [#METR-2944].

commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Mon Feb 15 00:53:27 2016 +0300

    Fixed error.

commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 23:13:46 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 16:58:56 2016 +0300

    Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
43c73cf7ee dbms: added support for CSV format [#METR-19957]. 2016-02-07 11:42:21 +03:00
Alexey Milovidov
f818977092 dbms: fixed dynamic compilation [#METR-2944]. 2016-01-19 05:25:07 +03:00
Alexey Milovidov
b591d907e1 dbms: fixed error [#METR-19592]. 2016-01-13 03:47:12 +03:00
Alexey Milovidov
489bcb74e8 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:22:40 +03:00
Alexey Milovidov
c062fc1ce0 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:21:15 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Alexey Milovidov
03ec2269fa dbms: better [#METR-19278]. 2015-12-23 10:00:33 +03:00
Andrey Mironov
02ce1bede2 dbms: add support for comparing enums [#METR-19265] 2015-12-22 15:03:47 +03:00
Andrey Mironov
3fb8fedd19 AggregateFunctionSum: change type prerequisite to behavesAsNumber [#METR-19265] 2015-12-22 15:03:47 +03:00
Alexey Milovidov
98b3bfa48d dbms: workaround for incompatibility with gcc and clang [#METR-19128]. 2015-11-27 00:31:06 +03:00
Alexey Milovidov
747525d818 dbms: quantileTDigest: attempt to fix an error (incomplete) [#METR-19024]. 2015-11-26 00:42:41 +03:00
Alexey Milovidov
eca62f753c dbms: fixed error [#METR-19024]. 2015-11-24 06:21:37 +03:00