Commit Graph

375 Commits

Author SHA1 Message Date
alexey-milovidov
d1eac37389
Update AggregateFunctionMaxIntersections.h 2018-07-16 19:04:35 +03:00
Michael Furmur
218a282f88 maxIntersections: add sorting by weight 2018-07-16 15:01:05 +03:00
Alexey Milovidov
6a2d8d4f3f Added support for arbitary complex types in "uniq" family of aggregate functions #2010 2018-07-16 06:55:41 +03:00
Alexey Milovidov
b3b41c9661 Non significant changes #2521 2018-07-11 15:59:37 +03:00
Mikhail Surin
877acef7d5 remove temporary allocations 2018-07-08 16:56:33 +03:00
Mikhail Surin
69b8774611 ensure parameter type 2018-07-07 15:38:47 +03:00
Mikhail Surin
9f5e9d1389 epsilon 2018-07-07 15:09:21 +03:00
Mikhail Surin
ca837723ed fix unique for empty point sets 2018-07-07 13:40:32 +03:00
Mikhail Surin
8c4f04c452 invalid values handler 2018-07-06 14:29:14 +03:00
Mikhail Surin
0418f179dc merge review 2018-07-05 16:29:43 +03:00
Mikhail Surin
8bb17685fd reduce memory footprint 2018-07-05 14:33:59 +03:00
Mikhail Surin
984fe8e4fd implement n log(n) compression algorigthm 2018-07-05 12:53:42 +03:00
Mikhail Surin
b09323c547 naive implementation 2018-07-05 12:53:42 +03:00
Alexey Milovidov
c45aa180e8 Reviewing #2521 2018-07-05 02:24:36 +03:00
Alexey Milovidov
ac2d352203 Reviewing #2521 2018-07-05 01:28:15 +03:00
Alexey Milovidov
b18a0e3ec0 Reviewing #2521 2018-07-05 00:49:32 +03:00
Nikolai Kochetov
9f591b8d02 Merged with master. 2018-06-26 17:41:29 +03:00
Mikhail Surin
0188538b33 fix review 2018-06-22 21:30:13 +03:00
Mikhail Surin
7ee530a97d implement n log(n) compression algorigthm 2018-06-22 21:30:13 +03:00
Mikhail Surin
511e608080 use arena 2018-06-22 21:30:13 +03:00
Mikhail Surin
2f300e9df9 change bins schema 2018-06-22 21:30:13 +03:00
Mikhail Surin
3373909cbd naive implementation 2018-06-22 21:30:09 +03:00
proller
cb65528147 Build fixes (#2481)
* Build fixes

* fix

* Fix package without compiler

* Better

* fix

* fix

* fix

* Build fix

* fix

* fix

* fix

* Build fix

* Fix test

* test fixes

* test: netcat-openbsd

* Compile fixes

* Update AggregateFunctionStatisticsSimple.h

* Update FunctionsRound.h
2018-06-07 17:42:38 +03:00
Nikolai Kochetov
caa86bc59a Fixed ColumnWithDictionary::serializeBinaryBulkWithMultipleStreams, added more comments. 2018-06-05 13:10:44 +03:00
Alexey Milovidov
ca52d96e09 Insignificant changes for PVS-Studio [#CLICKHOUSE-3] 2018-06-04 22:22:27 +03:00
Alexey Milovidov
522cd82e76 Non significant change: slightly better [#CLICKHOUSE-3] 2018-06-04 18:07:32 +03:00
Alexey Milovidov
531e9d14be Non significant change: slightly better [#CLICKHOUSE-3] 2018-06-04 18:01:24 +03:00
Alexey Milovidov
1829aba596 Non significant change: slightly better [#CLICKHOUSE-3] 2018-06-04 17:17:47 +03:00
Alexey Milovidov
f5adbceed2 Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2] 2018-06-03 23:39:06 +03:00
Alexey Milovidov
1c2b024c39 Non significant changes according to clang's -Weverything, part 2 [#CLICKHOUSE-2] 2018-06-03 20:43:56 +03:00
Nikolai Kochetov
937cb2db29 Merged with master. 2018-05-21 14:38:50 +03:00
Alexey Milovidov
1fa8a9a6df Fixed unclean code #2352 2018-05-13 13:05:34 +03:00
Alexey Milovidov
cecffcd5ab Apply ./utils/check-style/fix-style #2352 2018-05-13 12:36:51 +03:00
alexey-milovidov
9043820565
Update AggregateFunctionWindowFunnel.h 2018-05-13 12:31:13 +03:00
sundy-li
c56e9967f2 Add tests && docs 2018-05-13 16:18:35 +08:00
sundy-li
64b1b6d764 Add windowFunnel AggregateFunction 2018-05-12 23:49:17 +08:00
Alexey Milovidov
956128a67a Fixed style a bit [#CLICKHOUSE-2] 2018-05-07 05:01:11 +03:00
Alexey Milovidov
a0f1b1f1ee Whitespace [#CLICKHOUSE-2] 2018-05-06 05:21:59 +03:00
Nikolai Kochetov
535e883770 Added ConvertColumnWithDictionaryToFullBlockInputStream. 2018-05-04 15:17:53 +03:00
Nikolai Kochetov
0897d2a9c4 Added ConvertColumnWithDictionaryToFullBlockInputStream. 2018-05-04 15:11:57 +03:00
Nikolai Kochetov
7b8a306e34 minor fixes 2018-04-16 18:11:13 +03:00
Alexey Milovidov
f4b742e9fb Fixed segfault in case of bad argument types for some aggregate functions [#CLICKHOUSE-2] 2018-03-22 18:37:24 +03:00
Alexey Milovidov
b916f17215 Implemented 'uniq' family of functions for generic case including Array argument #2010 2018-03-17 21:14:05 +03:00
Alexey Milovidov
60701afa3e Removed unused code #2010 2018-03-17 21:02:19 +03:00
Alexey Milovidov
f08940c04c Fixed handling of NaNs in aggregate functions that use comparison based sorting #2012 2018-03-14 08:03:51 +03:00
Alexey Milovidov
688d277ad4 Adaptation #2012 2018-03-14 07:36:41 +03:00
Alexey Milovidov
b4f1ecb7f8 clang-format #2012 2018-03-14 06:02:18 +03:00
Alexey Milovidov
d29e35d666 Merge branch 'master' of https://github.com/furmur/ClickHouse into furmur-master 2018-03-14 06:00:25 +03:00
alexey-milovidov
cbab87f18e
Update AggregateFunctionIntersectionsMax.cpp 2018-03-14 05:59:27 +03:00
Alexey Milovidov
3f8ef38b41 Fixed wording #245 2018-03-10 02:23:15 +03:00
Michael Furmur
8cb5733b44 add aggregate functions IntersectionsMax and IntersectionsMaxPos 2018-03-08 15:23:28 +02:00
Alexey Milovidov
c897e5ca39 Better [#CLICKHOUSE-2] 2018-03-03 18:36:20 +03:00
Alexey Milovidov
16bef55d0e Fixed bad translation [#CLICKHOUSE-2] 2018-02-23 22:07:38 +03:00
Alexey Milovidov
03c3b18e96 Fixed error with dynamic compilation of quantile family of aggregate functions #1931 2018-02-22 20:32:06 +03:00
Alexey Milovidov
95d2d68c7d Header in every stream: development [#CLICKHOUSE-2] 2018-02-18 05:22:32 +03:00
proller
d97b2edc7c Make separate libs Common/ZooKeeper and Common/ConfigProcessor (#1749)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge
2018-01-15 22:07:47 +03:00
Alexey Milovidov
0bfea2f52c Miscellaneous [#CLICKHOUSe-2] 2018-01-10 03:04:08 +03:00
alexey-milovidov
45c913ccc8 Update AggregateFunctionMinMaxAny.h 2018-01-09 21:51:14 +03:00
Nikolai Kochetov
8552434843 added arena in AggregateFunctionSingleValue for strings and numbers [#CLICKHOUSE-3503] 2018-01-09 21:51:14 +03:00
Alexey Milovidov
798299ba89 Merge branch 'aavdonkin-master' 2017-12-28 07:33:55 +03:00
Alexey Milovidov
104b09604a Merging [#CLICKHOUSE-3114] 2017-12-28 00:45:05 +03:00
proller
68850012bd Embedded compiler fixes 2017-12-27 23:07:16 +03:00
proller
da1233fe3f Fix missing includes 2017-12-26 22:02:00 +03:00
Alexey Milovidov
8ff93487e3 Miscellaneous [#CLICKHOUSE-2]. 2017-12-25 07:01:46 +03:00
Alexey Milovidov
f87cc75734 Fixed build [#CLICKHOUSE-2]. 2017-12-24 13:12:49 +03:00
Alexey Milovidov
90aa544573 Unification of aggregate function combinators [#CLICKHOUSE-3511]. 2017-12-24 09:51:23 +03:00
Alexey Milovidov
acb341b2c9 Unification of aggregate function combinators [#CLICKHOUSE-3511]. 2017-12-24 09:50:11 +03:00
Alexey Milovidov
cc79fb6684 Implemented -ForEach aggregate functions combinator for multiple arguments; added test for -ForEachIf and -IfForEach variants [#CLICKHOUSE-3511]. 2017-12-24 02:16:42 +03:00
Alexey Milovidov
1ba80c6768 Fixed typo [#CLICKHOUSE-2]. 2017-12-24 02:06:59 +03:00
Alexey Milovidov
609133ea01 Added aggregate function sumKahan [#CLICKHOUSE-2]. 2017-12-23 02:26:30 +03:00
Alexey Milovidov
59dce5187a Merge branch 'master' into kahan-sum 2017-12-23 02:12:05 +03:00
Alexey Milovidov
7e60152e72 Added comments; added test [#CLICKHOUSE-2]. 2017-12-23 02:08:57 +03:00
Alexey Milovidov
69a7761812 Added simple, non-numerically stable variants of statistical functions; use it by default; old functions are accessible under -Stable suffix, like varPopStable [#CLICKHOUSE-2]. 2017-12-23 01:59:45 +03:00
Alexey Milovidov
a7b8541cea Implemented faster and not numerically stable versions of statistical functions [#CLICKHOUSE-2]. 2017-12-23 01:23:03 +03:00
Alexey Milovidov
2f8a79eee6 Kahan summation: development [#CLICKHOUSE-2]. 2017-12-23 01:02:52 +03:00
Alexey Milovidov
b198766dad Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
ec3ec48309 Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
bf9c301784 Simplification of aggregate functions: compatibility details [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
ef6d3be53a Simplification of aggregate functions: compatibility details [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
60d7a9f428 Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
ac5433bfbb Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
025041937a Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
c7c868cb99 Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
de3f1ee629 Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
e316ea67af Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
6fe1b175a0 Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
d7a36519da Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
b3f4d439fb Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
178deea21c Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
36cbd50842 Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
584a263d79 Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
c990740b33 Simplification of aggregate functions: development [#CLICKHOUSE-2]. 2017-12-21 05:08:25 +03:00
Alexey Milovidov
e25514d28a Addition to the fix of generic variant of topK aggregate function [#CLICKHOUSE-2]. 2017-12-19 20:21:47 +03:00
Alexey Milovidov
521b3aee84 Fixed error found by M.Filimonov (equality of array sizes are not checked in n-ary version of aggregate functions with -Array combinator) [#CLICKHOUSE-2]. 2017-12-19 00:44:18 +03:00
Alexey Milovidov
b83142ea62 Fixed error found by M.Filimonov (generic implementation of topK aggregate function was totally wrong) [#CLICKHOUSE-2]. 2017-12-19 00:12:15 +03:00
Alexey Milovidov
7c802ee3de Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-18 05:37:08 +03:00
Alexey Milovidov
f95ddfce10 Make DataTypes totally immutable [#CLICKHOUSE-2]. 2017-12-18 04:11:48 +03:00
Alexey Milovidov
342f0e431a Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-16 09:08:33 +03:00
Alexey Milovidov
7284a64740 Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-16 00:32:25 +03:00
Alexey Milovidov
fb38ef9a8e Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-14 06:56:56 +03:00