Commit Graph

2635 Commits

Author SHA1 Message Date
Robert Schulze
95fe3a8035
Merge remote-tracking branch 'rschu1ze/master' into uniform-snowflake-id-conversion 2024-06-17 13:26:38 +00:00
Mikhail Gorshkov
a6520bcf90 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into ADQM-1893 2024-06-13 14:03:11 +00:00
Blargian
040b25f5b7 Use LaTex on math functions page, add pages for exponentialTimeDecay functions 2024-06-13 08:51:29 +02:00
Blargian
84e81daa3e Second pass fix remaining broken links 2024-06-12 15:09:50 +02:00
Blargian
d851fa871f Fix broken links in docs 2024-06-12 14:09:37 +02:00
Mikhail Gorshkov
39914d848d Docs updated, __msan_unpoison usage fixed 2024-06-11 15:13:42 +00:00
Robert Schulze
9b37288e7e
Merge remote-tracking branch 'rschu1ze/master' into uniform-snowflake-id-conversion 2024-06-10 16:49:36 +00:00
Mikhail Gorshkov
0da0d8dfb1 PR post-review fixes 2024-06-10 10:14:45 +00:00
Robert Schulze
e9bcaad952
Merge pull request #64911 from Blargian/document_lowCardinalityXYZ
[Docs] add `lowCardinalityKeys`, `lowCardinalityIndices` to docs
2024-06-09 10:44:13 +00:00
Blargian
3238bcf90a Review changes 2024-06-08 09:49:45 +02:00
Alexey Milovidov
95e3adf976
Merge pull request #62519 from ClickHouse/linestring
Add support for `LineString` geometry type
2024-06-07 18:38:27 +02:00
Mikhail Gorshkov
98235ba2b1 Dedicated support for Base64URL encoding 2024-06-07 15:47:12 +00:00
Yarik Briukhovetskyi
f6d525f6df
Merge branch 'ClickHouse:master' into time_buckets_impl 2024-06-07 13:24:46 +02:00
Robert Schulze
9920c3d17f
Add uniform snowflakeID conversion functions 2024-06-07 11:16:46 +00:00
Mikhail Gorshkov
b98eca1e60 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-1892 2024-06-07 06:03:23 +00:00
Yarik Briukhovetskyi
26503e1c53
Merge branch 'ClickHouse:master' into time_buckets_impl 2024-06-06 16:36:39 +02:00
Shaun Struwig
03458a516a
Fix typo 2024-06-06 15:06:16 +02:00
Blargian
fab23d2a16 Add lowCardinalityKeys, lowCardinalityIndices and an example for blockSize 2024-06-06 15:02:33 +02:00
Blargian
2a5f9c941c document to/fromUnixTimestampXYZ functions 2024-06-06 13:47:13 +02:00
Mikhail Gorshkov
83901b82c9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-1892 2024-06-05 13:13:06 +00:00
Robert Schulze
1628c2985d Some fixups 2024-06-05 11:55:55 +00:00
Robert Schulze
ec3b82ba63
Merge pull request #64606 from rschu1ze/map-stuff
Double-checking #59318 and docs for `Map`
2024-06-05 07:56:29 +00:00
Alexey Milovidov
bb9091ad5a
Merge pull request #64582 from arenadata/ADQM-1868
Binary math functions Decimal support
2024-06-05 02:15:40 +02:00
Robert Schulze
c061a42f35
Merge pull request #64742 from Beetelbrox/fjurado-61548/feat-add-parseReadableSize-function
Add `parseReadableSize` function
2024-06-04 18:39:33 +00:00
Mikhail Gorshkov
830acd3a89 Support non-const scale arguments in rounding functions 2024-06-04 15:32:38 +00:00
Francisco Javier Jurado Moreno
6b96a35b47 Replace & by 'and' in docs 2024-06-04 14:14:15 +02:00
Robert Schulze
14404b8a0a
Merge remote-tracking branch 'rschu1ze/master' into map-stuff 2024-06-04 08:42:25 +00:00
Yarik Briukhovetskyi
230fbf76a9
Merge pull request #60156 from Artemmm91/hilbert-function
Add `hilbertEncode` and `hilbertDecode` functions
2024-06-03 12:23:01 +00:00
Francisco Javier Jurado Moreno
e33f996394 Add parseReadableSize* functions to docs 2024-06-03 10:47:51 +02:00
Robert Schulze
29f57acbc2
Fix spelling 2024-05-31 12:26:18 +00:00
Robert Schulze
8fc358f427
Merge remote-tracking branch 'rschu1ze/master' into map-stuff 2024-05-31 11:19:57 +00:00
Robert Schulze
85e5175a59
Doc updates 2024-05-31 11:17:22 +00:00
Mikhail Gorshkov
f3c97ff31f
Merge branch 'master' into ADQM-1868 2024-05-31 12:19:06 +03:00
Robert Schulze
61b3640b3b
docs fixes 2024-05-30 22:23:55 +00:00
Robert Schulze
33fd812a30
Fix spelling 2024-05-30 10:08:17 +00:00
Robert Schulze
48bd68a93e
Revert "Add fromReadableSize function" 2024-05-30 09:55:26 +02:00
Julia Kartseva
d816f38d77
Merge pull request #64511 from Blargian/document_JSON
[Docs] Update JSON functions docs
2024-05-30 00:03:16 +00:00
Robert Schulze
b0c955e9c9
Various stuff 2024-05-29 20:51:48 +00:00
Blargian
481a1f032f Add missing domainWithoutWWWRFC 2024-05-29 20:26:52 +02:00
Robert Schulze
2690b58eae
Merge pull request #64506 from rschu1ze/remove-generateUUIDv7-variants
Remove `generateUUIDv7(NonMonotonic|ThreadMonotonic)` functions
2024-05-29 15:05:47 +00:00
Robert Schulze
8b9c75853f
Merge pull request #64494 from Blargian/document_topLevelDomainRFC
[Docs] add missing `RFC` variants to URL functions
2024-05-29 14:53:04 +00:00
Robert Schulze
62d95eb13f
Streamline docs 2024-05-29 14:15:46 +00:00
Robert Schulze
ef8707507b
Minor consistency fix 2024-05-29 13:56:16 +00:00
Robert Schulze
811b5e638b
Function arguments are by convention lower case 2024-05-29 13:52:54 +00:00
Robert Schulze
c2a71e047a
No …, please. 2024-05-29 13:50:24 +00:00
Robert Schulze
c40a5647c2
Rephrase intro a bit 2024-05-29 13:49:46 +00:00
Mikhail Gorshkov
1ea6069712 Merge branch 'upstream_master' into 'ADQM-1868' 2024-05-29 13:46:57 +00:00
Robert Schulze
a6140ac8b0
Strip trailing whitespace 2024-05-29 13:43:15 +00:00
Blargian
3495d92803 Fix style check 2024-05-29 15:26:10 +02:00
Blargian
16c237141b Fix mroe typos 2024-05-29 15:12:19 +02:00
Blargian
fc4bf97ffe Fix typo 2024-05-29 15:10:57 +02:00
Blargian
33dc8ce456 Update url-functions.md 2024-05-29 15:04:02 +02:00
Shaun Struwig
fcb03aadd0
Fix typo 2024-05-29 13:52:47 +02:00
Blargian
a68ebaafd7 Solve merge conflict 2024-05-29 13:50:45 +02:00
Robert Schulze
a87e99e736
Merge pull request #64386 from Beetelbrox/fjurado-61548/feat-add-fromreadablesize-function
Add `fromReadableSize` function
2024-05-29 11:05:29 +00:00
Robert Schulze
b3fb2f7d5e
Merge pull request #64496 from Blargian/docs_UTCTimestamp
[Docs] add missing `UTCTimestamp` function
2024-05-29 09:34:00 +00:00
Blargian
9bd558bc00 Incorporate review changes 2024-05-29 11:09:41 +02:00
Robert Schulze
0dbb33232a
Merge pull request #64458 from Blargian/document_toStartOf
[Docs] add missing `toStartOfMillisecond`, `toStartOfMicrosecond`, `toStartOfNanosecond`
2024-05-28 22:21:08 +00:00
Artem Mustafin
d630f34eca docs upd 2024-05-28 18:37:39 +00:00
Artem Mustafin
3f1941dd15 docs added 2024-05-28 18:25:37 +00:00
Robert Schulze
990ce0b3ae
Add cross-refs and make the description easier to digest 2024-05-28 15:32:34 +00:00
Robert Schulze
81ca448d6b
Move fromReadable* docs after docs of formatReadable* functions 2024-05-28 15:20:23 +00:00
Mikhail Gorshkov
1f31f19da5 Fixes and documentation 2024-05-28 13:09:41 +00:00
Blargian
75bb7525da Make headings subheadings to organize functions into two categories 2024-05-28 14:48:10 +02:00
Blargian
67abbca562 More updates to formatting 2024-05-28 14:37:54 +02:00
Blargian
75450140ee JSON functions update 2024-05-28 13:43:22 +02:00
Robert Schulze
52d77052d3
Remove generateUUIDv7NonMonotonic() and generateUUIDv7ThreadMonotonic() functions 2024-05-28 11:27:06 +00:00
Francisco Javier Jurado Moreno
a25c4676da Update examples for fromReadableDecimalSize 2024-05-28 12:50:07 +02:00
Francisco Javier Jurado Moreno
25f4430fbc Add regular docs for formatReadableSize flavours 2024-05-28 12:42:06 +02:00
Robert Schulze
70302fe309
Remove generateSnowflakeIDThreadMonotonic 2024-05-28 09:22:52 +00:00
Blargian
98e6f115d5 Add link to now function 2024-05-28 10:39:17 +02:00
Blargian
ebacc95df3 Add missing UTCTimestamp function 2024-05-28 10:35:00 +02:00
Shaun Struwig
899bb86f9a
Merge branch 'master' into document_topLevelDomainRFC 2024-05-28 09:07:01 +02:00
Blargian
304dc52b3a Add missing topLevelDomainRFC 2024-05-28 09:02:21 +02:00
Robert Schulze
d6089cf456
Merge pull request #64428 from Blargian/document_reinterpretAsXYZ
[Docs] add missing `reinterpretXYZ` functions
2024-05-27 15:35:55 +00:00
Blargian
985e327553 Add missing toStartOfNanosecond 2024-05-27 17:10:32 +02:00
Blargian
9f72635c4e Add missing toStartOfMillisecond, toStartOfMicrosecond 2024-05-27 16:58:58 +02:00
Blargian
8166da7fbb Incorporate review changes 2024-05-27 16:21:36 +02:00
Francisco Javier Jurado Moreno
7dcfb55021 Update documentation to reflect new type 2024-05-27 15:09:30 +02:00
Nikita Mikhaylov
0b6391d565 Merge branch 'master' of github.com:ClickHouse/ClickHouse into linestring 2024-05-27 10:23:33 +00:00
Blargian
c6660c70b1 Add missing reinterpret functions to documentation 2024-05-27 10:27:50 +02:00
Francisco Javier Jurado Moreno
12760dddae Fix typos in doc 2024-05-25 07:55:36 +02:00
Francisco Javier Jurado Moreno
b884d827a5 Rebase and fix merge conflicts 2024-05-24 17:21:02 +02:00
Francisco Javier Jurado Moreno
0b7ef00161 Update docs 2024-05-24 17:08:29 +02:00
Robert Schulze
3d91937a94
Merge remote-tracking branch 'ClickHouse/master' into add-serial-function 2024-05-24 10:32:20 +00:00
Blargian
c638de90c2 Fix incorrectly placed :::note blocks 2024-05-24 10:01:06 +02:00
Blargian
8783647703 Revert addressToLine to original formatting 2024-05-24 07:03:15 +02:00
Blargian
b19c5ad13a Revert roundAge to original formatting 2024-05-24 07:01:15 +02:00
Blargian
3071909aca Revert roundAge to original formatting 2024-05-24 07:00:47 +02:00
Blargian
67ff6883fd Restore original formatting for logical functions and, or, not, xor 2024-05-24 06:51:38 +02:00
Blargian
e87c168bd8 Turn multi-line returns into a single line 2024-05-24 06:42:13 +02:00
Blargian
029e2ea226 Standardize references to data type docs 2024-05-24 05:54:16 +02:00
Robert Schulze
dab090e629
Cosmetics, pt. VII (includes a move of all snowflake-related functions in one document) 2024-05-23 17:14:06 +00:00
Shaun Struwig
3b2ff65994
Merge branch 'master' into docs_return_type_consistency 2024-05-23 17:29:26 +02:00
Shaun Struwig
bab94ac56a
Correct "note:::" to ":::note" 2024-05-23 17:24:07 +02:00
Shaun Struwig
732b6d1ecc
Add hyphens to return values 2024-05-23 17:22:02 +02:00
Shaun Struwig
a01b6e8e82
Numbers in return type should be in `` 2024-05-23 17:19:03 +02:00
Shaun Struwig
9cfd2322d7
Small edits to bit-functions.md 2024-05-23 17:14:56 +02:00
Shaun Struwig
9481f2f325
Update array-functions.md
Add missing ::: for note
2024-05-23 17:07:55 +02:00
Blargian
45e4e30cfd Update retuurn type of logical functions 2024-05-23 16:51:17 +02:00
Blargian
9911f13c77 Update function return type for consistency 2024-05-23 16:39:53 +02:00
Shaun Struwig
508b035654 Move is NaN from other-functions to arithmetic functions 2024-05-23 14:08:48 +00:00
Nikita Mikhaylov
7e5bf14135 Add support for LineString WKT 2024-05-23 14:00:49 +00:00
Shaun Struwig
f8fc1fa338
Merge branch 'master' into document_revision 2024-05-23 16:00:38 +02:00
Blargian
87b4d43a3f Update return type formatting 2024-05-23 15:48:20 +02:00
Blargian
713764f62f Add missing space before link 2024-05-23 14:01:00 +02:00
Blargian
ce26c4f657 Review changes and replace … with ... 2024-05-23 13:54:45 +02:00
Robert Schulze
906d17e6d5
Merge pull request #63957 from Blargian/document_proportionsZTest
[Docs] add `proportionsZTest` to docs
2024-05-23 11:49:24 +00:00
Yarik Briukhovetskyi
872818b363
Merge branch 'master' into time_buckets_impl 2024-05-23 13:39:35 +02:00
Blargian
9234beaff8 Fix typo and move from other-functions to math-functions 2024-05-23 09:32:43 +02:00
Blargian
88ae74f6fd Add test for reinterpretXYZ 2024-05-23 09:28:38 +02:00
Danila Puzov
b6aa841e57 Docs for generateSnowflakeID 2024-05-22 19:26:48 +03:00
Robert Schulze
fdb63fc7ed
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-05-22 12:23:36 +00:00
Robert Schulze
9b9f37a4f1
Merge pull request #63849 from Blargian/document_rowNumberInXYZ
[Docs] update `rowNumberInXYZ` functions
2024-05-21 21:07:37 +00:00
Robert Schulze
cd742dd040
Fix whitespace errors 2024-05-21 20:41:20 +00:00
Robert Schulze
c10bafc094
Incorporate feedback 2024-05-21 20:39:35 +00:00
Robert Schulze
6ff3cf8281
Some fixups, pt. V 2024-05-20 15:36:25 +00:00
Robert Schulze
d115adf462
Some fixups, pt. IV 2024-05-20 15:12:23 +00:00
Maksim Galkin
dd23603ba0 merge remote fixups of this branch 2024-05-20 11:46:00 +00:00
Maksim Galkin
ba1e0e0317 added docks + updated tests 2024-05-20 11:43:31 +00:00
Blargian
764bf4d477 Update reinterpretAsFixedString documentation and add tests 2024-05-17 22:04:40 +02:00
Blargian
077e6057f2 Update reinterpretAsDate and reinterpretAsDateTime functions, add a test 2024-05-17 21:45:07 +02:00
Blargian
cc583185bd Add revision and make some formatting changes to other-functions page 2024-05-17 08:33:08 +02:00
Justin de Guzman
9d8baa894a
[Docs] Incorrect sample syntax for cutToFirstSignificantSubdomainCustom(URL, TLD) 2024-05-16 11:59:37 -07:00
Shaun Struwig
d8941873ec
Fix typo 2024-05-16 17:38:15 +02:00
Blargian
20b0a208bf Add proportionsZTest to docs 2024-05-16 15:04:13 +02:00
Blargian
4483da06e8 Update rowNumberInXYZ functions 2024-05-15 15:42:40 +02:00
Alexey Milovidov
17fc2936ce
Merge pull request #63379 from Blargian/document_showCertificate
[Docs] add missing `showCertificate`
2024-05-15 03:13:45 +00:00
Antonio Andelic
95aa9af3c1
Merge pull request #62377 from skyoct/feat/func_clamp
support clamp function
2024-05-14 08:09:02 +00:00
skyoct
ca4f76b9f7 update function docs 2024-05-14 09:53:15 +08:00
Robert Schulze
3b49cccb7d
Merge pull request #63266 from Blargian/document_addXYZ
[Docs] update `addXYZ` functions
2024-05-11 19:21:10 +00:00
Robert Schulze
c9382252ae
Merge pull request #63520 from Blargian/document_isXYZ
[Docs] add missing `isXYZ` functions
2024-05-11 19:20:25 +00:00
Alexander van Olst
0586952eca
Fix links to IETF Base58 draft 2024-05-10 11:29:18 +02:00
Blargian
a75151e80b Undo renaming and make review changes 2024-05-09 10:29:35 +02:00
Blargian
2f3231541c Make relevant changes to subtractXYZ 2024-05-08 23:58:51 +02:00
Shaun Struwig
c238ccd350
Merge branch 'master' into document_addXYZ 2024-05-08 23:54:52 +02:00
Blargian
f9965b6430 Review changes 2024-05-08 23:46:15 +02:00
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