Commit Graph

578 Commits

Author SHA1 Message Date
Konstantin Bogdanov
0c206c66f0
Merge pull request #63102 from Blargian/document_stddevXYZ
[Docs] add/update `stddevXYZ`
2024-04-29 13:14:51 +00:00
Shaun Struwig
2d9ca05f2e
Fix typo 2024-04-29 11:28:18 +02:00
Shaun Struwig
67a78dc111
Fix typo 2024-04-29 11:27:44 +02:00
Shaun Struwig
3129dfc283
Fix typo 2024-04-29 11:26:45 +02:00
Blargian
d4fad3975a cherry pick and fix merge issue 2024-04-29 08:11:31 +02:00
Blargian
b87f35ea15 Add stddevSampStable and small updates to others 2024-04-29 08:05:12 +02:00
Blargian
aa4f05512e Add stddevPopStable 2024-04-29 07:25:38 +02:00
Blargian
e080534d49 Update stddevPop function documentation 2024-04-29 07:09:20 +02:00
Blargian
81412c8f6d Add sumMapFiltered and sumMapFilteredWithOverflow 2024-04-28 19:30:00 +02:00
Blargian
4a2facb844 Update sumWithOverflow 2024-04-27 21:38:12 +02:00
Blargian
30a0385bf0 Update sumMapWithOverflow function 2024-04-27 20:58:34 +02:00
Blargian
6881f1a3aa Update sum function 2024-04-27 18:27:36 +02:00
Blargian
c923629b56 Add missing functions, update index and update sumMap 2024-04-27 17:45:32 +02:00
Raúl Marín
83d6f2ef99 Correct the documentation about duplicates with argmin and argmax 2024-04-11 21:51:31 +02:00
Raúl Marín
ad385238da
Merge pull request #62435 from Blargian/document_uniqCombined64
[Docs] add uniqCombined64 function
2024-04-09 18:20:38 +00:00
Blargian
7b3a973ee0 Add missing example to uniqCombined 2024-04-09 12:55:01 +02:00
Blargian
af505aafbc Small fix 2024-04-09 12:34:53 +02:00
Blargian
fe868ddf86 Document uniqCombined64 and update uniqueCombined 2024-04-09 12:31:35 +02:00
robot-clickhouse-ci-1
fbf591d2bf
Merge pull request #62224 from Blargian/document_cramersVBiasCorrected
Update cramersVBiased documentation
2024-04-08 11:42:10 +02:00
Blargian
3e2616d921 Add 'Query:' before query for consistency 2024-04-03 11:23:42 +02:00
Blargian
651d382695 Minor changes to CramersV functions 2024-04-03 11:17:57 +02:00
yariks5s
9c3bf05675 init 2024-04-02 14:58:45 +00:00
kssenii
200823c311 Try fix docs check 2024-03-14 15:04:19 +01:00
Sergei Trifonov
8bc7dc4dab
Merge pull request #61202 from ClickHouse/docs/adds-var-xyz-stable
Improves `varPop` and `varSamp` docs. Adds `...Stable` alternative function docs.
2024-03-14 11:02:11 +01:00
Raúl Marín
89de338676 Better 2024-03-13 20:06:05 +01:00
Raúl Marín
aecc135f5d Add more details about how NULLs are processed in aggregations 2024-03-13 17:03:18 +01:00
johnnymatthews
53442f4914 Cleans up markdown. 2024-03-12 13:48:47 -03:00
johnnymatthews
281dc8d29d Improves varSamp docs. Adds varSampStable docs. 2024-03-11 17:48:12 -03:00
johnnymatthews
120a1fdb5f Improves varPop docs. Adds varPopStable. 2024-03-11 17:24:33 -03:00
Raúl Marín
314e27a06e Fix groupArraySorted documentation 2024-03-06 12:52:03 +00:00
UnamedRus
912b8baf57
Merge branch 'ClickHouse:master' into topk-statistics-count-errors 2024-03-02 00:43:29 +09:00
Yarik Briukhovetskyi
7c6a5f4513
Merge pull request #59598 from yariks5s/group_array_intersect
New aggregate function groupArrayIntersect
2024-02-27 14:30:49 +01:00
Yarik Briukhovetskyi
e04a89349d
Merge branch 'ClickHouse:master' into group_array_intersect 2024-02-26 12:29:22 +01:00
Charlie
05e16e6249
Update stochasticlinearregression.md 2024-02-23 12:33:14 -07:00
Robert Schulze
5ea3afb06e
Docs: Correct variable names for simpleLinearRegression
Fixes: #59729
2024-02-21 16:29:47 +00:00
Nikolai Fedorovskikh
a98af159b5 [Docs] fix some typos and missing commas 2024-02-13 02:10:41 +01:00
yariks5s
ad6dcfed81 init 2024-02-05 17:50:05 +00:00
Nikolai Kochetov
7e722b52a9
Merge pull request #59003 from kitaisreal/revert-57519-revert-53562-group_sorted_array_function
Revert "Revert "Add new aggregation function groupArraySorted()""
2024-01-31 12:31:26 +01:00
Maksim Kita
20c1f0c18f Revert "Revert "Add new aggregation function groupArraySorted()"" 2024-01-30 17:15:29 +03:00
Alexey Milovidov
798f655276 Rename quantileDDSketch to quantileDD 2024-01-30 11:49:56 +01:00
UnamedRus
94770f8d8a
Merge branch 'master' into topk-statistics-count-errors 2024-01-28 20:50:45 +03:00
Srikanth Chekuri
c23c7e0b6f
feat: add DDSketch quantile (#56342)
* 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
2024-01-17 19:51:32 -08:00
UnamedRus
77aaecd6ed Another doc fix 2024-01-14 00:11:19 +00:00
UnamedRus
877c643955 fix docs 2024-01-13 23:53:05 +00:00
UnamedRus
090f05cf6c return docs back, added test 2024-01-14 02:19:04 +03:00
凌涛
57c57360db add doc 2023-12-29 10:43:11 +08:00
Christoph Wurm
9def89d416 Fix anchors to settings.md 2023-12-20 18:26:36 +00:00
Alexey Milovidov
2988f6f92a
Revert "Add new aggregation function groupArraySorted()" 2023-12-05 15:31:17 +03:00
Alexey Milovidov
8603b4e92a
Update docs/en/sql-reference/aggregate-functions/parametric-functions.md
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2023-12-05 08:12:47 +03:00
Johnny
ff746fb018
Grammar fixes. 2023-12-04 17:51:38 -04:00
Johnny
4d8084db31
Adds usage example for uniqUpTo.
A [user on Twitter](https://twitter.com/Dan_The_Goodman/status/1731453529078796740) pointed out that we didn't have a usage example here. This adds an example, and clarifies what `uniqUpTo` does.
2023-12-04 17:48:41 -04:00
Raúl Marín
46acd8736c
Merge pull request #57189 from Algunenano/fix_respect_nulls
Fix RESPECT NULLS
2023-11-30 20:21:42 +01:00
Raúl Marín
1a3f4032b1 Fix doc reference 2023-11-28 12:27:35 +01:00
Raúl Marín
010a6074f8 Try to fix docs 2023-11-27 23:29:03 +01:00
Raúl Marín
3395c7c745 Provide a custom implementation for respect_null aggregations 2023-11-27 19:29:20 +01:00
Yarik Briukhovetskyi
69205769d0
Merge branch 'ClickHouse:master' into group_sorted_array_function 2023-11-23 20:23:47 +01:00
Justin de Guzman
a894671e8a
[Docs] Add perf tip for COUNT(DISTINCT expr) 2023-11-18 17:53:32 -08:00
Nikita Taranov
b078443826
Fix typo in largestTriangleThreeBuckets.md (#56263) 2023-11-02 14:45:13 +01:00
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
Yarik Briukhovetskyi
472d4d9503
Merge branch 'ClickHouse:master' into group_sorted_array_function 2023-09-18 20:01:29 +03: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
Yarik Briukhovetskyi
9a40d517bf
Merge branch 'ClickHouse:master' into group_sorted_array_function 2023-09-14 14:05:40 +03:00
Nikolay Degterinsky
d95c29227f Add STD alias to stddevPop function for MySQL compatibility 2023-09-07 03:46:27 +00:00
yariks5s
3cc6afe672 Ehnanced tests, fixed review 2023-08-31 18:48:44 +00:00
yariks5s
341cf7da66 added tests and docs, done with func 2023-08-18 17:27:25 +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