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
Alexey Milovidov
5546f7f75b
Normalized formatting [#CLICKHOUSE-3].
2017-03-09 07:26:17 +03:00
Alexey Milovidov
f24df4b648
Removed zero-width spaces [#CLICKHOUSE-3].
2017-03-09 07:18:41 +03:00
f1yegor
48bd5b696c
translate comments
2017-03-09 01:56:38 +01:00
Vitaliy Lyudvichenko
3ee4e6b79b
Banned Null(AggregateFunction(...)) type in arrayReduce. Fix test. [#CLICKHOUSE-2845]
2017-02-18 22:25:19 +03:00
Vitaliy Lyudvichenko
411ba82a24
Fix after PR merge.
2017-02-18 03:26:32 +03:00
Vitaliy Lyudvichenko
97c4211409
Add support of scalars with AggregateFunction() type. [#CLICKHOUSE-2845]
...
Fixed segfaults for arrayReduce. [#CLICKHOUSE-2787]
2017-02-18 00:36:31 +04:00
proller
f84833f69b
fix missing includes ( #483 )
2017-02-12 14:40:47 +03:00
Alexey Milovidov
74cef1d69e
Miscellaneous [#CLICKHOUSE-2].
2017-02-10 12:07:27 +03:00
Alexey Milovidov
17e3a4ff1f
Implemented aggregate function 'count' with Nullable arguments to count number of not-NULL values [#CLICKHOUSE-2833].
2017-02-10 12:02:10 +03:00
Alexey Milovidov
0d903dbf07
Addition to prev. revision; added test [#CLICKHOUSE-2832].
2017-02-10 09:03:09 +03:00
alexey-milovidov
0d5c0b8350
Proper behaviour of aggregate functions of nullable arguments ( #473 )
...
* Proper behaviour of aggregate functions of Nullable arguments [#CLICKHOUSE-2832].
* Proper behaviour of aggregate functions of Nullable arguments [#CLICKHOUSE-2832].
2017-02-10 09:03:42 +04:00
proller
b2b16b407f
More include fixes ( #462 )
...
* More include fixes
* fix
2017-02-08 01:26:32 +04:00
proller
27cde5f8c8
Fix some includes and missing definitions ( #446 )
2017-02-03 02:08:19 +04:00
alexey-milovidov
ed5b521110
Less dependencies 2 ( #378 )
...
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
Vitaliy Lyudvichenko
fb40b74270
Fixed segfault in aggregation combinators using complex functions with Arenas. [#METR-24025]
2017-01-09 15:41:47 +03:00
Alexey Milovidov
d89ee33ce2
Squashed commit of the following:
...
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:35:01 2017 +0300
Style [#METR-2944].
commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:33:11 2017 +0300
Miscellaneous [#METR-2944].
commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:30:19 2017 +0300
Miscellaneous [#METR-2944].
commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:11:41 2017 +0300
Miscellaneous [#METR-2944].
commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:56:15 2017 +0300
Miscellaneous [#METR-2944].
commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:47:52 2017 +0300
Miscellaneous [#METR-2944].
commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:46:05 2017 +0300
Miscellaneous [#METR-2944].
commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:39:46 2017 +0300
Miscellaneous [#METR-2944].
commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:38:03 2017 +0300
Miscellaneous [#METR-2944].
commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:34:15 2017 +0300
Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Alexey Milovidov
94c64a758f
Miscellaneous [#METR-2944].
2016-12-30 02:17:05 +03:00
Alexey Milovidov
7771a3aa13
Miscellaneous [#METR-2944].
2016-12-27 09:34:01 +03:00
Alexey Milovidov
e97ecb6cf7
Merge branch 'master' into METR-19266
...
Conflicts:
dbms/CMakeLists.txt
dbms/include/DB/Functions/FunctionsArray.h
dbms/include/DB/Functions/FunctionsString.h
dbms/include/DB/Parsers/ExpressionListParsers.h
dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
dbms/src/Core/ErrorCodes.cpp
dbms/src/Parsers/ASTFunction.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/MergeTreeReader.cpp
dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03: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
07f4bfc844
Fixed segfaults in quantiles* functions with empty levels set. [#METR-23285]
2016-10-27 17:51:43 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +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 Arno
b7ca838dc0
dbms: Server: cleanups [#METR-19266]
2016-09-11 13:06:34 +03:00
Alexey Arno
f4e77aaf97
dbms: Better code for functions processing. Code cleanup. [#METR-19266]
2016-08-15 14:14:29 +03:00
Alexey Arno
f5d9d0ebc9
Merge branch 'master' into METR-19266 [#METR-19266]
2016-08-10 22:13:15 +03:00
Alexey Arno
e2b6e10ec1
dbms: Various fixes + more comments [#METR-19266]
2016-08-10 22:12:29 +03:00
Alexey Milovidov
9fd26e381a
Less code [#MOBMET-3953].
2016-08-07 01:31:58 +03:00
Alexey Arno
531ff3d5ac
dbms: Merged with master [#METR-19266]
2016-08-05 18:44:19 +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 Arno
7e2f0d22cc
dbms: aggregate function support [#METR-19266]
2016-07-12 16:07:39 +03:00
Alexey Arno
13b4a5bd4a
dbms: aggregate function support [#METR-19266]
2016-07-12 16:02:52 +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