ClickHouse/utils
Sinan c7f78ac73a
Add aggregation function for Largest-Triangle-Three-Buckets (#53145)
* 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>
2023-10-18 14:47:18 +02:00
..
antlr Update README.md 2022-11-02 23:38:03 +03:00
backup Add utility to parse a backup metadata file and print information about the backup. 2023-07-27 18:25:21 +02:00
changelog Automatically correct some mistakes in the changelog 2023-03-27 14:48:05 +02:00
check-marks Prefix overridden add_executable() command with "clickhouse_" 2022-07-11 19:36:18 +02:00
check-mysql-binlog MaterializedMySQL: Introduce charset conversion 2023-07-18 15:55:55 +02:00
check-style Add aggregation function for Largest-Triangle-Three-Buckets (#53145) 2023-10-18 14:47:18 +02:00
checksum-for-compressed-block Support getHexUIntLowercase() with CityHash_v1_0_2::uint128 parameter. 2023-06-29 15:29:37 +02:00
clickhouse-diagnostics Cleanup remote_servers in dist config.xml 2023-07-09 16:55:27 +02:00
compressor fix 2023-01-25 16:06:40 +01:00
config-processor Remove conditional linking 2023-07-20 13:28:37 +00:00
corrector_utf8 Prefix overridden add_executable() command with "clickhouse_" 2022-07-11 19:36:18 +02:00
debug_remote_fs_performance Resubmit prefetches 2023-02-08 21:26:24 +01:00
durability-test
grpc-client Use pregenerated gRPC protocol pb2 files to fix test flakyness. 2023-09-26 17:28:19 +02:00
kafka
keeper-bench More clang-tidy fixes 2023-09-21 14:40:57 +00:00
keeper-data-dumper Fix tests 2023-08-23 09:00:57 +00:00
keeper-overload Automatic style fix 2023-03-24 15:04:05 +00:00
list-licenses use env to find bash 2023-09-13 18:57:11 +02:00
list-versions Update version_date.tsv and changelogs after v23.9.1.1854-stable 2023-09-29 07:04:45 +00:00
memcpy-bench Fix FreeBSD build 2023-05-07 06:55:24 +00:00
postprocess-traces
prepare-time-trace Revert "Revert "Upload build time-trace data to CI database"" 2023-08-09 16:11:17 +03:00
report Install only "programs" directory during build 2023-02-15 11:49:19 +01:00
s3tools Update black version, run it for the repository 2023-03-24 11:54:38 +01:00
security-generator Mark all versions after the last supported as * 2023-05-03 19:25:27 +02:00
self-extracting-executable Suppress more checks 2023-09-26 11:01:35 +00:00
test_history apply black formatter 2023-03-23 15:33:23 +00:00
tests-visualizer Fix tests visualizer 2023-04-29 23:48:45 +02:00
trace-visualizer Fix typos in some js code and ignore some typos 2022-08-07 19:59:39 +00:00
zero_copy
zookeeper-cli Move LineReader/ReplxxLineReader out from base 2022-12-27 14:23:51 +01:00
zookeeper-dump-tree Prefix overridden add_executable() command with "clickhouse_" 2022-07-11 19:36:18 +02:00
zookeeper-remove-by-list Prefix overridden add_executable() command with "clickhouse_" 2022-07-11 19:36:18 +02:00
c++expr
clickhouse-docker
CMakeLists.txt Remove old util 2023-08-07 02:29:29 +02:00
data-lakes-importer.py Hudi tests 2023-03-21 12:51:14 +01:00