Commit Graph

2244 Commits

Author SHA1 Message Date
János Benjamin Antal
7aab5855b6 Fix links 2024-05-02 07:00:40 +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
Robert Schulze
619d03079d
Merge remote-tracking branch 'ClickHouse/master' into improve_pr_62592 2024-04-29 19:23:48 +00: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
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
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
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
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