Commit Graph

5477 Commits

Author SHA1 Message Date
Nikita Mikhaylov
0c8775ac73
Merge pull request #62502 from Blargian/document_flattenTuple
[Docs] add missing `flattenTuple` function
2024-04-25 23:17:51 +00:00
Pablo Marcos
24b84ef68a Merge branch 'master' into pamarcos/system-unload-primary-key 2024-04-25 18:26:14 +02: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
Alexey Milovidov
d731838246
Merge pull request #62619 from kitaisreal/analyzer-support-qualify-clause
Analyzer support QUALIFY clause
2024-04-23 01:05:16 +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
Maksim Kita
0e28d20791 Fixed code review issues 2024-04-22 14:37:04 +03: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
Maksim Kita
0ad8c6ef78 Added docs 2024-04-22 12:12:02 +03: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
Justin de Guzman
98fef9f036
[Docs] Fix query 2024-04-19 13:36:41 -07:00
Justin de Guzman
4e38ccefdd
[Docs] Add examples for FINAL 2024-04-19 13:34:26 -07:00
vdimir
3f52f6efc2
Merge pull request #62616 from Blargian/document_tanh
[Docs] add missing `tanh`
2024-04-19 15:39:41 +00:00
Pablo Marcos
c28af20e2a Merge branch 'master' into pamarcos/system-unload-primary-key 2024-04-18 17:53:11 +02:00
jsc0218
7525b2acf4
Merge pull request #60117 from jsc0218/TableEngineGrant_version2
TableEngineGrant_version2
2024-04-18 14:30:34 +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
Pablo Marcos
556932706b Add SYSTEM UNLOAD PRIMARY KEY 2024-04-17 21:24:59 +02: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
Robert Schulze
7df79fa1e7
Merge pull request #62576 from ClickHouse/docs-numeric-literal-examples
[Docs] Add more examples for numeric literals
2024-04-15 12:41:34 +00:00
Yarik Briukhovetskyi
ff5a385201
Update intersect.md 2024-04-15 11:03:15 +01: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
Josh Rodriguez
087d91d21d
Fix a typo and grammar in intersect 2024-04-13 11:02:08 -07: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
Raúl Marín
c4f4bee4ec
Merge pull request #62574 from Algunenano/doc_argmin
Correct the documentation about duplicates with argmin and argmax
2024-04-12 11:43:29 +00: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
Justin de Guzman
9c9c3bddb5
[Docs] Formatting 2024-04-11 13:53:51 -07:00
Justin de Guzman
89a9de76a6
[Docs] Add more examples for numeric literals 2024-04-11 13:38:51 -07:00
Raúl Marín
83d6f2ef99 Correct the documentation about duplicates with argmin and argmax 2024-04-11 21:51:31 +02:00
Alexander Tokmakov
4e486f4176
Merge pull request #62549 from ClickHouse/revert-60112-feat-59377
Revert "[feature]: allow to attach parts from a different disk"
2024-04-11 17:56:41 +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
Alexander Tokmakov
c1c7cf56bd
Revert "[feature]: allow to attach parts from a different disk" 2024-04-11 13:43:51 +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
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
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
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
Robert Schulze
184e51551d
Merge pull request #62228 from rschu1ze/docs-drop-table
Docs: Slightly improve wording of `DROP TABLE` docs
2024-04-09 11:10:36 +00:00
Robert Schulze
3b2a0c4c51
Merge pull request #62205 from rschu1ze/docs-datatypes2
Docs: Slightly improve data type docs
2024-04-09 11:10:01 +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
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
Nikita Mikhaylov
5b2f8b2502
Merge pull request #61767 from mneedham/window-functions
[Docs] add ranking functions + make the supported table more obvious
2024-04-08 19:18:28 +00: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
Robert Schulze
2bcf984e55
Merge remote-tracking branch 'rschu1ze/master' into docs-datatypes2 2024-04-08 17:17:35 +00:00
Robert Schulze
e09db43991
Merge remote-tracking branch 'rschu1ze/master' into docs-drop-table 2024-04-08 17:16:58 +00: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
Ilya Andreev
094f94882c Fix a typo in the documentation of the ALTER TABLE ... MODIFY QUERY statement 2024-04-08 12:37:03 +01: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
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
Kruglov Pavel
47b9eb2cb2
Merge pull request #62005 from Avogar/better-string-to-variant
Better conversion from String to Variant
2024-04-05 15:26:14 +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
Kruglov Pavel
9fa84f0397
Merge pull request #61442 from ClickHouse/revert-61435-revert-61316-patch-1
Revert "Revert "Updated format settings references in the docs (datetime.md)""
2024-04-03 19:46:03 +02:00
jsc0218
ee589f8a8b Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-04-03 17:17:33 +00:00
Kruglov Pavel
f8ef9fc5d3
Merge pull request #62014 from Avogar/json-extract-variant
Support Variant in JSONExtract functions
2024-04-03 17:20:53 +02:00
avogar
56b5b5e171 Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-string-to-variant 2024-04-03 15:20:21 +00:00
Robert Schulze
0782ccaa91
Update docs/en/sql-reference/statements/drop.md
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2024-04-03 12:53:09 +02:00
Blargian
ab42b9736d Added arrayDotProduct 2024-04-03 12:15:19 +02:00
Robert Schulze
2f45d98c97
Docs: Improve wording of DROP TABLE docs 2024-04-03 10:03:04 +00: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
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
Mark Needham
8f40db2fb2 <br> missing closing / 2024-04-03 08:29:55 +01:00
Robert Schulze
606058c1ca
Consolidate SQL compat alias docs into data type docs + improve sidebar order 2024-04-02 20:26:14 +00:00
yariks5s
9c3bf05675 init 2024-04-02 14:58:45 +00:00