Commit Graph

204 Commits

Author SHA1 Message Date
Alexey Milovidov
eea281236d dbms: improved performance of aggregate functions argMin, argMax (about 5 times) [#METR-2944]. 2015-03-01 04:06:49 +03:00
Alexey Milovidov
03b1849bac dbms: added aggregate functions quantileTimingWeighted, quantilesTimingWeighted, medianTimingWeighted [#METR-15181]. 2015-02-27 20:38:21 +03:00
Alexey Milovidov
2520c2e610 dbms: added small set optimization for aggregate function uniqHLL12 [#METR-2944]. 2015-02-22 10:23:37 +03:00
Alexey Milovidov
160d72916a dbms: additions to prev. revision [#METR-14654]. 2015-02-04 08:07:51 +03:00
Alexey Milovidov
a54a634595 dbms: fixed performance issue caused by typo [#METR-14654]. 2015-01-19 22:51:46 +03:00
Alexey Milovidov
8bbcb3a232 dbms: fixed error in aggregate function minIf [#METR-2944]. 2014-12-02 03:19:11 +03:00
Andrey Mironov
eaa8a75a63 dbms: prohibit narrow-width integral types for determinator of quantile(s)Deterministic. [#METR-13199] 2014-11-21 17:07:25 +03:00
Andrey Mironov
d0971956e0 dbms: add quantile[s]Deterministic, rename stdext:: to ext:: [#METR-13199] 2014-11-21 16:34:37 +03:00
Alexey Milovidov
b470cb26b1 dbms: uniqUpTo: fixed error [#METR-13022]. 2014-10-02 23:20:09 +04:00
Alexey Milovidov
f466fa0572 dbms: fixed error [#METR-2944]. 2014-08-18 10:56:09 +04:00
Alexey Milovidov
4a3d9082f7 dbms: improved performance of aggregate functions min, max, any, anyLast [#METR-2944]. 2014-08-18 09:45:41 +04:00
Alexey Milovidov
5d4ea3d827 dbms: uniqUpTo: small fix [#METR-12017]. 2014-08-01 23:31:38 +04:00
Alexey Milovidov
c112605fea dbms: fixed aggregate function uniqUpTo [#METR-12017]. 2014-08-01 23:14:21 +04:00
Alexey Milovidov
d9b4c671cd dbms: uniqUpTo: tiny modification [#METR-12017]. 2014-08-01 09:19:17 +04:00
Alexey Milovidov
77cafda096 dbms: uniqUpTo: fixed error (incomplete) [#METR-12017]. 2014-08-01 00:26:22 +04:00
Alexey Milovidov
5b6173ccf1 dbms: uniqUpTo: development [#METR-12017]. 2014-07-25 05:32:59 +04:00
Alexey Milovidov
1a40e1942c dbms: added aggregate function uniqUpTo [#METR-12017]. 2014-07-25 00:20:36 +04:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Alexey Milovidov
5bbc71650e dbms: development [#METR-10894]. 2014-06-06 21:46:03 +04:00
Alexey Milovidov
f1dba5e341 dbms: improved performance of function regionToName [#METR-11434]. 2014-06-04 05:00:09 +04:00
Alexey Milovidov
c3450791fc dbms: development of [#METR-10894]. 2014-06-04 00:29:04 +04:00
Sergey Fedorov
edd482acf3 dbms: more fixes on aggregate function columns [METR-10894] 2014-05-30 20:22:14 +04:00
Sergey Fedorov
4fe8f37e03 Merge 2014-05-28 19:00:08 +04:00
Sergey Fedorov
8f306f4238 Merge 2014-05-26 20:13:46 +04:00
Alexey Milovidov
8627ab108a Addition to prev. revision [#METR-2944]. 2014-05-23 05:09:18 +04:00
Alexey Milovidov
c815fe7a6f dbms: fixed error [#METR-11220]. 2014-05-23 04:35:14 +04:00
Sergey Fedorov
be9527f09f dbms: more read write functions for DataTypeAggregateFunction and ColumnAggregateFunction [METR-10894] 2014-05-22 18:09:10 +04:00
Sergey Fedorov
214e8aa9ea Merge 2014-05-21 17:30:42 +04:00
Alexey Milovidov
a4fc77a8cb dbms: removed useless code, fixed error [#METR-10719]. 2014-05-16 05:25:20 +04:00
Alexey Milovidov
f0792f0deb dbms: improved performance of aggregation and aggregate function uniq [#METR-2944]. 2014-05-10 09:17:08 +04:00
Alexey Milovidov
0abc554493 dbms: tracking amount of memory usage per query [#METR-11015]. 2014-05-04 02:57:43 +04:00
Alexey Milovidov
2b13e02d3c dbms: fixed error [#METR-2944]. 2014-05-03 20:03:49 +04:00
Alexey Milovidov
1151854175 dbms: fixed error [#METR-2944]. 2014-05-01 21:26:31 +04:00
Alexey Milovidov
8232983714 dbms: unified hash tables: development [#METR-2944]. 2014-04-28 05:48:24 +04:00
Alexey Milovidov
95a3cd2e9e dbms: AggregateFunctionArray: fixed performance issue [#METR-10366]. 2014-03-28 00:32:12 +04:00
Sergey Fedorov
e735568723 dbms: aggregate function array [METR-10366] 2014-03-27 16:48:09 +04:00
Alexey Milovidov
651e593bb2 dbms: fixed error with aggregate function quantileTiming [#METR-10597]. 2014-03-26 04:34:00 +04:00
Michael Kolupaev
262ffcd74b Fixed parametric aggregate functions in totals. [#METR-10566] 2014-03-25 22:16:40 +04:00
Michael Kolupaev
785db68586 removed wrong comment. [#METR-2807] 2014-03-04 21:54:40 +04:00
Alexey Milovidov
b7d93a3abb dbms: fixed conditional aggregate functions [#METR-10085]. 2014-02-17 23:46:27 +00:00
Alexey Milovidov
0fe0e21c4b dbms: added aggregate function uniqExact [#METR-2944]. 2014-02-02 09:08:06 +00:00
Alexey Milovidov
dd21637d5e dbms: fixed error [#METR-9836]. 2014-02-01 01:40:53 +00:00
Alexey Milovidov
7ed3228660 dbms: removed one virtual function call in aggregation inner loop [#METR-2944]. 2013-12-22 08:06:30 +00:00
Alexey Milovidov
c252785d2a dbms: additional performance improvement [#METR-2944]. 2013-11-03 23:54:12 +00:00
Sergey Fedorov
ff61e2cbc8 dbms: support for argMinIf and argMaxIf functions [#METR-9001] 2013-10-28 16:13:19 +00:00
Sergey Fedorov
053eb9adcb dbms: Rename file, Code Style fixes, Rename class [#METR-9001] 2013-10-28 14:15:56 +00:00
Sergey Fedorov
8fd6963212 My latest changes.
REVIEW:new
2013-10-25 14:56:47 +00:00
Alexey Milovidov
9a4d300a10 dbms: aggregate function quantileTiming: added (deterministic) randomization [#CONV-2944]. 2013-10-20 03:57:28 +00:00
Alexey Milovidov
6c1b8aadd0 dbms: removed TODO [#CONV-2944]. 2013-10-18 19:47:20 +00:00
Alexey Milovidov
87763e0c95 dbms: AggregateFunctionQuantileTiming: small object optimization [#CONV-8850]. 2013-09-30 04:51:57 +00:00
Alexey Milovidov
d7080d8d7a dbms: quantiles returning NaN for empty state [#CONV-8799]. 2013-09-24 19:56:33 +00:00
Alexey Milovidov
9a515d7082 dbms: AggregateFunctionIf: improvement [#CONV-8713]. 2013-09-14 22:56:11 +00:00
Alexey Milovidov
4469790a4b dbms: fixed working of AggregateFunctionIf with min, max, any, anyLast [#CONV-8713]. 2013-09-14 22:18:56 +00:00
Alexey Milovidov
5fa9b57648 dbms: aggregate function quantileIf: returning default value on empty [#CONV-8713]. 2013-09-14 22:11:06 +00:00
Alexey Milovidov
ced5216c45 dbms: added AggregateFunctionIf adaptor [#CONV-8713]. 2013-09-11 00:55:31 +00:00
Vyacheslav Alipov
75a359bc7c improved code locality [#CONV-8544] 2013-08-22 11:06:58 +00:00
Vyacheslav Alipov
b25c3408ec changed GlobalStats to use HLL12 [#CONV-8544] 2013-08-22 10:58:52 +00:00
Vyacheslav Alipov
e68f0a2f69 added uniq_hll12 to ███████████, increased accuracy of HLL12 [#CONV-8544] 2013-08-22 09:43:19 +00:00
Vyacheslav Alipov
602bea808d added uniq functions with HLL support [#CONV-8544] 2013-08-21 13:26:42 +00:00
Alexey Milovidov
5b676504e1 dbms: addition to prev. revision [#CONV-8330]. 2013-07-28 22:42:22 +00:00
Alexey Milovidov
43d9edeca1 dbms: added aggregate function groupUniqArray [#CONV-8330]. 2013-07-28 20:53:31 +00:00
Alexey Milovidov
0259b9ddb2 dbms: fixed aggregate function groupArray when distributed query processing [#CONV-2944]. 2013-07-28 19:47:27 +00:00
Alexey Milovidov
3e7a073fdb dbms: fixed parametric aggregate functions in distributed query processing [#CONV-8223]. 2013-07-28 03:14:03 +00:00
Alexey Milovidov
e86fad7304 dbms: fixed comment [#CONV-8223]. 2013-07-27 20:02:35 +00:00
Alexey Milovidov
6356f41105 dbms: added aggregate functions quantileTiming, quantilesTiming [#CONV-8223]. 2013-07-27 19:57:45 +00:00
Alexey Milovidov
5d2ab21ee6 dbms: tiny improvement [#CONV-2944]. 2013-07-27 18:43:10 +00:00
Alexey Milovidov
1d7fd1644d dbms: fixed error in prev. revision [#CONV-2944]. 2013-06-30 11:40:30 +00:00
Alexey Milovidov
43825cdf95 dbms: improved performance of finalizing aggregate functions [#CONV-2944]. 2013-06-30 11:38:46 +00:00
Alexey Milovidov
79afdbc193 dbms: removed useless code [#CONV-2944]. 2013-06-30 10:14:50 +00:00
Alexey Milovidov
1c730617e7 dbms: added aggregate function quantiles [#CONV-2944]. 2013-06-29 23:49:34 +00:00
Alexey Milovidov
0931ac57ae dbms: improved performance [#CONV-2944]. 2013-06-25 14:16:16 +00:00
Alexey Milovidov
235c9ce7dd dbms: improved performance of aggregation a little [#CONV-2944]. 2013-06-25 08:06:40 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Alexey Milovidov
45986edc39 dbms: modified comments [#CONV-7862]. 2013-06-14 16:27:15 +00:00
Alexey Milovidov
c6a638de01 dbms: added aggregate function sumIf [#CONV-7862]. 2013-06-14 16:17:02 +00:00
Alexey Milovidov
20a164a2d1 dbms: added aggregate functions uniqIf, avgIf [#CONV-7862]. 2013-06-13 20:30:47 +00:00
Michael Kolupaev
796df96cbc clickhouse: Expression refactoring: development [#CONV-7444]. 2013-05-24 10:49:19 +00:00
Alexey Milovidov
67b0719f26 Global stat: dbms: added aggregate function 'uniqState'; added compatibility with ███████████ [#CONV-7315]. 2013-04-26 18:57:08 +00:00
Alexey Milovidov
f63c86b53a dbms: improvement [#CONV-2944]. 2013-02-09 02:20:26 +00:00
Alexey Milovidov
aeb201b726 dbms: continue of improvement [#CONV-2944]. 2013-02-08 23:41:05 +00:00
Alexey Milovidov
d4c64603a2 dbms: improvement of aggregation (incomplete) [#CONV-2944]. 2013-02-08 19:34:44 +00:00
Alexey Milovidov
6613dd98d9 dbms: fixed error in calculation of 'avg' in distributed query processing [#CONV-2944]. 2013-02-08 17:42:07 +00:00
Alexey Milovidov
3891f4a230 dbms: improved performance for queries with large aggregation result [#CONV-2944]. 2013-02-03 23:11:21 +00:00
Alexey Milovidov
b88bed60b8 dbms: improved performance [#CONV-2944]. 2013-01-08 20:31:24 +00:00
Alexey Milovidov
4c7a2a1198 dbms: improved performance of aggregating strings [#CONV-2944]. 2013-01-07 05:33:15 +00:00
Alexey Milovidov
f800b5b769 dbms: using special array for Row and instead of std::vector<AggregateFunctionPlainPtrs> (experimental) [#CONV-2944]. 2013-01-07 00:57:43 +00:00
Alexey Milovidov
7b3f533ecd Using own Field class instead of boost::variant (experimental) [#CONV-2944]. 2013-01-05 20:03:19 +00:00
Alexey Milovidov
494b212f3a dbms: removed VarUInt and VarInt data types [#CONV-2944]. 2012-12-14 20:24:26 +00:00
Alexey Milovidov
7f2fe9f936 dbms: tiny fixes [#CONV-2944]. 2012-11-19 03:38:13 +00:00
Evgeniy Gatov
2f5c9b3532 dbms: removed warning, possible memory leak fixed [#CONV-2944]. 2012-11-16 22:09:47 +00:00
Michael Kolupaev
7f461eeffa dbms: fixed typo in comment :) [#CONV-5879]. 2012-11-14 09:38:30 +00:00
Alexey Milovidov
e30260d9fa dbms: added parametric aggregate functions; added aggregate function 'quantile' [#CONV-2944]. 2012-10-29 02:58:52 +00:00
Alexey Milovidov
9362731666 dbms: fixed error [#CONV-2944]. 2012-10-24 19:09:42 +00:00
Michael Kolupaev
61e04ed781 clickhouse: fixed median aggregate function type check [#CONV-5879]. 2012-10-24 18:53:48 +00:00
Michael Kolupaev
110fc172b2 libstats: slightly refactored ReservoirSampler, removed unused code from AggregateFunctionMedian [#CONV-5879]. 2012-10-24 07:55:27 +00:00
Michael Kolupaev
6d64009db2 clickhouse: added median aggregate function 2012-10-23 10:58:53 +00:00
Alexey Milovidov
ffc6ef092e dbms: development [#CONV-2944]. 2012-09-03 06:32:38 +00:00
Alexey Milovidov
312b007e6f dbms: development [#CONV-2944]. 2012-08-26 12:18:50 +00:00
Alexey Milovidov
061a75785b dbms: development [#CONV-2944]. 2012-08-02 17:33:31 +00:00
Alexey Milovidov
dc79f25feb dbms: development [#CONV-2944]. 2012-07-15 23:13:08 +00:00
Alexey Milovidov
3bffaff936 dbms: development [#CONV-2944]. 2011-12-19 08:06:31 +00:00
Alexey Milovidov
cff1b81b34 dbms: development [#CONV-2944]. 2011-09-26 04:00:46 +00:00
Alexey Milovidov
13d0b57ca3 dbms: development [#CONV-2944]. 2011-09-25 05:07:47 +00:00
Alexey Milovidov
5c7ea6af1f dbms: development [#CONV-2944]. 2011-09-19 03:40:05 +00:00