Commit Graph

23 Commits

Author SHA1 Message Date
alexey-milovidov
6d5bfc8c6f Refactoring of numeric DataTypes (#581)
* Better code [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].
2017-03-12 14:13:45 +04:00
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
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
Vitaliy Lyudvichenko
451a4b1d67 Added new Arena parameter to add() method of IAggregateFunction. [#METR-22071] 2016-09-21 20:13:32 +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
be394f2c84 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 10:48:40 +03:00
Alexey Milovidov
18016c4221 Merge 2016-03-12 07:01:03 +03:00
Alexey Milovidov
c062fc1ce0 dbms: cutting dependency [#METR-2944]. 2016-01-12 05:21:15 +03:00
Alexey Milovidov
1889600e39 dbms: improved performance of Aggregator in non-compiled case [#METR-2944]. 2015-11-21 22:46:27 +03:00
Alexey Milovidov
fefd3791f1 Moved files [#METR-17973]. 2015-10-05 03:33:43 +03:00
Alexey Arno
19bc3181f2 Merge 2015-09-24 15:40:36 +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
Andrey Mironov
acb10923de add aggregate function sequenceCount [#METR-17427] 2015-08-21 18:58:31 +03:00
Andrey Mironov
d192a76be8 dbms: sequenceMatch: add iterations threshold with exception [#METR-17425] 2015-08-18 19:11:31 +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