Commit Graph

2703 Commits

Author SHA1 Message Date
shiyer7474
3f1d96c3de Add function getSettingOrNull() 2024-09-23 04:57:17 +00:00
Denny Crane
a05273ef02 fix broken link 2024-09-22 12:02:46 -03:00
Denny Crane
020fb667f0 fix broken link 2024-09-22 11:43:26 -03:00
vdimir
8ba6acb64c
Merge pull request #68989 from petern48/add_arrayUnion_func
Add support for `arrayUnion()` function
2024-09-20 14:40:16 +00:00
Gabriel Mendes
8f350a7ec9
remove separate function 2024-09-18 08:52:58 -03:00
Gabriel Mendes
2218ebebbf
initial commit, tested function 2024-09-18 05:15:57 -03:00
taiyang-li
3a6c3769dc fix building errors 2024-09-18 12:15:57 +08:00
Sergei Trifonov
db42cf12fd
Merge pull request #68933 from Blargian/docs_toRelativeXYZ
[Docs] update `toReference*Num` docs
2024-09-10 10:48:24 +00:00
Daniil Ivanik
25a5768adc
Merge pull request #68952 from Blargian/docs_toDateTime64XYZ
[Docs] update docs for `DateTime64OrZero/Null/Default` functions
2024-09-10 09:15:34 +00:00
Yarik Briukhovetskyi
2c35d53bf6
Merge pull request #56738 from yariks5s/time_buckets_impl
Add time-bucket overload to function `toStartOfInterval()`
2024-09-09 09:18:35 +00:00
Robert Schulze
654f8b98de
Update docs/en/sql-reference/functions/string-replace-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2024-09-07 20:47:03 +02:00
Robert Schulze
7ff244d7a3
Update docs/en/sql-reference/functions/string-replace-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2024-09-07 20:46:56 +02:00
Robert Schulze
84a5c88b50
Minor follow-up to #66933 2024-09-06 12:39:05 +00:00
Yarik Briukhovetskyi
ab378a0a46
Merge branch 'ClickHouse:master' into time_buckets_impl 2024-09-05 11:36:28 +02:00
Yarik Briukhovetskyi
de0e608919
Merge branch 'master' into time_buckets_impl 2024-09-03 23:24:14 +02:00
李扬
5832f982d6
Merge branch 'ClickHouse:master' into improve_array_zip 2024-09-03 17:48:13 +08:00
taiyang-li
1cd4af1564 add new function arrayZipUnaligned 2024-09-02 11:55:41 +08:00
liuneng
5e0000c4ca add test case and doc 2024-08-31 10:49:50 +08:00
Sergei Trifonov
f59ed02acb
Merge pull request #68956 from Blargian/docs_toBool
[Docs] add `toBool` to docs
2024-08-30 13:11:50 +00:00
Rodrigo Garcia
3314042278
Link to CASE changed after explicit anchor removed 2024-08-28 16:14:31 +02:00
Peter Nguyen
e998882609
Merge branch 'master' into add_arrayUnion_func 2024-08-28 08:05:47 -06:00
Peter Nguyen
e4ba3b47fc Document arrayUnion() in array-functions.md 2024-08-28 00:16:02 -06:00
Blargian
35adf8d12b add toBool to docs 2024-08-27 15:22:54 +02:00
János Benjamin Antal
964641a28c
Merge pull request #67583 from depressed-pho/fix-fromModifiedJulianDay
Fix the upper bound of function fromModifiedJulianDay()
2024-08-27 13:20:57 +00:00
Blargian
6febfc78b3 updates docs for DateTime64OrZero/Null/Default 2024-08-27 14:52:46 +02:00
Blargian
29664d12fc update example of toTime 2024-08-27 12:44:28 +02:00
Blargian
c1c4cabe9f Update toReference*Num function documentation 2024-08-27 12:41:02 +02:00
Konstantin Bogdanov
1cdccd527f
Merge pull request #68639 from m7kss1/ripedmd-160
Add RIPEMD160 function
2024-08-26 12:06:18 +00:00
Nikita Mikhaylov
2888b01d64
Merge pull request #68697 from Blargian/patch-8
[Docs] fix typo and formatting in geohash page
2024-08-25 13:35:29 +00:00
Maxim Dergousov
8c4329964f small cosmetic changes in docs 2024-08-23 12:50:18 +03:00
Konstantin Bogdanov
69f6ea5083
Update docs/en/sql-reference/functions/hash-functions.md 2024-08-22 22:07:02 +02:00
Dergousov
a2ff8e4384 fix: correct return type inconsistencies in docs 2024-08-22 20:49:56 +03:00
Robert Schulze
a1b97d7334
Merge pull request #66933 from bigo-sg/func_overlay
Add functions `overlay[UTF8]`
2024-08-22 11:50:42 +00:00
Shaun Struwig
62054cae66
Update geohash.md 2024-08-22 13:49:16 +02:00
Shaun Struwig
6466f374e0
Update geohash.md 2024-08-22 11:29:33 +02:00
taiyang-li
9d0b3e3937 change as request 2024-08-22 11:32:59 +08:00
Dergousov
7f15f61426 feat: add docs 2024-08-21 22:46:55 +03:00
Dergousov
dfe0beb53b feat: add docs 2024-08-21 22:46:29 +03:00
Robert Schulze
d80b37001c
Merge pull request #68498 from Blargian/docs_toInterval
[Docs] Update `toInterval*` functions
2024-08-20 12:10:07 +00:00
Blargian
0407171fce update argument types and fix style 2024-08-20 12:53:31 +02:00
Blargian
abf556d641 review changes 2024-08-20 11:39:47 +02:00
PHO
4b05106cc4 Fix the upper bound of function fromModifiedJulianDay()
The upper bound was supposed to be 9999-12-31 but it was accidentally
set to 9999-01-01.
2024-08-20 17:49:26 +09:00
taiyang-li
29a0161cdf change as request 2024-08-19 18:25:01 +08:00
taiyang-li
8eb922036e change as request 2024-08-19 12:45:15 +08:00
Blargian
cb8d9a0564 fix typo 2024-08-17 20:13:35 +02:00
avogar
7f0406a726 Remove JSONEmpty function and allow JSON in empty function 2024-08-15 15:53:09 +00:00
Blargian
844cdd8937 update toInterval functions 2024-08-14 20:38:09 +02:00
taiyang-li
0abca8b7dd fix doc 2024-08-14 09:57:59 +08:00
avogar
f82822c993 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-13 17:14:30 +00:00
vdimir
dfb892ba5f
Merge pull request #66616 from Blargian/docs_getXYZ
add documentation for `getSubcolumn` and `getTypeSerializationStreams`
2024-08-13 09:35:44 +00:00
taiyang-li
51a65dca49 fix conflicts 2024-08-13 11:45:48 +08:00
Shaun Struwig
aa7a2bcb02
Fix typo 2024-08-12 20:34:02 +02:00
avogar
9296d4ecfb Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-08-12 11:55:39 +00:00
Robert Schulze
f7e7a884b5
Merge pull request #67962 from Blargian/docs_toDecimalXYZ
Docs:`toDecimal32/64/128/256` and variants
2024-08-11 09:23:40 +00:00
Blargian
e582118544 review changes 2024-08-10 13:09:40 +02:00
Alexey Milovidov
a79eff9dcf
Merge pull request #67647 from jacobrec/multilinestring
Added support for reading MultiLineString WKTs
2024-08-09 21:35:55 +00:00
Jacob Reckhard
cd69fa5a4c fixed typos 2024-08-08 11:20:55 -06:00
Blargian
b76e4acbc0 fix another typo 2024-08-07 11:13:56 +02:00
Blargian
4f2b1c36b7 Fix typo from previous PR 2024-08-07 11:12:09 +02:00
Blargian
5eb896b9f1 Add documentation for toDecimal32 and variants 2024-08-07 10:43:41 +02:00
Robert Schulze
915e6f6565
Merge pull request #67908 from Blargian/docs_toFloat
Update documentation of `toFloat32/64` and variants
2024-08-06 19:52:07 +00:00
Blargian
0bb8d1a8ed optimize formatting by 3% 2024-08-06 17:10:34 +02:00
Blargian
5313c9539e update documentation for Float32/64 and variants 2024-08-06 14:34:06 +02:00
vdimir
908f3fc937
Merge pull request #66257 from bigo-sg/ch_support_printf
Add function printf for spark compatiability
2024-08-05 09:53:22 +00:00
李扬
667727192f
Merge branch 'ClickHouse:master' into fix_map_from_arrays 2024-08-03 21:28:20 +08:00
Alexey Milovidov
65e0168b64
Merge pull request #67347 from ssheikin/patch-1
Fix positionCaseInsensitive example
2024-08-02 20:02:36 +00:00
Sasha Sheikin
ae6d4bdd8a
Fix positionCaseInsensitive example 2024-08-02 18:47:29 +02:00
李扬
f0b2aa195c
Merge branch 'ClickHouse:master' into fix_map_from_arrays 2024-08-02 10:45:46 +08:00
李扬
3a2009c9bc
Merge branch 'ClickHouse:master' into func_overlay 2024-08-02 10:45:28 +08:00
Jacob Reckhard
a80c7c080c Added support for reading multilinestring wkts 2024-08-01 18:23:11 -06:00
taiyang-li
5564489cca change as request 2024-08-01 15:31:54 +08:00
Robert Schulze
546eb4bf1d
Merge pull request #67186 from Blargian/docs_materialize
[Docs] add example for `materialize` function
2024-07-30 17:18:32 +00:00
Robert Schulze
8370114400
Merge pull request #67399 from rschu1ze/frmDt-optional-format-string
formatDateTime[InJodaSyntax]: make format string optional
2024-07-30 09:35:11 +00:00
Robert Schulze
812a2b9299
formatDateTime[InJodaSyntax]: make format string optional 2024-07-29 17:24:28 +00:00
Shaun Struwig
4488d65fe9
Merge branch 'master' into docs_toUIntXYZ 2024-07-29 15:12:59 +02:00
Blargian
e13bc4e47a fix formatting issues 2024-07-29 14:57:30 +02:00
Robert Schulze
558bec1c94
Merge pull request #66649 from Blargian/docs_toXYZ
[Docs] `toInt*` functions
2024-07-29 12:22:41 +00:00
Blargian
2908cd7284 update toInt*OrDefault to show that the default argument is optional 2024-07-29 13:28:24 +02:00
Blargian
ceb0f7fe0f Fix typoo 2024-07-29 13:17:27 +02:00
Kruglov Pavel
813f4015db
Merge branch 'master' into json-data-type 2024-07-29 13:08:51 +02:00
Blargian
a8f36ebded update wording of toInt8OrDefault 2024-07-29 13:02:18 +02:00
李扬
29f49e44dd
Merge branch 'ClickHouse:master' into func_overlay 2024-07-29 17:40:28 +08:00
Blargian
be22d76942 add UInt* functions 2024-07-28 00:38:07 +02:00
Shaun Struwig
e8c2e1745e
Fix typo 2024-07-28 00:05:24 +02:00
Blargian
85249b47f1 Review changes 2024-07-27 11:56:20 +02:00
Sergei Trifonov
d5c412e86a
Merge pull request #66534 from Blargian/docs_joinGetOrNull
[Docs] add `joinGetOrNull`
2024-07-26 14:30:24 +00:00
Blargian
60cca77c8a add example for materialize function 2024-07-26 12:39:35 +02:00
Blargian
02bfe82192 rename filesystemFree to fiilesystemUnreserved 2024-07-26 11:19:46 +02:00
Blargian
aaa25454b3 Additional formatting fixes 2024-07-26 10:58:45 +02:00
Blargian
3c1004aee4 Fix typo 2024-07-25 21:26:14 +02:00
Blargian
1ba4790511 Review changes 2024-07-25 21:18:48 +02:00
taiyang-li
e181ccd017 update doc 2024-07-25 17:53:51 +08:00
taiyang-li
c2f85c6fd0 support map type as first argument type 2024-07-25 17:43:02 +08:00
taiyang-li
c09c22b175 finish doc 2024-07-24 14:45:47 +08:00
avogar
bc7fd604b7 Fix tests, builds and docs 2024-07-23 10:10:15 +00:00
李扬
18d331f273
Merge branch 'ClickHouse:master' into ch_support_printf 2024-07-23 11:52:16 +08:00
Kruglov Pavel
74670e7d20
Merge branch 'master' into json-data-type 2024-07-20 20:52:51 +02:00
avogar
519494a9d0 Add tests, docs, implement new syntax sugar for Array(JSON), fix small ugs 2024-07-20 18:51:20 +00:00
vdimir
d6bf2733a5
Merge branch 'master' into docs_getXYZ 2024-07-19 10:35:01 +02:00
Alexey Milovidov
7e22f75f3b
Merge pull request #66620 from Blargian/patch-7
Fix formatting error of `fqdn`
2024-07-17 17:10:06 +00:00
Blargian
2dbd04c8a7 add toIntXYZ documentation 2024-07-17 17:01:22 +02:00
Shaun Struwig
8c0ade413c
Update other-functions.md 2024-07-16 22:28:12 +02:00
Shaun Struwig
ea3a333a07
Fix formatting error 2024-07-16 22:25:45 +02:00
Blargian
949e69c057 add documentation for getSubcolumn and getTypeSerializationStreams 2024-07-16 21:58:48 +02:00
Robert Schulze
07ea0f59b3
Merge remote-tracking branch 'ClickHouse/master' into 66010-add-machine-id-to-snowflakeid-clean 2024-07-15 15:01:43 +00:00
Blargian
22b37d526b update joingGet and add joinGetOrNull 2024-07-15 17:00:47 +02:00
Robert Schulze
5b0bcf79f0
Some fixups 2024-07-15 06:39:33 +00:00
Haydn
ace4aa36bf Fixed generateSnowflakeID function and tests according
Update uuid-functions.md

Adjust comments in unit tests
2024-07-14 09:48:32 -07:00
Robert Schulze
3c39c4f514
Merge remote-tracking branch 'ClickHouse/master' into docs_partitionID 2024-07-14 12:40:05 +00:00
Shaun Struwig
5daac46d8c
Merge branch 'ClickHouse:master' into docs_partitionID 2024-07-14 05:34:01 +02:00
Shaun Struwig
a90e10c438 add alias partitionI, update tests, and docs 2024-07-13 22:38:28 +00:00
Robert Schulze
2f913f193c
Fixup docs 2024-07-13 20:25:58 +00:00
Robert Schulze
eb9a629868
Revert "remove partitionID function, update tests and remove from documentation"
This reverts commit c3b72386a2.
2024-07-13 20:06:37 +00:00
Robert Schulze
b1fd7868e5
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-13 15:12:32 +00:00
Raúl Marín
c2360ba562
Merge pull request #66429 from Blargian/docs_initHashXYZ
[Docs] update `intHash32`, `intHash64`
2024-07-12 11:39:06 +00:00
Raúl Marín
633db10d39
Update docs/en/sql-reference/functions/hash-functions.md 2024-07-12 12:58:14 +02:00
Blargian
18e411d353 remove unwanted change 2024-07-12 11:28:41 +02:00
Blargian
7d9e1700d2 update intHash32, intHash64 2024-07-12 11:24:24 +02:00
Vitaly Baranov
34516c1b3a
Merge pull request #54881 from amosbird/named-tuple
Extend function tuple to return named tuple and add function tupleNames
2024-07-09 11:10:21 +00:00
Robert Schulze
2fc4247d62
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-09 10:25:48 +00:00
taiyang-li
849fb83c97 add function printf 2024-07-09 17:37:17 +08:00
Robert Schulze
429eed31f1
Merge pull request #66185 from rschu1ze/faster_regexp
Speed up `replaceRegexp(All|One)` if the pattern is trivial
2024-07-08 21:15:01 +00:00
Robert Schulze
ef0fa20de3
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-08 21:10:06 +00:00
Robert Schulze
db1817a633
Some minor fixups 2024-07-08 20:04:45 +00:00
Robert Schulze
c10cf0e332
Merge pull request #66166 from Blargian/docs_initcap
[Docs] add `initCap` examples
2024-07-08 18:13:00 +00:00
Robert Schulze
a6c1477ece
Merge remote-tracking branch 'ClickHouse/master' into change_date 2024-07-08 17:50:30 +00:00
Daniil Ivanik
608c13fa9c
Merge pull request #66189 from Blargian/docs_normalize
[Docs] add `normalizeQueryKeepNames`, `normalizedQueryHashKeepNames`
2024-07-08 13:19:56 +00:00
Blargian
8f604c892a Fix typo 2024-07-08 12:58:29 +02:00
Robert Schulze
61259ec204
Merge pull request #66172 from Blargian/docs_mapPartialXYZ
[Docs] add missing `mapPartialSort`, `mapPartialReverseSort`
2024-07-08 08:37:49 +00:00
Amos Bird
7e20f26735
Extend tuple() and add tupleNames() 2024-07-08 01:29:58 +08:00
Blargian
2113915bde correct formatting problem 2024-07-07 18:51:52 +02:00
Blargian
126417cc61 add normalizeQueryKeepNames and normalizedQueryHashKeepNames 2024-07-07 18:46:54 +02:00
Robert Schulze
82e1d82cb3
Cosmetics 2024-07-07 10:14:20 +00:00
Robert Schulze
d8d2007a62
Merge pull request #66102 from Blargian/docs_tumbleXYZ
[Docs] update time window functions
2024-07-07 07:35:27 +00:00
Kruglov Pavel
a0cadc2e7f
Merge pull request #66176 from Blargian/docs_makeDate
[Docs] add missing `makeDate32`, `makeDateTime64`
2024-07-06 22:20:01 +00:00
Blargian
262972c0ee add makeDate32 and makeDateTime64 2024-07-06 20:13:37 +02:00
Blargian
764f924447 add mapPartialSort and mapPartialReverseSor functions t documentation 2024-07-06 12:40:58 +02:00
Blargian
03d6f37607 add note on known issues 2024-07-06 11:17:54 +02:00
Shaun Struwig
cd4a37f0e8
Merge branch 'master' into docs_initcap 2024-07-05 23:51:42 +02:00
Blargian
fdd7353c92 update initCap 2024-07-05 23:47:11 +02:00
Yarik Briukhovetskyi
b96154e760
Merge pull request #66160 from Blargian/docs_fullHostName
[Docs] add missing alias `fullHostName`
2024-07-05 19:17:36 +00:00
Blargian
c327f49f0c add fullHostName which is an alias 2024-07-05 20:04:43 +02:00
Blargian
3a79b9dc8f start and end variants also accept tuple of parameters 2024-07-05 15:35:00 +02:00
Blargian
eb12d4e37e update time-window-functions 2024-07-04 18:02:10 +02:00
Robert Schulze
a6c8509b32
Merge pull request #65818 from pamarcos/bittest-throw-error-if-out-of-bounds
Throw an error in `bitTest*` if the bit position is out-of-bounds
2024-07-02 19:03:10 +00:00
Robert Schulze
e0ff544bd0
Merge pull request #65974 from Blargian/transaction_xyz
[Docs] add `transactionID`, `transactionLatestSnapshot`, `transactionOldestSnapshot`
2024-07-02 15:41:10 +00:00
Robert Schulze
a9d05bc349
Merge remote-tracking branch 'ClickHouse/master' into bittest-throw-error-if-out-of-bounds 2024-07-02 11:47:15 +00:00
Blargian
2eb750f8eb add missing transactionXYZ functions to docs 2024-07-02 11:35:54 +02:00
vdimir
b94dd515c7
Merge pull request #65887 from bigo-sg/improve_concat
Allow to use `concat` function with empty arguments
2024-07-02 09:11:30 +00:00
Pablo Marcos
93c1b5d8a7 Address issues pointed out in the PR 2024-07-02 08:21:51 +00:00