Commit Graph

466 Commits

Author SHA1 Message Date
Alexey Milovidov
3631e476eb
Merge pull request #54947 from amosbird/minmax-combinator
Introduce -ArgMin/-ArgMax combinators.
2023-10-30 03:35:28 +01:00
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
alesapin
3f6d1414d3
Merge pull request #55196 from xjtupdy/doc-fix-ClickHouse
edit wrong example in en doc
2023-10-11 20:34:13 +02:00
Ethan Shea
95b68743c6 Fix broken link rendering in studentTTest.md 2023-10-04 21:47:06 -04:00
pdy
72e4559d30 edit wrong example in en doc 2023-10-01 18:53:41 +08:00
Amos Bird
ff86fad3d0
Update docs 2023-09-28 15:11:57 +08:00
Amos Bird
88cc1e0fa7
Add docs 2023-09-28 15:11:56 +08:00
Alexey Milovidov
542237ea7e
Merge pull request #54724 from ClickHouse/alexey-milovidov-patch-7
Update grouparray.md
2023-09-16 13:27:56 +03:00
Alexey Milovidov
a738e73e31
Update grouparraylast.md 2023-09-16 13:25:03 +03:00
Alexey Milovidov
30ad0ec9ad
Update grouparray.md 2023-09-16 13:24:21 +03:00
Nikolay Degterinsky
d95c29227f Add STD alias to stddevPop function for MySQL compatibility 2023-09-07 03:46:27 +00:00
Alexey Milovidov
71694b60b3
Merge branch 'master' into any_value 2023-07-22 04:55:39 +03:00
flynn
7f80f7dcb0
Merge branch 'master' into array_concat_agg 2023-07-17 01:15:24 +08:00
flynn
6899070f95 fix 2023-07-16 09:54:13 +00:00
flynn
f59370e5f9 Fix style 2023-07-16 09:50:29 +00:00
flynn
4955e07326 add docs 2023-07-16 09:27:34 +00:00
flynn
1eaa387da7 update doc 2023-07-16 05:23:15 +00:00
robot-ch-test-poll3
9e7361a0f6
Merge pull request #52135 from ucasfl/alias
Add array_agg as alias of groupArray for PostgreSQL compatibility
2023-07-15 21:14:38 +02:00
flynn
290c145acf Add array_agg as alias of groupArray for PostgreSQL compatibility 2023-07-15 14:53:46 +00:00
therealnick233
103a689edc
Fixed typo in combinators.md
line 303, 'Jonh' -> 'John'
2023-07-14 18:36:42 +08:00
Nikita Mikhaylov
d24c5ab01f
Merge branch 'master' into fix-ip-aggregate-state 2023-06-27 14:11:26 +02:00
Dan Roscigno
bcb106e138
add missing aggregate functions (#51443)
* add missing aggregate functions

* add sparkBar
2023-06-27 01:39:47 +02:00
Yakov Olkhovskiy
7f8162e346
add note regarding -MapState 2023-06-14 10:42:20 -04:00
János Benjamin Antal
35ef14482d Fix keyword capitalization 2023-06-07 10:13:13 +00:00
János Benjamin Antal
e0bc695e2d Use correct link format 2023-06-07 10:07:35 +00:00
Denny Crane
67a6623a38
Update argmin.md 2023-06-06 10:32:10 -03:00
Denny Crane
e63fc91e73
Update argmax.md 2023-06-06 10:30:10 -03:00
Denny Crane
496bc25bff
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:26:35 -03:00
Denny Crane
d6ee50577a
Update argmin.md 2023-06-06 10:25:32 -03:00
Denny Crane
9a1f6ac719
Update argmax.md 2023-06-06 10:20:42 -03:00
Denny Crane
834918dc1c
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:19:08 -03:00
Denny Crane
41be2fcbc7
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:18:34 -03:00
Denny Crane
f992d10ae7
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:18:22 -03:00
Denny Crane
5308abb93a
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:18:13 -03:00
Denny Crane
1a517bb332
Update docs/en/sql-reference/aggregate-functions/reference/argmax.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:17:55 -03:00
Denny Crane
cda9535554
Update docs/en/sql-reference/aggregate-functions/index.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:17:46 -03:00
Denny Crane
2a9792cebd
Update docs/en/sql-reference/aggregate-functions/reference/argmax.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:17:21 -03:00
Denny Crane
5d7b8b3d13
Update docs/en/sql-reference/aggregate-functions/index.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:17:04 -03:00
Denny Crane
4ca902dddd
Update docs/en/sql-reference/aggregate-functions/index.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:16:56 -03:00
Denny Crane
15fcad1909
Update argmax.md 2023-06-05 16:57:42 -03:00
Denny Crane
e37cd36db7
Update argmin.md 2023-06-05 16:57:28 -03:00
Denny Crane
b4c0d68d0f
Update index.md 2023-06-05 16:53:37 -03:00
Denny Crane
3e444790af
Update index.md 2023-06-05 16:52:51 -03:00
Denny Crane
a175e4628e
Update argmax.md 2023-06-05 16:44:42 -03:00
Denny Crane
4098653977
Update argmin.md 2023-06-05 16:43:47 -03:00
Denny Crane
113ce8c757
Update argmin.md 2023-06-05 16:43:07 -03:00
Denny Crane
6741a6d7c8
Update argmax.md 2023-06-05 16:21:09 -03:00
Denny Crane
4da37a7319
Update argmax.md 2023-06-05 16:19:50 -03:00
robot-clickhouse-ci-1
21e3b6df57
Merge pull request #50556 from den-crane/patch-49
Doc. A note for first_value/last_value
2023-06-05 02:59:20 +02:00
Denny Crane
bcd89cbbf2
Update first_value.md 2023-06-04 17:38:38 -03:00