Alexey Milovidov
349d783089
Improve performance of aggregate functions
2021-02-01 20:12:12 +03:00
Alexey Milovidov
056b44b64f
Add a test
2021-01-22 01:49:37 +03:00
Alexey Milovidov
960d149e0b
More annotations
2021-01-22 01:05:04 +03:00
Alexey Milovidov
d9cb1c1bdd
Avoid UBSan report in aggregate function sum
2021-01-21 22:52:00 +03:00
Alexander Kuzmenkov
3f33e6b3e0
some review fixes
2020-12-22 20:46:31 +03:00
Maksim Kita
55f991adde
Updated test
2020-12-14 15:23:53 +03:00
myrrc
b7e94b487c
fixed scale calc, again
2020-11-24 17:29:30 +03:00
myrrc
420f2489a7
fixed decimal scales calc, updated the tests
2020-11-24 17:07:59 +03:00
Alexander Kuzmenkov
2f5e3f66a7
typo
2020-11-16 20:54:40 +03:00
Alexander Kuzmenkov
3ba8155d38
typo
2020-11-16 20:04:12 +03:00
Alexander Kuzmenkov
b0e660651a
cleanup
2020-11-16 19:09:58 +03:00
myrrc
591ebcef49
fixing test results
2020-11-04 18:23:29 +03:00
myrrc
832d37c424
added some corner cases, made Decimal convertTo const
2020-11-04 17:23:04 +03:00
myrrc
43b2d20314
updated the decimal template magic
2020-11-04 16:14:07 +03:00
myrrc
ab1b7267b6
fixed the build, added some comments
2020-11-03 17:56:07 +03:00
myrrc
5c77ae914f
fixed contexpr modifier build, updated tests
2020-11-02 14:47:59 +03:00
myrrc
06ae95a10a
fixing nan values for functions
2020-10-30 21:08:33 +03:00
myrrc
b3379e9cf0
fixed some wrong tests, updated docs
2020-10-30 19:17:57 +03:00
myrrc
5b4981b466
added getFloat64 to ColumnDecimal, updated tests
2020-10-26 16:27:58 +03:00
myrrc
d8370116c1
simplified the functions (agreement to cast to Float64)
2020-10-25 23:33:01 +03:00
myrrc
2a589d7c15
updated deduction rules to correct integral / Decimal division
2020-10-22 19:13:18 +03:00
myrrc
e4f35e27e1
RationalFraction initialization fix
2020-10-22 18:53:45 +03:00
myrrc
3d479cdd8c
added resul type deduction structs
2020-10-22 18:47:21 +03:00
myrrc
338ecb6fe1
possibly added the numerator/denominator determination algorithm in
...
avgWeighted
2020-10-22 17:29:32 +03:00
myrrc
30d477bc10
added create() function fo avgWeighted
2020-10-19 18:23:35 +03:00
myrrc
4bb700fc1b
cleaned up traits for AggregateFunction, added some dev docs
2020-10-16 23:15:38 +03:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals ( #13097 )
2020-08-19 14:52:17 +03:00
Alexey Milovidov
83b2db4e5b
Fixup
2020-07-16 05:09:02 +03:00
Alexey Milovidov
cb0b74af86
Fix AggregateFunctionAvg serialization backwards compatibility
2020-07-14 11:56:01 +03:00
Alexey Milovidov
96e8e93c64
Fix warnings from CodeQL
2020-07-05 02:16:16 +03:00
Anton Popov
88b325dcdc
rework distinct combinator
2020-06-17 22:36:27 +03:00
Nikolai Kochetov
f65305878b
Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues ( #10890 )
...
* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues
* Try fix build.
* Try fix build.
* Fix build.
* Make convertToValues static.
* fix build.
* Remove const casts.
* Added comment.
* Fix build.
* Fix build.
* Add test.
* Fix test.
2020-05-14 10:59:14 +03:00
Baudouin Giard
be2cf70da8
Fix serialize/deserialize of denominator of Average functions
...
Use writeBinary/readBinary to serialize/deserialize the denominator of Average functions.
Previously it would be transmitted as an unsigned int, which means its value would get corrupted when doing an avgWeighted over a floating point number.
Note: this commit is not backwards compatible!
Signed-off-by: Baudouin Giard <bgiard@bloomberg.net>
2020-05-08 15:10:47 -04:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00