* feat: add DDSketch quantile
* Fix StyleCheck
* Move quantileddsketch.md under right dir
* Update stateless test number and add stateful test
* Throw exception when relative accuracy is too low
* Update test number
* Fix undefined behaviour for empty store
* Fix quantileGK test
* Update test numbers
* Update src/AggregateFunctions/
* Throw exception on out of range values
* Update relative accuracy docs and add encoding details
* Address review comments and suggestions
* Remove unused function
* Address alexey review comments
* Remove unused function isFloat64FieldType
* Throw error on invalid relative accuracy
* Simplify mapping
* Address remaining review comments
* Add effective memory usage suggestions
* Fix Stylecheck
* Fix fast test
* Incorporate bins capacity suggestion
* Fix fuzzer
* Remove inheritance in Mapping, Store and DDSketch
* Add checks for bin resizing
* Add note about the binary compatible implementation
* Added a simple lttb aggregate function
* Added support for multiple datatypes
* Added support for Date and Date32, updated LTTBData struct
* Updated code to handle bucket size 0 and 1
* Added sort for LTTBData
* Added tests and documentation
* Added some code style fixes
* Added function to new func ref file
* Removed function from new func ref file
* Apply suggestions from code review
* Updated unit tests
* updated LTTB data code
* Minor style fixes
* Updated code with std sort
* updated tests
* Renamed lttb to largestTriangleThreeBuckets
* Added alias lttb
---------
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
* Cleanup DataTypeCustomSimpleAggregateFunction::checkSupportedFunctions()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Remove unused GroupArrayGeneralListImpl
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Introduce groupArrayLast() (useful to store last X values)
Also do some refactoring to make code cleaner:
- rename insert() to insertWithSampler() (since it is used only for
groupArraySample())
- split merge methods into Last/RNG/...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* CLICKHOUSEDOCS-733: Fixed some broken links. Updated introduction and TOC in aggregate functions.
* CLICKHOUSEDOCS-733: Fixed files endings.
* CLICKHOUSEDOCS-733: Returned the list of functions back to reference index.
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <em@don.ru>