Commit Graph

2598 Commits

Author SHA1 Message Date
Shaun Struwig
4c9cc50781
Merge branch 'ClickHouse:master' into document_isXYZ 2024-05-08 22:04:38 +02:00
Blargian
b48ee1b949 Add isNotDistinctFrom to documentation 2024-05-08 13:56:49 +02:00
Blargian
70c6419651 Standardize file name for null-functions and add isNullable function 2024-05-08 12:51:22 +02:00
Shaun Struwig
67da2748dd
Update other-functions.md
Update showCertificate documentation
2024-05-07 22:09:40 +02:00
Robert Schulze
a7ba895ca4
Merge pull request #59318 from bigo-sg/complex_map_key
Allow arbitrary non-nullable types as key for maps
2024-05-06 18:19:03 +00:00
Shaun Struwig
c0d2a99a9e
Update date-time-functions.md 2024-05-06 16:51:23 +02:00
Robert Schulze
08bcbfc251
Merge pull request #63418 from Blargian/patch-3
[Docs] Fix casing issues
2024-05-06 14:49:49 +00:00
Robert Schulze
a65e208892
Merge pull request #63414 from rschu1ze/docs-update
Docs: Various minor docs updates
2024-05-06 14:40:14 +00:00
Shaun Struwig
87176fdd13
Update date-time-functions.md
- Change parameter `x` to `num` to be more idiomatic.
- Correct issues with casing in types.
2024-05-06 16:37:30 +02:00
Shaun Struwig
81398da882
Update function order
Moved `sigmoid` function from the end of the file to after `sign` function.
2024-05-06 16:20:51 +02:00
Robert Schulze
1dff80374c
Docs: toStartOfInterval uses uppercase units
For consistency with existing documentation
https://clickhouse.com/docs/en/sql-reference/data-types/special-data-types/interval

... and with MySQL
2024-05-06 13:53:36 +00:00
Nikita Mikhaylov
d0c71e1a59
Merge pull request #63251 from Blargian/document_subtractXYZ
[Docs] `subtractXYZ`
2024-05-06 12:34:28 +00:00
李扬
c0ddd3df0b
Merge branch 'ClickHouse:master' into complex_map_key 2024-05-06 10:23:18 +08:00
Alexey Milovidov
26e3e5daa8
Update math-functions.md 2024-05-05 20:19:03 +03:00
Shaun Struwig
5eaf944b99
Update other-functions.md 2024-05-05 03:54:01 +02:00
Shaun Struwig
ead13c52e4
Add showCertificate to other-functions 2024-05-05 03:51:42 +02:00
Shaun Struwig
984e24f069
Correct typo 2024-05-05 03:41:32 +02:00
Shaun Struwig
25ef78413d
Add missing sigmoid function
Add missing sigmoid function
2024-05-05 03:38:18 +02:00
Nikita Taranov
1e824293fb
Merge branch 'master' into deprecate_errorprone_functions 2024-05-02 19:41:48 +02:00
Konstantin Bogdanov
5a11d91053
Merge pull request #63258 from ClickHouse/fix-grant-links
Fix links in docs
2024-05-02 13:51:27 +00:00
Jordi Villar
81e4a754d9 Document start of week differences 2024-05-02 12:51:53 +02:00
Yarik Briukhovetskyi
8611a1507f
Merge pull request #63259 from Naartti/patch-1
Fix link in date-time-functions.md
2024-05-02 10:23:18 +00:00
Blargian
8de8095480 Update addXYZ documentation 2024-05-02 11:56:14 +02:00
János Benjamin Antal
7aab5855b6 Fix links 2024-05-02 07:00:40 +00:00
Robert Schulze
8a7b0c057f
Merge pull request #62852 from pet74alex/UUIDv7
Add UUIDv7-generating functions
2024-05-02 06:57:12 +00:00
Mattias Naarttijärvi
ea02af6e92
Update date-time-functions.md
Fix broken link to `toStartOfInterval`.
2024-05-02 08:49:38 +02:00
Blargian
33ec14758d Document subtractXYZ 2024-05-01 22:12:43 +02:00
Nikita Taranov
8a82e8ab8b
Merge branch 'master' into deprecate_errorprone_functions 2024-04-30 20:50:45 +02:00
Alexey Petrunyaka
dde34625f2 Revert "Remove UUIDv7ToDateTime due to memory sanitizer issues"
This reverts commit 0e8575fc07.
2024-04-30 21:30:16 +03:00
Nikita Taranov
801355bd91
Merge branch 'master' into deprecate_errorprone_functions 2024-04-30 19:28:46 +02:00
Robert Schulze
0e8575fc07
Remove UUIDv7ToDateTime due to memory sanitizer issues 2024-04-30 15:29:42 +00:00
Robert Schulze
5660769a4b
Cosmetics, pt. V 2024-04-30 10:57:54 +00:00
Jordi Villar
8c3a9bc9c7 Revert "Merge pull request #60598 from jrdi/week-default-mode"
This reverts commit 61df8aa466, reversing
changes made to c6d21aebb5.
2024-04-30 09:23:25 +02:00
Alexey Petrunyaka
698578402e
Merge branch 'master' into UUIDv7 2024-04-30 00:44:50 +03:00
Alexey Petrunyaka
c8847d8f97 Fixes for spell-checker 2024-04-30 00:15:04 +03:00
Nikita Taranov
64ee0090cb better 2024-04-29 22:00:56 +01:00
Nikita Taranov
f52870c8d2 impl 2024-04-29 21:34:23 +01:00
Robert Schulze
619d03079d
Merge remote-tracking branch 'ClickHouse/master' into improve_pr_62592 2024-04-29 19:23:48 +00:00
Alexey Petrunyaka
29e70f5004 In-source and Russian .md UUIDv7 docs synced with English .md docs 2024-04-29 21:04:44 +03:00
Konstantin Bogdanov
0c206c66f0
Merge pull request #63102 from Blargian/document_stddevXYZ
[Docs] add/update `stddevXYZ`
2024-04-29 13:14:51 +00:00
Konstantin Bogdanov
1f4ebefa78
Merge pull request #63090 from Blargian/document_timeslotXYZ
[Docs] update `timeXYZ` functions
2024-04-29 12:16:57 +00:00
peter279k
5946ff0633
Improve PR#62592 2024-04-29 15:34:04 +08:00
Blargian
e0c5886982 Undo changes to date-time functions which should be on another branch 2024-04-29 08:20:39 +02:00
Blargian
a4478e8db0 Update timeSlots function 2024-04-28 22:01:31 +02:00
Blargian
2218347180 Update timeslot function 2024-04-28 21:39:11 +02:00
Robert Schulze
fcc77379ae
Cosmetics, pt. IV 2024-04-28 09:50:42 +00:00
Shaun Struwig
75249c2d98
Update svg.md 2024-04-27 16:52:13 +02:00
Blargian
c6426ddf4a Update Svg documentation 2024-04-27 16:47:43 +02:00
Alexey Petrunyaka
9235845988
Performance optimizations + docs and tests changes (#4) 2024-04-27 17:30:27 +03:00
Nikita Mikhaylov
0af2b305b2
Merge pull request #61740 from ClickHouse/docs/adds-connectionId-function
Adds `connectionId` and `connection_id` function docs.
2024-04-26 12:52:26 +00:00
Nikita Mikhaylov
cc58408d9a
Merge branch 'master' into docs/adds-connectionId-function 2024-04-26 13:17:47 +02:00
Nikita Mikhaylov
61df569c9a
Merge pull request #62416 from Blargian/document_regionXYZ
[Docs] add regionXYZ functions
2024-04-26 11:08:54 +00:00
Nikita Mikhaylov
ea41ba2640
Merge pull request #62838 from Blargian/document_roundXYZ
[Docs] update roundXYZ
2024-04-26 11:07:09 +00:00
Robert Schulze
218591ee4a
Cosmetics 2024-04-26 10:04:29 +00:00
Nikita Mikhaylov
0c8775ac73
Merge pull request #62502 from Blargian/document_flattenTuple
[Docs] add missing `flattenTuple` function
2024-04-25 23:17:51 +00:00
Nikita Mikhaylov
6c7752d4c5
Merge pull request #62632 from pakud/patch-1
documenting alternative syntax that's supported for DATE_ADD, DATE_SUB
2024-04-25 15:54:07 +00:00
Nikita Mikhaylov
c98b9c350a
Merge pull request #62923 from Blargian/document_lengthUTF8
[Docs] update `length` and `lengthUTF8`
2024-04-25 11:37:32 +00:00
Nikita Mikhaylov
7fef1d728d
Merge pull request #62592 from peter279k/add_try_base_usage
Document functions tryBase58Decode and  tryBase64Decode
2024-04-25 11:30:37 +00:00
Shaun Struwig
2d9a1d5259
Update string-functions.md 2024-04-24 19:54:00 +02:00
Shaun Struwig
30583d594c
Update string-functions.md
Add mention of array to parameter
2024-04-24 19:52:14 +02:00
Blargian
1fb539704e Update length and lengthUTF8 2024-04-24 18:43:44 +02:00
Robert Schulze
831c4dbffd
Merge pull request #62837 from Blargian/patch-1
[Docs] Update return types of math functions
2024-04-24 07:02:49 +00:00
pet74alex
4e4e72ead8
Update English version of uuid-functions.md 2024-04-22 19:30:25 +03:00
Shaun Struwig
ae8b22b6e0
Update math-functions argument types.
Many functions have argument type listed as `Float64` type when it can be `Float*`,`(U)Int*` or in some cases `Decimal*`
2024-04-22 13:48:28 +02:00
Blargian
015d47ff4b Update return types of all added functions 2024-04-22 13:00:08 +02:00
vdimir
1a9b83f1e1
Merge pull request #62615 from Blargian/document_countXYZ
[Docs] add missing `countXYZ` functions
2024-04-22 10:37:43 +00:00
Shaun Struwig
e5339413f3
Correct tanh return type
Change return type from incorrect Float64 to correct Float32
2024-04-22 12:24:26 +02:00
Blargian
9c6ff535cd Add roundDuration 2024-04-21 22:01:13 +02:00
Blargian
2c986d7d17 Add roundDown 2024-04-21 21:43:04 +02:00
Blargian
2fea683c05 Add roundAge 2024-04-21 21:31:14 +02:00
Blargian
41a54daec9 Fix incorrect formatting of existing examples 2024-04-21 20:51:42 +02:00
vdimir
3f52f6efc2
Merge pull request #62616 from Blargian/document_tanh
[Docs] add missing `tanh`
2024-04-19 15:39:41 +00:00
vdimir
b896c18599
Merge pull request #62596 from peter279k/update_translateUTF8_usage
Update translateUTF8 returned value description
2024-04-18 08:16:01 +00:00
Yarik Briukhovetskyi
a3b42abad0
init 2024-04-17 14:34:00 +01:00
Robert Schulze
61df8aa466
Merge pull request #60598 from jrdi/week-default-mode
Add setting `first_day_of_week` for function `toStartOfInterval`
2024-04-17 08:31:46 +00:00
Yarik Briukhovetskyi
ffeec296a1
Merge pull request #62335 from Misz606/patch-5
Added nano- micro- milliseconds unit for `date_trunc`
2024-04-16 23:16:46 +00:00
Jordi Villar
9ed1b9412f Merge remote-tracking branch 'upstream/master' into week-default-mode 2024-04-16 23:01:25 +02:00
Paweł Kudzia
210efe1621
documenting alternative syntax that's supported for DATE_ADD, DATE_SUB
this is related to issue https://github.com/ClickHouse/ClickHouse/issues/25815 

i'm adding examples for:
date_add(date, INTERVAL value unit) and date_sub(date, INTERVAL value unit) 

both are covered with a test from e3c09e9703/tests/queries/0_stateless/02160_special_functions.sql (L33) ; i think it's worth documenting them as the syntax is familiar to MySQL users [ https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_date-add ]
2024-04-15 08:50:01 +02:00
Blargian
3ed8463d08 Give explicit description to countMatchesCaseInsensitive in addition to a link to its base function 2024-04-13 11:34:57 +02:00
Blargian
13f84a5957 minor fixes 2024-04-13 11:32:40 +02:00
Blargian
f18cdaa004 Add variants 2024-04-13 11:25:08 +02:00
Blargian
c8f014591c Update countMatchesCaseInsensitive function 2024-04-13 11:05:43 +02:00
Shaun Struwig
74453c384f
Add missing tanh function 2024-04-12 16:25:23 +02:00
Yarik Briukhovetskyi
b922aa4979
Merge pull request #62595 from peter279k/add_trunc_truncate_usage
Document functions `trunc` and `truncate`.
2024-04-12 13:17:00 +00:00
Robert Schulze
542364e2b2
Merge pull request #62589 from Blargian/document_left_right_XYZ
[Docs] add missing `left`, `right` functions and their variants.
2024-04-12 13:07:35 +00:00
Yarik Briukhovetskyi
85cdecb123
Add a more illustrative example 2024-04-12 13:57:42 +02:00
peter279k
9f3199ee79
Update translateUTF8 reutrned value description 2024-04-12 19:53:31 +08:00
peter279k
2d6c51578a
Add truncate and trunc functions usage 2024-04-12 19:47:38 +08:00
peter279k
830598c83e
Add functions tryBase58 and tryBase64Decode usage 2024-04-12 19:25:24 +08:00
Blargian
b2a83d54f3 Make descriptions less ambiguous 2024-04-12 12:41:45 +02:00
Blargian
7cd3c86d6e Add missing leftXYZ and rightXYZ functions 2024-04-12 12:36:12 +02:00
Raúl Marín
e773b4ea3a
Merge pull request #62518 from Algunenano/casewhen
Make transform always return the first match
2024-04-12 10:29:48 +00:00
Arnaud Rocher
99078ef9d5
Fix typo in like function documentation 2024-04-11 15:56:47 +02:00
Jordi Villar
a4c3153453 Rollback date_diff changes 2024-04-11 15:55:12 +02:00
Robert Schulze
2cc801e74c Some fixups 2024-04-11 15:55:12 +02:00
Jordi Villar
cf51d801ae Documentation 2024-04-11 15:55:12 +02:00
Robert Schulze
486128bd0e Some fixes 2024-04-11 15:55:12 +02:00
Raúl Marín
8e26c4460b Make transform always return the first match 2024-04-10 23:39:47 +02:00
Blargian
e044b4bf02 add flattenTuple to aspell-dict and replace Tuple with tuple 2024-04-10 20:31:45 +02:00
Robert Schulze
6ca8a730a9
Merge pull request #62501 from Blargian/document_lcase
[Docs] update `lower` function
2024-04-10 17:47:32 +00:00
Robert Schulze
daf2fdc6bf
Merge pull request #62299 from Blargian/document_arrayXYZ
[Docs] add missing arrayXYZ functions
2024-04-10 17:22:37 +00:00
Blargian
6df90c5c25 Change examples -> example 2024-04-10 19:14:57 +02:00
Blargian
8d2f8cccec Add flattenTuple to documentation 2024-04-10 19:12:04 +02:00
Blargian
f32d3d3096 Update lower function 2024-04-10 18:27:01 +02:00
Shaun Struwig
19916de731
Update array-functions.md
small fixes to wording
2024-04-10 18:03:20 +02:00
Blargian
c179885265 Add example for arrayFirstOrNull with multiple arrays 2024-04-10 17:53:31 +02:00
Blargian
6fcaeca2e6 Clarify arrayPartialShuffle 2024-04-10 17:44:11 +02:00
Blargian
4408714c55 Remove subset dotProduct from tuple-functions and add dotProduct as an alias to the superset 2024-04-10 17:09:01 +02:00
Robert Schulze
c8f0fec3a4
Merge pull request #62491 from rschu1ze/docs-date_add
Docs: Update function `date_add`
2024-04-10 14:32:11 +00:00
Robert Schulze
4ed518d6ad
Docs: Update date_add 2024-04-10 14:21:55 +00:00
Konstantin Bogdanov
84e3e64778
Merge pull request #62469 from peter279k/add_uptime_func_usage
Document function `uptime`
2024-04-10 13:00:24 +00:00
Yarik Briukhovetskyi
b8073a6667
Merge branch 'master' into time_buckets_impl 2024-04-10 13:21:42 +02:00
Robert Schulze
7064f34eae
Merge pull request #62472 from peter279k/add_upper_upperutf8_usage
Document functions `upper` and `upperUTF8`
2024-04-10 10:19:50 +00:00
peter279k
06bbf97cc0
Update example 2024-04-10 18:12:29 +08:00
peter279k
927c5ca1fc
Update example 2024-04-10 18:09:02 +08:00
peter279k
01f3d57e4b
Add upper and upperUTF8 function usage 2024-04-10 14:28:10 +08:00
peter279k
b96543e57e
Add translateUTF8 function usage 2024-04-10 14:25:49 +08:00
peter279k
fc9d5ec589
Add uptime() function usage 2024-04-10 10:46:54 +08:00
Nikolay Degterinsky
b8e809ff32
Merge pull request #62422 from Blargian/document_wyHash64
[Docs] add wyHash64 function
2024-04-09 23:08:20 +00:00
Robert Schulze
007ae001de
Merge pull request #62075 from Blargian/document_multiSearchXYZ
[Docs] add multiSearchXYZ functions
2024-04-09 21:02:01 +00:00
Robert Schulze
c843b411da
Merge pull request #62450 from Blargian/document_l2SquaredNorm
[Docs] add L2SquaredNorm function
2024-04-09 20:33:58 +00:00
Robert Schulze
c25ad7a229
Merge pull request #62448 from Blargian/document_tupleXYZ
[Docs] add tupleXYZ functions
2024-04-09 20:33:55 +00:00
Robert Schulze
56f54c1b5a
Merge pull request #62454 from Blargian/document_kostikConsistentHash
[Docs] add kostikConsistentHash
2024-04-09 19:18:06 +00:00
Blargian
9419c0f788 remove l2squared 2024-04-09 17:53:00 +02:00
Blargian
7aac552fab Add missing kostikConsistentHash 2024-04-09 17:44:41 +02:00
Blargian
8369f8d8c1 Add missing l2SquaredNorm function 2024-04-09 16:54:09 +02:00
Blargian
d5014b2d0e Add missing L2SquaredNorm function 2024-04-09 16:44:07 +02:00
Blargian
de8d31685d Minor edit 2024-04-09 16:26:35 +02:00
Blargian
7d969dd9fa Add tupleModulo tupleModuloByNumber 2024-04-09 15:19:31 +02:00
Blargian
92a027a2d0 Add OrZero variants 2024-04-09 15:01:27 +02:00
Blargian
c8fb88b261 Add tupleIntDivOrZero 2024-04-09 14:15:32 +02:00
Blargian
5857ecf848 Add tupleIntDivByNumber 2024-04-09 14:01:50 +02:00
Blargian
eed1a33e77 update wording on tupleIntDiv 2024-04-09 13:55:10 +02:00
Blargian
55798dbdcf Add tupleIntDiv function 2024-04-09 13:53:31 +02:00
Blargian
208722a513 Fix spelling mistake 2024-04-08 21:55:27 +02:00
Blargian
80eae8765e Actually fix broken links this time 2024-04-08 21:51:18 +02:00
Shaun Struwig
d2c3a015c1
Update ym-dict-functions.md
Fix broken links
2024-04-08 21:03:58 +02:00
Blargian
1b9a72e374 Add back accidently removed description 2024-04-08 20:56:30 +02:00
Blargian
3f91ece54b Remove blank space from wordShingleSimHashUTF8 2024-04-08 20:54:42 +02:00
Blargian
33eba42c13 Document wyHash64 2024-04-08 20:50:41 +02:00
Shaun Struwig
ba172e7693
Fix broken links 2024-04-08 20:16:09 +02:00
Blargian
f426b5f12b Fix spell-check 2024-04-08 19:21:44 +02:00
Blargian
f1b565048e Formatting fixes 2024-04-08 19:09:26 +02:00
Blargian
38ef6ac291 Add missing colon 2024-04-08 17:12:13 +02:00
Blargian
0fa4dfb282 Update regionXYZ documentation 2024-04-08 17:11:18 +02:00
skyoct
8faa148754 batter 2024-04-08 06:44:11 +00:00
skyoct
307f69380e support clamp function 2024-04-07 09:02:43 +00:00
李扬
7df85e6176
Merge branch 'ClickHouse:master' into complex_map_key 2024-04-07 10:32:43 +08:00
Blargian
bbe4b284c2 Add missing description to arrayDotProduct 2024-04-05 16:30:11 +02:00
Yarik Briukhovetskyi
d9d9174299
Update date-time-functions.md 2024-04-05 15:09:06 +02:00
Misz606
497e3bb48f
Added nanoseconds and milliseconds for date trunc. 2024-04-05 09:03:46 -04:00
Blargian
d5493bccf5 Add a link to lambda functions for arrayFirstOrNull and arrayLastOrNull 2024-04-04 20:00:28 +02:00
Blargian
95b5616d1a A few more small fixes 2024-04-04 19:51:04 +02:00
Blargian
1fe2f35d8a Minor changes 2024-04-04 19:16:53 +02:00
Blargian
e890c27227 Fix note section of arrayDotProduct displays incorrectly 2024-04-04 18:59:40 +02:00
Blargian
cf03ced5a5 Added arrayShuffle function 2024-04-04 16:34:18 +02:00
Blargian
3e3f8ba0f0 Add arrayPartialShuffle function 2024-04-04 16:22:29 +02:00
Blargian
dd64145bc8 Add arrayLastOrNull function 2024-04-04 15:49:03 +02:00
Blargian
fb07a2f5ed Add arrayFirstOrNull function 2024-04-04 14:53:24 +02:00
Blargian
193aaea2b3 Add arrayEnumerateUniqRanked and arrayEnumerateDenseRanked functions 2024-04-04 14:13:22 +02:00
Blargian
bad6023064 Add arrayEnumeratedDenseRanked 2024-04-04 10:52:11 +02:00
Blargian
ab42b9736d Added arrayDotProduct 2024-04-03 12:15:19 +02:00
pufit
1c10c3802c
Docs formatting typo 2024-04-03 11:09:35 +02:00
Blargian
daa07fbe9f Update function names and syntax 2024-04-03 11:07:55 +02:00
Robert Schulze
84f929ca4e
Merge pull request #61409 from ClibMouse/feature/dateDiff-nanoseconds
Calculate result of `date_diff`/`age` at nanosecond precision
2024-04-02 13:18:19 +02:00
Blargian
fa79395127 Place warning about embedded dictionaries in a 'note' section 2024-04-02 12:58:06 +02:00
Blargian
eeb03182b8 Add link to DIctionaries section 2024-04-02 12:39:13 +02:00
robot-clickhouse-ci-1
38254cf52d
Merge pull request #62109 from Blargian/document_hasXYZ
Document hasXYZ
2024-04-02 10:48:20 +02:00
李扬
5f786647fb
Merge branch 'ClickHouse:master' into complex_map_key 2024-04-02 12:10:37 +08:00
Shaun Struwig
7c4b421264
Merge branch 'master' into document_ngramXYZ 2024-04-01 20:02:23 +02:00
Blargian
3207f230f8 Small fixes 2024-04-01 20:00:30 +02:00
Blargian
5e664b0f9d Correct link to string literal 2024-04-01 19:41:18 +02:00
Blargian
f0642485d7 Add examples for UTF8 variants of ngramDistance 2024-04-01 19:31:02 +02:00
Han Fei
3b1140b6c4
Merge pull request #62037 from jincong8973/docs-zh-string-search-functions
Update string-search-functions.md
2024-04-01 18:46:43 +02:00
Han Fei
fe8d4b5dfc refine 2024-04-01 17:06:54 +02:00
Shaun Struwig
8f94261e0e
Fix spelling mistake
insensitve -> insensitive
2024-03-30 20:04:51 +01:00
Blargian
380788ea30 Update ngramSearch functions 2024-03-30 17:22:31 +01:00
Blargian
2f50c76f3d Update ngramDistance functions 2024-03-30 16:30:55 +01:00
Blargian
33136b9a1a Minor detail fixes 2024-03-30 15:16:01 +01:00
Blargian
49c33039b9 Updates to hasSubsequence functions 2024-03-30 14:13:30 +01:00
Blargian
3c07d41152 Add minimal documentation for hasThreadFuzzer 2024-03-29 17:24:54 +01:00
Blargian
1dcba74f66 Small grammar edits to description at top of the page 2024-03-28 21:54:26 +01:00
Blargian
7288aeb826 More consistency edits 2024-03-28 21:45:36 +01:00
Blargian
cc35db1cef Finor fixes 2024-03-28 21:20:33 +01:00
Blargian
89afca881f Minor formatting changes to multipleSearchAllPositions 2024-03-28 21:06:17 +01:00
Blargian
a97a3196b4 Standardize formatting of multisearchFirstPositionXYZ functions 2024-03-28 20:52:55 +01:00
Blargian
ef826ee881 Standardize format of multiSearchFirstIndexXYZ functions 2024-03-28 19:47:50 +01:00
Blargian
e324973450 Standardize function formatting for MultiSearchAllPositionsXYZ and MultiSearchAnyXYZ functions 2024-03-28 12:36:11 +01:00
Blargian
241e68c44b Add documentation for hasToken functions 2024-03-28 11:22:28 +01:00
ILya Limarenko
4ba1078314
Update url-functions.md
suggestion to fix the example for the cutToFirstSignificantSubdomainWithWWW function
2024-03-27 13:10:14 +01:00
Austin Kothig
c15993220f
Merge remote-tracking branch 'upstream' into feature/dateDiff-nanoseconds 2024-03-26 09:04:23 -07:00
Alexey Milovidov
08b7dd9591 Merge branch 'master' into get-client-http-header 2024-03-24 00:54:25 +01:00
Alexey Milovidov
78d3351552 Add function getClientHTTPHeader, part 3 2024-03-23 21:48:28 +01:00
yariks5s
de55ec24cc tests+docs 2024-03-22 14:29:44 +00:00
johnnymatthews
fcb34995e9 Adds connectionId and connection_id function docs. 2024-03-21 22:14:41 -03:00
Austin Kothig
cefdbfb7c3
Applying feedback. 2024-03-20 07:05:49 -07:00
robot-clickhouse-ci-1
414bb49069
Merge pull request #61478 from Blargian/document_wkt_function
Add WKT function to documentation
2024-03-19 13:56:55 +01:00
Blargian
e956656e9d Remove primitive types from parameters - looks ugly 2024-03-16 15:19:30 +01:00
Blargian
5b05bee2a9 Add reference to geodata types 2024-03-16 15:16:53 +01:00
Blargian
f85eda34d9 Update wording for multipolygon 2024-03-16 13:25:07 +01:00
Blargian
5c9f132800 Explain behaviour for various geometric types and array shapes 2024-03-16 13:18:56 +01:00
Shaun Struwig
e1b2e0a00b
Update polygon.md
Add WKT function to documentation
2024-03-16 02:34:45 +01:00
Austin Kothig
5020741b25
Add support for nanosecond level precision. 2024-03-14 14:34:45 -07:00
Robert Schulze
4233fa4d80
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql 2024-03-14 11:35:58 +00:00
Robert Schulze
7a5ac383e5
Merge pull request #61308 from rschu1ze/docs-sleep
Docs: Follow up to #61258
2024-03-13 15:42:47 +01:00
Robert Schulze
d2a523579a
Merge pull request #61285 from peter279k/improve_null_usage
Improve related NULL functions usage
2024-03-13 15:32:58 +01:00
Robert Schulze
6bbf9eb540
Fixup fixups 2024-03-13 13:57:55 +00:00
Robert Schulze
4f2be00352
Some fixups 2024-03-13 13:55:32 +00:00
Robert Schulze
f16259e54c
Merge pull request #61101 from ClickHouse/docs/add-substring-utf8
Document `substringUTF8` and `substringIndexUTF8`
2024-03-13 14:09:07 +01:00
Robert Schulze
d8c5008280
Follow up to #61258 2024-03-13 13:07:14 +00:00
János Benjamin Antal
cccf054420
Merge pull request #60881 from ClickHouse/add-docs-to-simplejson-and-sin
Add docs to simplejson and sin
2024-03-13 14:00:51 +01:00
Robert Schulze
1e536251a2
Update string-functions.md 2024-03-13 13:41:56 +01:00
Robert Schulze
6ca4fc26f4
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2024-03-13 13:39:14 +01:00
Robert Schulze
b4953f35b4
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2024-03-13 13:39:03 +01:00
Robert Schulze
4954bde599
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2024-03-13 13:38:35 +01:00
Robert Schulze
173fa7934c
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql 2024-03-13 12:31:56 +00:00
peter279k
0353121dcc
Improve related NULL functions usage 2024-03-13 19:17:27 +08:00
Yakov Olkhovskiy
460692ac74
Update docs/en/sql-reference/functions/other-functions.md 2024-03-13 00:36:23 -04:00
johnnymatthews
2847def517 Formats markdown with prettier. 2024-03-12 13:57:34 -03:00
johnnymatthews
b3cfb8a2cb Adds sleep function docs. 2024-03-12 13:57:03 -03:00
Robert Schulze
66e7c26bce
Merge pull request #61103 from ClickHouse/docs/add-readWKT-Point-and-Ring
Adds read wkt point and ring docs.
2024-03-11 15:11:43 +01:00
Robert Schulze
1ea68265b5
Revert "Adds makeDateTime64 function."
This reverts commit bd194aab41.
2024-03-11 12:46:30 +00:00
Robert Schulze
683d229d2d
Merge pull request #60868 from Blargian/document_morton_xyz
Add `mortonEncode` and `mortonDecode` to documentation
2024-03-11 13:27:28 +01:00
Robert Schulze
e43ac49d4e
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql 2024-03-11 12:23:15 +00:00
Robert Schulze
a0727ba0af
Merge pull request #60725 from ClickHouse/docs/rand-functions
Document undocumented `rand*` functions
2024-03-11 11:54:29 +01:00
Robert Schulze
27099cedcb
Some fixups 2024-03-11 08:34:01 +00:00
Robert Schulze
3c60e82971
Incorporate review feedback 2024-03-11 07:41:28 +00:00
Johnny
e7270069a4
Removes dupliated h2 header. 2024-03-11 07:38:51 +00:00
johnnymatthews
ade0f9f75f
Adds docs for emptyArrayDate and emptyArrayDateTime. 2024-03-11 07:38:49 +00:00
johnnymatthews
c3895c3546
Adds emptyArrayFloat32/64 docs. 2024-03-11 07:38:46 +00:00
johnnymatthews
515cb59b00
Adds emptyArrayIntX docs. 2024-03-11 07:38:43 +00:00
johnnymatthews
d16c6780c7
Adds basic emptyArrayUIntX docs. 2024-03-11 07:38:40 +00:00
李扬
a830462af2
Merge branch 'ClickHouse:master' into complex_map_key 2024-03-11 10:26:44 +08:00
Robert Schulze
349894fc2b
Fixes #61051 2024-03-10 13:13:59 +00:00
johnnymatthews
2196c75dd8 Adds substring-UTF8 docs. 2024-03-08 11:07:04 -04:00
johnnymatthews
a00a1fd7b4 Adds readWKT docs. 2024-03-07 14:45:15 -04:00
johnnymatthews
bd194aab41 Adds makeDateTime64 function. 2024-03-07 12:55:21 -04:00
Shaun Struwig
06a7665d0e
Update encoding-functions.md
Add missing "Result:" after query
2024-03-06 18:19:52 +01:00
János Benjamin Antal
bdb76d9dd4 Fix aspell errors 2024-03-06 16:30:22 +00:00
Robert Schulze
1c10b96361
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-54746_to_millisecond_function 2024-03-06 09:04:57 +00:00
Shaun Struwig
68a3ca37c4
Add examples using columns 2024-03-06 06:42:01 +01:00
János Benjamin Antal
981c507d80 Add example to sin. 2024-03-05 17:01:54 +00:00
János Benjamin Antal
aa6b70e5f2 Add documentation to simpleJSON functions 2024-03-05 16:55:08 +00:00
Blargian
45509607ad Fix spelling mistake 2024-03-05 15:50:30 +01:00
Blargian
7930a26df1 Fix formatting of compression/expansion levels 2024-03-05 15:47:45 +01:00
Blargian
bfb703b579 Add mortonEncode and mortonDecode to documentation 2024-03-05 15:38:42 +01:00
johnnymatthews
e98c30c161 Reorganizes rand docs page. 2024-03-03 14:38:59 -07:00
johnnymatthews
77fe221665 Adds undocumented rand functions. Prettifies markdown. 2024-03-03 14:25:25 -07:00
robot-ch-test-poll4
c46ffbaf24
Merge pull request #60700 from Blargian/document_function_today
Update documentation for `today` function
2024-03-03 18:23:01 +01:00
robot-clickhouse-ci-1
f87d19efc5
Merge pull request #60679 from Blargian/document_function_TimeDiff
Document `timeDiff` function
2024-03-03 18:02:42 +01:00
Blargian
b910a66f19 Update example to showcase aliases 2024-03-03 13:18:35 +01:00
Blargian
27231a9542 Add example query and response 2024-03-03 13:14:29 +01:00
Blargian
8e79b229b1 Update documentation for function 2024-03-03 10:49:59 +01:00
Alexey Milovidov
1f1e0f082a
Merge branch 'master' into changelog-24.2 2024-03-03 03:27:28 +03:00
Blargian
e3329a44a8 Add missing documentation for timeDiff function 2024-03-01 21:17:49 +01:00
Robert Schulze
68181ab00f
Revert "Revert "Add toMillisecond function""
This reverts commit 5225fc6a14.
2024-03-01 13:14:44 +00:00
Alexander Tokmakov
5225fc6a14
Revert "Add toMillisecond function" 2024-03-01 13:59:03 +01:00
Robert Schulze
44c3de1a0b
Merge pull request #60281 from Blargian/54746_to_millisecond_function
Add `toMillisecond` function
2024-03-01 11:34:20 +01:00
Blargian
3e5bf7935e Fix documentation 2024-02-29 21:46:25 +01:00
Robert Schulze
e760c082bf
More fixups for tukey 2024-02-29 12:23:17 +00:00
Robert Schulze
e02c083e60
Add convenience alias byteSlice for substring 2024-02-28 13:32:56 +00:00
Robert Schulze
b380d06e6e
Update date-time-functions.md 2024-02-28 12:20:29 +01:00
Robert Schulze
6306e51ee9
Update date-time-functions.md 2024-02-28 12:18:58 +01:00
Robert Schulze
613e426484
Some fixups 2024-02-28 11:14:53 +00:00
taiyang-li
48a2934b15 adjust docs 2024-02-27 19:47:32 +08:00
Johnny
5bd8f4356c
Cleans up version() example. 2024-02-26 12:41:44 -04:00
9611008+johnnymatthews@users.noreply.github.com
290de0a810 Adds docs for version(). 2024-02-23 12:26:29 -04:00
Shaun Struwig
0eca413fe2
Update date-time-functions.md
correct casing in documentation
2024-02-22 12:38:01 +01:00
Robert Schulze
ae597d86dd
Merge remote-tracking branch 'rschu1ze/master' into vector-dot-product 2024-02-22 10:16:28 +00:00
Blargian
f9e608f369 update documentation and add a failing test 2024-02-21 21:30:49 +01:00
Robert Schulze
db974098d0
More refactoring and cleanup 2024-02-20 21:22:58 +00:00
Raúl Marín
793ae52bf8 Fix cosineDistance crash with Nullable 2024-02-19 17:30:00 +01:00
Igor Nikonov
062602d433 Merge remote-tracking branch 'origin/master' into docs_fix_typos 2024-02-15 18:22:00 +00:00
Yarik Briukhovetskyi
a7af4e860e
Merge pull request #60014 from ClickHouse/docs-starts-with-UTF8-min-version
[Docs] Add min version for startsWithUTF8
2024-02-15 13:09:25 +01:00
Justin de Guzman
a037933cc6
[Docs] Add min version for startsWithUTF8 2024-02-14 22:57:23 -08:00
Nikolai Fedorovskikh
a98af159b5 [Docs] fix some typos and missing commas 2024-02-13 02:10:41 +01:00
Robert Schulze
cfa1a452e1
Refactorings, pt. I 2024-02-08 11:33:34 +00:00
Bhavna Jindal
28e6e29004 Minor fixes 2024-02-02 07:46:36 -08:00
Bhavna Jindal
ce31fa912b removed unnecessary method overloading and fixed documentation 2024-02-01 09:24:12 -08:00
Bhavna Jindal
4bc26fe45f Added support for custom percentiles and K 2024-01-31 10:41:05 -08:00
Bhavna Jindal
487ef67e97 Added custom tukey 2024-01-31 10:39:58 -08:00
Bhavna Jindal
d2ce39387f implemented series_outlier method 2024-01-31 10:39:39 -08:00
Kruglov Pavel
325419b096
Merge pull request #59398 from Avogar/variant-type-func
Add function variantType
2024-01-31 13:06:54 +01:00
avogar
584694ed51 Add function variantType 2024-01-30 18:01:12 +00:00
Alexey Milovidov
b4a5b6060e
Merge pull request #59341 from rschu1ze/non-string-concat-with-separator
Allow non-string arguments in `concatWithSeparator()`
2024-01-30 04:10:06 +01:00
Robert Schulze
7683b44bf6
Merge pull request #58961 from ClibMouse/seriesDecompose
Return baseline component from function `seriesDecomposeSTL()`
2024-01-29 20:41:09 +01:00
Robert Schulze
c2b7d2047e
Support arguments of arbitary type in function concatWithSeparator()
Follow-up to #56540
2024-01-29 14:11:21 +00:00
Bhavna Jindal
926982856d Merge remote-tracking branch 'upstream/master' into seriesDecompose 2024-01-24 10:11:00 -08:00
Bhavna Jindal
d9edd5a7f3 fix spell check 2024-01-22 13:32:57 -08:00
Bhavna Jindal
f935493f28 fix trailing whitespaces 2024-01-22 13:32:57 -08:00
Bhavna Jindal
c59f3e164f Return baseline component as fourth array 2024-01-22 13:32:57 -08:00
Kruglov Pavel
5444cde408
Merge branch 'master' into variant-data-type 2024-01-18 18:31:27 +01:00
Robert Schulze
84ab20ff77
Some fixups 2024-01-17 12:01:52 +00:00
Robert Schulze
22534c69c4
Merge remote-tracking branch 'ClickHouse/master' into u/zhengmiao/AddArrayFunctionShingles 2024-01-17 10:49:11 +00:00
Yarik Briukhovetskyi
b6a98f7a24
Merge branch 'master' into time_buckets_impl 2024-01-12 17:48:14 +01:00
Robert Schulze
582a9cc2a7
Merge pull request #58655 from rschu1ze/docs-match
Document that `match()` can use `ngrambf_v1` and `tokenbf_v1` indexes
2024-01-10 15:43:52 +01:00
Robert Schulze
27e809a4f5
Add match() to supported functions for token/ngrambf_v1 indexes 2024-01-10 13:39:19 +00:00
Robert Schulze
92692bc57c
Fix links 2024-01-10 13:36:54 +00:00
Robert Schulze
a0128e0f51
Merge pull request #58544 from rschu1ze/sqid-decode
Add `sqidDecode()` function
2024-01-10 13:47:13 +01:00
Robert Schulze
69ba1a706a
Merge remote-tracking branch 'rschu1ze/master' into string-similarity 2024-01-09 15:22:52 +00:00
Robert Schulze
64ab30f446
Merge pull request #57078 from ClibMouse/seriesDecompose
Seasonal decompose of time series into seasonal, trend and residue components
2024-01-09 11:18:13 +01:00
Bhavna Jindal
b2434d0c10 minor refactoring and cosmetic changes 2024-01-08 10:49:09 -08:00
Kruglov Pavel
b947609b8e
Merge branch 'master' into variant-data-type 2024-01-08 15:04:51 +01:00
Robert Schulze
ee0738e3df
Implement jaroSimilarity + jaroWinklerSimilarity 2024-01-07 08:34:41 +00:00
Robert Schulze
7d98fdede7
Implement Dramerau-Levenshtein distance 2024-01-07 08:34:41 +00:00
Robert Schulze
d54e500832
Merge remote-tracking branch 'rschu1ze/master' into punycode-revert-revert 2024-01-07 08:08:46 +00:00
Robert Schulze
adebc372d7
Improve wording in docs 2024-01-07 08:07:03 +00:00
Yarik Briukhovetskyi
435439d6b3
Merge branch 'ClickHouse:master' into time_buckets_impl 2024-01-06 01:21:10 +01:00
Robert Schulze
44b9547fba
Rename decode/encodeSqid() to sqidDecode/Encode() 2024-01-05 21:40:35 +00:00
Bhavna Jindal
22474f6b38 changed 2nd argument type to UInt and other cosmetic changes 2024-01-05 11:39:52 -08:00
Robert Schulze
f6ecf2b617
Add decode function for sqids 2024-01-05 13:33:40 +00:00
Robert Schulze
8169b3e17f
Merge remote-tracking branch 'rschu1ze/master' into punycode-revert-revert 2024-01-05 12:19:46 +00:00
Robert Schulze
2cc2a9089c
Incorporate review feedback 2024-01-05 12:18:21 +00:00
Blacksmith
f213e880eb Add doc for shingles function. 2024-01-05 04:11:15 +08:00
Robert Schulze
76b7cddb18
Update docs 2024-01-04 16:29:43 +00:00
Kruglov Pavel
cc7d7e3811
Merge pull request #58456 from mneedham/patch-1
Add output_format_decimal_trailing_zeros setting for trailing zeros
2024-01-04 15:32:31 +01:00
Robert Schulze
f652c6050c
Implement idnaEn/Decode() 2024-01-03 18:08:32 +00:00
Bhavna Jindal
62521d30ce fix style-check 2024-01-03 09:34:58 -08:00
Bhavna Jindal
8a7eaed07e Added additional testcases 2024-01-03 09:16:32 -08:00
Mark Needham
3125482631
Add output_format_decimal_trailing_zeros setting for trailing spaces 2024-01-03 14:25:03 +00:00
Kruglov Pavel
4d8cf71ba7
Merge branch 'master' into variant-data-type 2024-01-03 15:21:23 +01:00
zvonand
89beb32e64 Edit docs for toWeek() 2024-01-03 13:10:14 +01:00
Robert Schulze
b5d7ea2b02
Introduce OrNull() overloads for punycodeEncode/Decode() 2024-01-03 10:50:00 +00:00
Robert Schulze
2186aa8f21
Revert "Revert "Implement punycode encoding/decoding""
This reverts commit 345d29a3c1.
2024-01-03 08:03:01 +00:00
Bhavna Jindal
c0cff7b4f3 handled edge cases and addresses review comments 2024-01-02 08:52:28 -08:00
Bhavna Jindal
5c34ddab09 implemneted seriesDecomposeSTL method 2024-01-02 08:52:23 -08:00
Alexey Milovidov
78523639e0 Remove function 2023-12-30 14:52:54 +01:00
Alexey Milovidov
345d29a3c1
Revert "Implement punycode encoding/decoding" 2023-12-28 09:12:22 +03:00
Kruglov Pavel
4b2a0b99fc
Update docs/en/sql-reference/functions/other-functions.md 2023-12-27 20:02:50 +01:00
Christoph Wurm
9def89d416 Fix anchors to settings.md 2023-12-20 18:26:36 +00:00
Robert Schulze
ecb6f31211
Merge pull request #57969 from rschu1ze/punycode-is-cool
Implement punycode encoding/decoding
2023-12-20 10:20:34 +01:00
Kruglov Pavel
087946f385
Merge branch 'master' into variant-data-type 2023-12-20 00:40:18 +01:00
robot-ch-test-poll3
39b77ddc02
Merge pull request #56138 from crackhead-koala/add-documentation-for-sample-size-functions
Add documentation for minSampleSizeConversion and minSampleSizeContinous
2023-12-19 23:19:55 +01:00
avogar
319ae440b6 Implement Variant data type 2023-12-19 16:45:15 +00:00
Robert Schulze
00c407ecc1
Merge remote-tracking branch 'rschu1ze/master' into punycode-is-cool 2023-12-19 06:27:23 +00:00
Yarik Briukhovetskyi
0671ade7be
Merge branch 'ClickHouse:master' into date_trunc_docs_enhancement 2023-12-18 18:07:31 +01:00
yariks5s
1a66dd94fa init 2023-12-18 15:37:02 +00:00
Robert Schulze
414a2893d0
Merge pull request #57821 from rschu1ze/consolidate-substring-tests
Dumb down `substring()` tests
2023-12-18 12:32:20 +01:00
Alexey Milovidov
33cf8842bc
Merge branch 'master' into fix-arrayfold 2023-12-18 04:57:07 +01:00
Robert Schulze
19c8ac567f
Implement punycodeEncode()/Decode() 2023-12-17 17:04:28 +00:00
Julia Kartseva
7a5b40563a
Merge pull request #57574 from ClibMouse/dev-seriesPeriodDetect
Revert "Revert "Implemented series period detect method using pocketfft lib""
2023-12-14 21:10:23 -08:00
Bhavna Jindal
bb8589cabe minor cosmetic changes 2023-12-14 08:34:37 -08:00
Robert Schulze
b36a93a25d
Revert "Remove arrayFold"
This reverts commit 15dc0ed610.
2023-12-14 09:52:29 +00:00
Alexey Milovidov
e4901323fd
Merge pull request #57836 from ClickHouse/remove-array-fold
Remove `arrayFold`
2023-12-14 07:15:29 +01:00
Nikolay Degterinsky
4c8cc4e0bd
Update string-functions.md 2023-12-14 05:32:12 +01:00
Alexey Milovidov
15dc0ed610 Remove arrayFold 2023-12-14 04:34:32 +01:00
andrewzolotukhin
c29007beeb
Fixed typo in string-functions.md 2023-12-14 04:54:52 +02:00
Robert Schulze
d0a4443bbc
Consolidate substring() tests 2023-12-13 16:49:39 +00:00
Yarik Briukhovetskyi
2ebcd7ba42
Merge branch 'master' into time_buckets_impl 2023-12-12 17:58:37 +01:00
Robert Schulze
e6372d5528
Merge remote-tracking branch 'rschu1ze/master' into substr-with-enums 2023-12-12 12:59:30 +00:00