李扬
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
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
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
Robert Schulze
e6372d5528
Merge remote-tracking branch 'rschu1ze/master' into substr-with-enums
2023-12-12 12:59:30 +00:00
Bhavna Jindal
1ea8cb2a45
Added more testcases and spell check
2023-12-11 08:48:10 -08:00
Robert Schulze
c141dd1330
Merge pull request #57549 from rschu1ze/format-arbitrary-types
...
Support arguments of arbitary type in function `format()`
2023-12-11 12:33:51 +01:00
Robert Schulze
9e434d43d7
Merge remote-tracking branch 'rschu1ze/master' into substr-with-enums
2023-12-11 10:21:08 +00:00
Bhavna Jindal
1f58b0f150
Merge branch 'master' into dev-seriesPeriodDetect
2023-12-08 10:26:39 -05:00
Bhavna Jindal
94943ec83d
fix for non-constant arguments
2023-12-08 07:10:47 -08:00
Bharat Nallan Chakravarthy
e01e6671b3
Merge remote-tracking branch 'upstream/master' into ncb/sha512-256
2023-12-07 23:53:18 -08:00
Bharat Nallan Chakravarthy
2c1f57ba40
add docs
2023-12-07 08:58:11 -08:00
Alexey Milovidov
11920e751a
Merge pull request #57592 from bharatnc/ncb/alias-format-readable-size
...
Add FORMAT_BYTES as an alias for formatReadableSize
2023-12-07 15:15:56 +01:00
Robert Schulze
554c5d690c
Merge remote-tracking branch 'rschu1ze/master' into format-arbitrary-types
2023-12-07 09:36:39 +00:00
Bharat Nallan Chakravarthy
19e96c4351
add docs
2023-12-06 14:08:51 -08:00
Bhavna Jindal
dad268c33b
Revert "Revert "Implemented series period detect method using pocketfft lib""
...
This reverts commit d7d83c99e5
.
2023-12-06 13:31:49 -08:00
Robert Schulze
c0d56c7bee
Implement format() with arbitrary arguments
2023-12-05 22:51:30 +00:00
Robert Schulze
afa6e4388b
Move docs of format() from general string functions to replacing string functions
2023-12-05 20:04:42 +00:00
slvrtrn
e275080f52
Merge remote-tracking branch 'origin' into substr-with-enums
2023-12-05 19:48:10 +01:00
Robert Schulze
f56dd6561f
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-sqid
2023-12-05 18:41:10 +00:00
Alexey Milovidov
d7d83c99e5
Revert "Implemented series period detect method using pocketfft lib"
2023-12-05 18:17:07 +03:00
Robert Schulze
f1a2b46d60
Incorporate feedback
2023-12-05 12:28:28 +00:00
Robert Schulze
a2cd240317
Revert "Revert "Add sqid()
function""
...
This reverts commit 8d5d0ef38f
.
2023-12-05 10:50:30 +00:00
Alexey Milovidov
8d5d0ef38f
Revert "Add sqid()
function"
2023-12-05 13:45:33 +03:00
Alexey Milovidov
cbea3545aa
Revert "add function getClientHTTPHeader"
2023-12-05 13:34:34 +03:00
Robert Schulze
8db3bac7bd
Merge pull request #57442 from awakeljw/dev
...
Add `sqid()` function
2023-12-04 15:50:28 +01:00
Robert Schulze
f6036fbb29
Some fixups
2023-12-03 16:20:59 +00:00
awakeljw
06241de257
fix codes according to the reviews
2023-12-03 22:00:42 +08:00
Arvind Pj
020f1d274d
docs: fix arrayReduce anchor in arrayFold see also
2023-12-02 18:49:58 +05:30
Arvind Pj
0e8cf43982
docs: fix arrayFold anchor in arrayReduce see also
2023-12-02 11:36:09 +05:30
slvrtrn
8eff62a4de
Merge remote-tracking branch 'origin' into substr-with-enums
2023-12-01 03:43:48 +01:00
Denny Crane
e33efaff9f
Revert "Update date-time-functions.md"
2023-11-28 15:56:51 -04:00
Robert Schulze
b56b48d2de
Update docs
2023-11-28 14:59:20 +00:00
abakhmetev
23e81d8234
Update date-time-functions.md
...
month as an integer number (01-12) == %m, and not %c
2023-11-28 17:26:42 +03:00
Kruglov Pavel
06b9f8129f
Merge pull request #57298 from nellicus/patch-2
...
replace incorrect field name in coalesce example
2023-11-28 14:59:01 +01:00
Antonio Andelic
a61f32867e
Merge pull request #56488 from lingtaolf/feature/getHTTPHeader
...
add function getClientHTTPHeader
2023-11-28 11:41:56 +01:00
Robert Schulze
1448276bae
Merge pull request #55872 from azat/hour-no-leading-zero
...
Add ability to parse hours/months without leading zeros
2023-11-28 11:07:00 +01:00
Antonio Bonuccelli
612c6be204
replace incorrect field name in coalesce example
...
field in the example should be `telegram` (not `icq`)
2023-11-28 10:20:02 +01:00
slvrtrn
497e5abc47
Add a doc entry.
2023-11-28 00:09:36 +01:00
Robert Schulze
4c236b34f0
Another small cleanup
2023-11-27 11:09:07 +00:00
Robert Schulze
a8671049e1
Various smaller fixups
2023-11-27 08:49:54 +00:00
Nikolay Degterinsky
de0876ed68
Merge pull request #57234 from evillique/fix-docs-anchors
...
Fix docs
2023-11-27 01:22:43 +01:00
Nikolay Degterinsky
faa3a43803
Fix docs
2023-11-26 19:21:39 +00:00
Azat Khuzhin
315906b380
Add ability to parse hours/months without leading zeros
...
Recently I was looking into one dataset, that has such format.
So I've changed the meaning of the following formatters for
formatDateTime()/parseDateTime(), like in other implementations [1]:
- %l/%k - to handle hours without leading zeros
- %c - handle months without leading zeros
[1]: https://www.php.net/strftime
And since this is kind of behaviour change (even though it is unlikely
will break something), there is a new setting to control this new
behaviour:
- parsedatetime_enable_format_without_leading_zeros=1 (default ON)
- formatdatetime_enable_format_without_leading_zeros=0 (default OFF, since this could change users output)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-26 19:10:17 +01:00
Robert Schulze
2e7c16e138
Fix broken links
2023-11-25 19:47:32 +00:00
Robert Schulze
75ceaf6200
Docs: Improve math function docs
2023-11-24 14:31:39 +00:00
Tomáš Hromada
956a8add35
Update other-functions.md
...
Fix `initializeAgregation` typo
2023-11-23 15:57:19 +01:00
Bhavna Jindal
a324bd2780
added macro to enable/disable pocketfft lib
2023-11-21 06:52:47 -08:00
Bhavna Jindal
baaa15b5b0
added macro to enable/disable pocketfft lib
2023-11-21 06:52:47 -08:00
Bhavna Jindal
ad99cb902f
changed method name, updated pocketfft repo reference
2023-11-21 06:52:47 -08:00
Bhavna Jindal
e3826786f1
Added testcases, documentation and addressed comments
2023-11-21 06:52:47 -08:00
凌涛
e86aa433c5
Merge branch 'master' into feature/getHTTPHeader
2023-11-21 19:48:47 +08:00
凌涛
c5f16725ec
add function getClientHTTPHeader
2023-11-21 11:12:01 +08:00
slvrtrn
9f96b58979
Update docs, add more tests.
2023-11-20 16:22:47 +01:00
Robert Schulze
4353507724
Merge pull request #56540 from slvrtrn/concat-arbitrary-types
...
Support arguments of arbitary type in function `concat()`
2023-11-18 17:21:03 +01:00
Denny Crane
3765a1c77b
Update random-functions.md
2023-11-16 16:07:49 -04:00
Robert Schulze
0b45e4bfee
Merge remote-tracking branch 'ClickHouse/master' into concat-arbitrary-types
2023-11-15 15:44:36 +00:00
Robert Schulze
f21dd37d18
Some fixups
2023-11-15 15:43:41 +00:00
slvrtrn
c7cd4fa972
Update concat docs
2023-11-15 14:57:34 +01:00
Robert Schulze
bea529c9a1
Try to stabilize test results
2023-11-12 15:11:38 +00:00
Robert Schulze
a511f41438
Docs: Fix overly long quote which pushed the right pane out of view
2023-11-12 10:51:22 +00:00
Robert Schulze
82f5e92bf5
Update docs of fromUnixTimeStamp[InJodaSyntax]()
2023-11-10 11:11:42 +00:00
Robert Schulze
86b8ebf71c
Merge remote-tracking branch 'rschu1ze/master' into arrayRandomSample-improved
2023-11-07 15:25:29 +00:00
Robert Schulze
842cc36598
Update docs
2023-11-07 10:25:27 +00:00
Robert Schulze
54b5d573d7
Merge remote-tracking branch 'rschu1ze/master' into idatatype-convenience-functions
2023-11-07 10:18:30 +00:00
Robert Schulze
e22c673299
Revert "Revert "Add function arrayRandomSample()
""
...
This reverts commit e47e50e30d
.
2023-11-07 10:16:13 +00:00
Alexey Milovidov
e47e50e30d
Revert "Add function arrayRandomSample()
"
2023-11-07 02:49:11 +03:00
Robert Schulze
8846cc6770
Merge pull request #56327 from rschu1ze/parseQueryOrNull
...
Improve `formatQuery()`
2023-11-06 22:48:16 +01:00
Robert Schulze
8896134531
Cleanup IDataType convenience functions
2023-11-06 13:25:32 +00:00
Robert Schulze
ae1dcb5254
Move documentation of string similarity functions to better location
2023-11-06 13:25:08 +00:00
vdimir
3b775dee53
Merge pull request #55126 from ClickHouse/vdimir/jaccard_index_perf
...
Add function jaccardIndex back with better performance
2023-11-06 10:39:02 +01:00
Robert Schulze
8a64066ee1
+ formatQueryOrNull()
2023-11-05 20:24:23 +00:00
Robert Schulze
910477b1bd
Add FROM_DAYS() alias
2023-11-02 21:43:17 +00:00
Robert Schulze
0b587d3cea
Remove overflow setting
...
Reason 1:
- https://github.com/ClickHouse/ClickHouse/pull/55696#issuecomment-1774130793
Basically: Setting `date_time_overflow_behavior` applies only to
conversions between Date <-> Date32 <-> DateTime <-> DateTime64 but
it does not control the behavior of functions.
Reason 2:
- It's overkill (even if well-intented overkill). ClickHouse generally
has a garbage in - garbate out philosophy, so that should be the
default behavior which corresponds to behavior "ignore". Moreover,
function 'fromDaysSinceYearZero()' mostly exists for compatibility /
parity with MySQL and MySQL takes the same stance.
2023-11-02 21:43:17 +00:00
Robert Schulze
492af27feb
Update docs
2023-11-02 20:56:01 +00:00
vdimir
14ba4696f9
Rename jaccardIndex -> stringJaccardIndex, upd doc
2023-11-02 11:37:50 +00:00
vdimir
1f936d1966
upd byteHammingDistance doc
2023-11-02 11:37:50 +00:00
Joanna Hulboj
757dc8b944
Fix typos, add to/fromDaysSinceYearZero to fuzz
2023-11-01 17:48:58 +00:00
Joanna Hulboj
e5b4d7fac7
Fix failing checks
2023-10-31 21:00:11 +00:00
Robert Schulze
13b2946ae2
Merge pull request #55960 from rschu1ze/adddate-stringargs
...
Support string-encoded date arguments in `addDate()`
2023-10-31 15:37:34 +01:00
Sergey Suvorov
37843b0c28
Add alias for minSampleSizeContinuous after typo fix in #56143
2023-10-31 13:05:41 +01:00
Sergey Suvorov
c59d700392
Add documentation for minSampleSizeConversion and minSampleSizeContinous
2023-10-30 20:54:51 +01:00
Alexey Milovidov
6eff22568f
Revert "Add function getHttpHeader"
2023-10-29 19:50:39 +03:00
Robert Schulze
5801b06529
Merge pull request #55983 from rschu1ze/snowflake-scale
...
Fix dateTime64ToSnowflake64() with non-default scale
2023-10-27 10:22:35 +02:00
Robert Schulze
325ff33c3a
Merge pull request #55239 from aiven-sal/aiven-sal/format_query
...
Add formatQuery function
2023-10-26 22:46:01 +02:00
vdimir
dbaf66b8f2
Fix function_json_value_return_type_allow_nullable setting name in doc
2023-10-26 19:26:18 +02:00
Anton Popov
9e64f51ffa
Merge pull request #56020 from CurtizJ/minor-style-fixes
...
Correct the implementation of function `jsonMergePatch`
2023-10-26 13:26:55 +02:00
Salvatore Mesoraca
56bd61d207
Rename formatQueryOneLine -> formatQuerySingleLine
2023-10-26 13:09:20 +02:00
Salvatore Mesoraca
21e0c510c8
formatQuery: improve doc
2023-10-26 13:08:11 +02:00
Dmitry Novik
e25ce7c5fb
Merge pull request #56007 from nellicus/patch-1
...
Fix toDayOfWeek return value description
2023-10-25 20:21:20 +02:00
Anton Popov
3e6ecf1858
correct the implementation of function jsonMergePatch
2023-10-25 15:17:28 +00:00
Dmitry Novik
3973b24302
Update docs/en/sql-reference/functions/date-time-functions.md
2023-10-25 16:58:25 +02:00
Anton Popov
6ba59b8408
Merge pull request #54364 from Joeywzr/master
...
Support jsonMerge function
2023-10-25 15:27:16 +02:00
Robert Schulze
5067fb342f
Support-encoded date arguments in addDate()
2023-10-25 10:41:18 +00:00
Antonio Bonuccelli
8861f8b6ea
Fix toDayOfWeek return value description
...
Fix toDayOfWeek return value description
2023-10-25 11:50:41 +02:00
Robert Schulze
a7e582fb11
Fix style, pt. II
2023-10-25 09:35:39 +00:00
Salvatore Mesoraca
a95a2a5d66
formatQueryOneLine: create new function format queries on one line
2023-10-25 10:10:04 +02:00
Robert Schulze
9838e0ce3a
Update docs
2023-10-25 08:01:57 +00:00
Robert Schulze
f94c33586c
Fix issue #42966
2023-10-24 15:14:20 +00:00
Robert Schulze
0955107e8e
Merge pull request #55948 from rschu1ze/arrayFold-switch-args
...
arrayFold: Switch accumulator and array arguments
2023-10-24 16:16:02 +02:00
Salvatore Mesoraca
2d2eaceb77
formatQuery: move doc
2023-10-24 16:13:15 +02:00
Salvatore Mesoraca
457e7ba7bd
formatQuery: improve doc
2023-10-24 15:38:24 +02:00
Salvatore Mesoraca
1380dc942e
Add formatQuery function
2023-10-24 15:38:24 +02:00
Robert Schulze
b9b66e76dd
Switch accumulator and array arguments
2023-10-23 14:59:16 +00:00
Robert Schulze
bef5cea5a0
Merge remote-tracking branch 'rschu1ze/master' into string-addinterval
2023-10-23 14:08:18 +00:00
Robert Schulze
bb856680e7
Incorporated review feedback
2023-10-23 14:07:14 +00:00
Denny Crane
835be79d4b
Update docs/en/sql-reference/functions/array-functions.md
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-10-23 07:06:41 -03:00
Denny Crane
bd934575ea
Update array-functions.md
2023-10-23 05:29:42 -03:00
Denny Crane
8417b64530
Update array-functions.md
2023-10-23 05:27:26 -03:00
Robert Schulze
c2215cb5f0
Support string arguments
2023-10-22 09:28:45 +00:00
Robert Schulze
3551d7f2d6
Update docs
2023-10-20 15:46:17 +00:00
Robert Schulze
dcedc5f10b
Merge remote-tracking branch 'rschu1ze/master' into string-args-in-week-functions
2023-10-14 08:32:33 +00:00
Robert Schulze
246e29a41a
Add 16/32-byte integer support
2023-10-13 14:54:56 +00:00
Robert Schulze
d02a718076
Merge pull request #55211 from Priyansh121096/master
...
Add function byteSwap
2023-10-13 16:54:28 +02:00
Robert Schulze
1957179058
Make the warning in the docs more strict
2023-10-13 13:21:38 +00:00
Robert Schulze
bb0ff98f5e
String argument support for toDayOfWeek(), toWeek() and toYearWeek()
2023-10-13 10:30:37 +00:00
rfraposa
c066f6044d
Add syntax and examples to docs of date/time functions
2023-10-12 11:24:57 -06:00
robot-clickhouse-ci-1
c40a79f0b4
Merge pull request #54813 from lingtaolf/feature/function-getClientHttpHeader
...
Add function getHttpHeader
2023-10-12 10:13:20 +02:00
alesapin
3f6d1414d3
Merge pull request #55196 from xjtupdy/doc-fix-ClickHouse
...
edit wrong example in en doc
2023-10-11 20:34:13 +02:00
alesapin
fc1ad9a969
Update docs/en/sql-reference/functions/arithmetic-functions.md
2023-10-11 18:24:44 +02:00
alesapin
a150ec53c0
Update arithmetic-functions.md
2023-10-11 18:24:24 +02:00
Memo
b7f70c2ba3
Merge branch 'master' into master
2023-10-10 20:08:41 +08:00
Robert Schulze
31ae84604f
Some fixups
2023-10-10 09:54:06 +00:00
Joey Wang
06a7b679f6
support merging of nested paths
2023-10-10 14:57:37 +08:00
凌涛
51e2e59a97
Merge remote-tracking branch 'origin/master' into feature/function-getClientHttpHeader
2023-10-10 10:56:24 +08:00
Priyansh Agrawal
9677dedd87
Add negative tests.
...
Also:
- Add comments in tests.
- Add an example in docs where an IPv4 is casted to an int, byteswapped
and then casted back to an IPv4.
2023-10-09 21:52:06 +00:00
Priyansh Agrawal
2e4709fd10
Remove "unsigned" from docs now that we support all ints.
2023-10-09 21:16:46 +00:00
Robert Schulze
624dbcdb4f
Merge pull request #49794 from Lirikl/arrayFold
...
Added function `arrayFold()`
2023-10-09 13:38:35 +02:00
Robert Schulze
0e1aed2a38
Merge pull request #55327 from rschu1ze/to_start_of_interval_hours
...
Refactorings and better documentation for `toStartOfInterval()`
2023-10-08 22:33:12 +02:00
Robert Schulze
07e0cc196d
Some fixups
2023-10-08 20:27:13 +00:00
Robert Schulze
d4e7fa2542
Merge pull request #55123 from garcher22/untuple
...
Use the tuple element names as column names in `untuple()`
2023-10-08 20:14:29 +02:00
Robert Schulze
32a77ca1eb
Merge pull request #54391 from itayisraelov/israelov/generate-random-int-array
...
Add function `arrayRandomSample()`
2023-10-08 18:28:58 +02:00
Robert Schulze
3f33c32684
Fix style
2023-10-08 10:46:28 +00:00
Robert Schulze
8c35ccf9e8
Some fixups
2023-10-08 10:29:46 +00:00
Robert Schulze
8a8f769508
Update docs
2023-10-08 10:16:05 +00:00
Priyansh Agrawal
2c04370e5f
Use std::byteswap instead of custom implementations.
...
- Also allow signed ints now because std::byteswap accepts them.
- Fix for style check.
2023-10-07 23:59:24 +00:00
Priyansh Agrawal
302291e17b
Address a few review comments.
...
- Consider byteswap injective.
- Make function case-insensitive.
- Add in-code documentation and copy-paste it to the markdown docs.
2023-10-07 23:05:07 +00:00
Robert Schulze
73ff017fb5
Merge remote-tracking branch 'rschu1ze/master' into israelov/generate-random-int-array
2023-10-07 18:10:09 +00:00
Robert Schulze
3580c4d730
Fixups
2023-10-07 18:08:54 +00:00
Robert Schulze
a72ae92328
Make the logging in the query cache easier to understand
2023-10-07 11:33:11 +00:00
Avery Fischer
ecac99f45e
Fix docs typo (makeDateTime32 -> makeDateTime64)
...
Appears to have been a simple typo. Fixing to the actual function!
2023-10-05 13:10:54 +02:00
Priyansh Agrawal
540d966033
Docs and comment
2023-10-02 22:51:58 +01:00
pdy
72e4559d30
edit wrong example in en doc
2023-10-01 18:53:41 +08:00
Alexey Milovidov
458cbb3b18
Fix function names in docs
2023-09-29 10:15:46 +02:00
Nikolay Degterinsky
9ebecb5499
Merge pull request #54639 from evillique/timestamp-function
...
Add `timestamp` function for compatibility with MySQL
2023-09-28 16:44:16 +02:00
Robert Schulze
675819be6b
Minor fixes
2023-09-27 21:15:20 +00:00
Nikolay Degterinsky
c1f59eccd5
Add fraction part to the time argument, add docs, better test
2023-09-27 20:17:32 +00:00
凌涛
0d256a381a
add doc
...
fix tests
modify code stype and spelling
add tests and modify code style
2023-09-27 17:03:53 +08:00
flynn
3d299d5f9d
Review fix
2023-09-27 03:16:52 +00:00
vdimir
70ae994e77
Merge pull request #54935 from ucasfl/hamming-distance
...
Add several string distance functions
2023-09-25 17:06:16 +02:00
Priyansh Agrawal
f27a76b923
Add function byteSwap
.
...
byteSwap accepts an integer `operand` and returns the integer which is
obtained by swapping the **endianness** of `operand` i.e. reversing the
bytes of the `operand`.
Issue: #54734
2023-09-24 21:02:09 +01:00
zvonand
2ab38761d7
added docs
2023-09-24 13:01:23 +02:00
flynn
0a701ba7e9
fix spell
2023-09-23 17:50:02 +00:00
flynn
661ba85865
add more functions
2023-09-23 17:17:35 +00:00
flynn
c264bb5fad
fix
2023-09-23 04:11:20 +00:00
Robert Schulze
ec09fd124d
Merge pull request #54856 from slvrtrn/to-days-since-year-zero-datetime
...
`DateTime`/`DateTime64` support in `toDaysSinceYearZero()`
2023-09-22 20:39:54 +02:00
flynn
0ed66a6611
add doc
2023-09-22 17:48:17 +00:00
Robert Schulze
a7c4efb845
Simpler
2023-09-22 13:13:55 +00:00
Robert Schulze
be1e92a2ac
Merge pull request #54518 from rschu1ze/split-better
...
Provide fallback to Python/Spark-like splitting in splitBy*() functions
2023-09-22 12:07:45 +02:00
slvrtrn
a68fbe073b
Update toDaysSinceYearZero docs
2023-09-20 18:02:53 +02:00
Robert Schulze
774c4b52da
Rework
2023-09-19 12:20:53 +00:00
Robert Schulze
4ed5b903b4
Docs: remove anchor prefix
2023-09-18 18:35:59 +00:00
robot-ch-test-poll2
c3a5d7dbf0
Merge pull request #54758 from rschu1ze/docs-qc
...
Docs: Update query cache section on non-deterministic functions
2023-09-18 20:01:46 +02:00
Robert Schulze
6872e95fb2
Remove prefixes
2023-09-18 17:34:40 +00:00
Robert Schulze
3753a78d1b
Fix anchors
2023-09-18 17:24:49 +00:00
Robert Schulze
b14e00f966
Docs: Update query cache section on non-deterministic functions
...
Cf. https://github.com/ClickHouse/support-escalation/issues/963
2023-09-18 14:36:16 +00:00
Robert Schulze
2a5aa289e8
Implement true Python/Spark split behavior
2023-09-18 07:42:57 +00:00
Robert Schulze
b5b2cc511b
Pythonic vs Spark splitting
2023-09-18 07:42:52 +00:00
Robert Schulze
3935c2bfb2
Merge pull request #54509 from rschu1ze/yyyymmdd
...
Add YYYYMMDD[hhmmss]to[Date, Date32, DateTime, DateTime64]()
2023-09-15 15:47:34 +02:00
Robert Schulze
aff9dfa630
Minor docs fixes
2023-09-15 11:26:24 +00:00
Nikolay Degterinsky
140a466a1e
Merge pull request #54400 from evillique/adddate-function
...
Add `addDate` function for compatibility with MySQL
2023-09-13 18:59:26 +02:00
Itay Israelov
8569c1cad0
fix empty array bug
2023-09-13 13:11:53 +03:00
Itay Israelov
6cfed0a660
fix comments 2
2023-09-13 13:11:53 +03:00
Itay Israelov
69ba32940e
fix comments: rname randomSampleFromArray --> arrayRandomSample
2023-09-13 13:11:53 +03:00
Itay Israelov
52c997b026
add documentation
2023-09-13 13:11:53 +03:00
Nikolay Degterinsky
e648646598
Fixes
2023-09-12 23:11:58 +00:00
Nikolay Degterinsky
cf662712ea
Add new subDate function, apply review suggestions
2023-09-12 16:47:43 +00:00
Robert Schulze
49f29861a0
Merge pull request #54479 from rschu1ze/todayssinceyearzero
...
Add function toDaysSinceYearZero()
2023-09-11 17:05:28 +02:00
Robert Schulze
73ce1993fb
Continue #45070
2023-09-11 13:47:06 +00:00
Robert Schulze
2a8e2a0882
Docs: Mention behavior change of splitByChar() in v22.11, see #42673
2023-09-10 14:12:12 +00:00
Robert Schulze
caadfe393b
Fixes
2023-09-10 13:34:02 +00:00
Robert Schulze
1ce84774f0
Implement toDaysSinceYearZero() / to_days() (MySQL alias)
...
Fixes : #54277
2023-09-09 16:59:39 +00:00
Denny Crane
f5f741c118
Update type-conversion-functions.md
2023-09-08 16:15:33 -03:00
Denny Crane
24928217b9
Update date-time-functions.md
2023-09-08 16:14:00 -03:00
Denny Crane
3f58e2f134
Update date-time-functions.md
2023-09-08 16:10:16 -03:00
Denny Crane
a0ef063b2d
Update date-time-functions.md
2023-09-08 16:04:35 -03:00
Denny Crane
2d178e9bfd
Update type-conversion-functions.md
2023-09-08 15:58:24 -03:00
Leonardo Maciel
0b396ee7b4
Fixed detectLanguage mixed example
2023-09-07 22:27:22 -03:00
Nikolay Degterinsky
b06412ae60
Add addDate function for compatibility with MySQL
2023-09-07 11:15:49 +00:00
Joey Wang
872f981416
add doc
2023-09-07 16:19:17 +08:00
Robert Schulze
37cabaf993
Add docs, consolidate tests
2023-09-05 17:31:58 +00:00
Robert Schulze
2ca2bdd7c5
Merge pull request #53768 from ClickHouse/simplify-docs-date-units
...
Simply docs for possible values for date units
2023-09-04 09:11:19 +02:00
robot-clickhouse-ci-1
ec628ee697
Merge pull request #54097 from bharatnc/ncb/decode-html-component
...
add function decodeHTMLComponent
2023-09-04 05:00:52 +02:00
Han Fei
3f2848ea63
Merge pull request #53803 from ClickHouse/revert-53795-revert-53641-feat_53602
...
Revert "Revert "dateDiff: add support for plural units.""
2023-09-03 03:36:03 +02:00
Bharat Nallan Chakravarthy
7889626046
add docs
2023-08-30 21:42:51 -07:00
vdimir
50b8bbe0dc
Merge pull request #53557 from mkmkme/mkmkme/array-shift-rotate
...
Added functions `array{Rotate,Shift}{Left,Right}`
2023-08-25 13:24:31 +02:00
Han Fei
11262d0156
Revert "Revert "dateDiff: add support for plural units.""
2023-08-24 17:11:58 +02:00
Alexander Tokmakov
59efbe4163
Revert "dateDiff: add support for plural units."
2023-08-24 15:35:18 +03:00
Mikhail Koviazin
a5eb1aa22f
Added functions array{Rotate,Shift}{Left,Right}
...
Fixes #52755 and #52895
2023-08-24 09:16:39 +00:00
Justin de Guzman
af43e95f8d
Update date-time-functions doc
2023-08-23 17:42:55 -07:00
Justin de Guzman
2db0e0879d
Simply docs for possible values for date units
2023-08-23 17:39:33 -07:00
Alexey Milovidov
b884fdb867
Merge pull request #53641 from irenjj/feat_53602
...
dateDiff: add support for plural units.
2023-08-23 12:45:35 +03:00
irenjj
0f0b5eb3b1
dateDiff: add support for plural units.
2023-08-21 21:15:00 +08:00
kevinyhzou
48cb9b59f4
Support from/to utc timestamp
2023-08-21 09:28:00 +08:00
Robert Schulze
b8912203e4
Merge pull request #53525 from aiven-sal/aiven-sal/siphash_readd
...
Re-add SipHash keyed functions, try II
2023-08-18 14:14:56 +02:00
Alexey Milovidov
67b45619eb
Merge pull request #53239 from evillique/tuple-concat
...
Add tupleConcat function
2023-08-12 03:35:25 +03:00
Salvatore Mesoraca
08e443b766
Revert "Revert "Re-add SipHash keyed functions""
...
This reverts commit e68234a231
.
2023-08-11 17:30:04 +02:00
Kruglov Pavel
14aad359e6
Merge pull request #52555 from bigo-sg/starts_ends_with_utf8
...
Add new function startsWithUTF8 and endsWithUTF8
2023-08-10 13:18:04 +02:00
Nikolay Degterinsky
5403507950
Add tupleConcat function
2023-08-09 20:52:09 +00:00
Slach
a9580644eb
add ** wildcard to docs, which available from 22.11
...
Signed-off-by: Slach <bloodjazman@gmail.com>
2023-08-09 16:30:33 +04:00
李扬
041af6899d
Merge branch 'master' into starts_ends_with_utf8
2023-08-02 10:29:29 +08:00
taiyang-li
292d2ecb9a
Merge branch 'starts_ends_with_utf8' of https://github.com/bigo-sg/ClickHouse into starts_ends_with_utf8
2023-07-31 12:08:46 +08:00
taiyang-li
fdfe64f1b0
change as request
2023-07-31 12:07:50 +08:00
Kruglov Pavel
3e1c409e60
Merge branch 'master' into structure-to-schema
2023-07-28 11:32:16 +02:00
李扬
d0c9425711
Merge branch 'master' into starts_ends_with_utf8
2023-07-28 10:03:39 +08:00
avogar
67b0993bdf
Add documentation
2023-07-27 18:54:41 +00:00
robot-ch-test-poll2
7bcef0a6c0
Merge pull request #52520 from zvonand/revert-52450-remove-to-decimal-string
...
Fix `toDecimalString` function
2023-07-27 00:18:36 +02:00
taiyang-li
27f3c5cfa2
change as requested
2023-07-26 10:53:07 +08:00
Yakov Olkhovskiy
e133db7937
Merge pull request #51472 from bigo-sg/substring_index
...
Add function substring_index, as in spark or mysql
2023-07-25 08:43:13 -04:00
taiyang-li
23897b823d
fix code style
2023-07-25 20:41:16 +08:00
taiyang-li
a5d7391fbf
add new function startsWithUTF8 and endsWithUTF8
2023-07-25 15:34:38 +08:00
Andrey Zvonov
21097209d2
Revert "Remove toDecimalString
"
2023-07-24 15:41:21 +03:00
Alexey Milovidov
5c15e6021b
Merge branch 'master' into remove-to-decimal-string
2023-07-24 01:51:43 +02:00
robot-clickhouse-ci-2
66c0015b87
Merge pull request #52050 from arenadata/ADQM-982
...
Subsequence string matching (new hasSubsequence() function)
2023-07-23 21:18:27 +02:00
Alexey Milovidov
a57fc914e0
Merge pull request #52466 from ClickHouse/revert-52206-aiven-sal/siphash_fix_pr
...
Revert "Re-add SipHash keyed functions"
2023-07-22 19:10:23 +03:00
Alexey Milovidov
5f4756fb33
Remove toDecimalString
2023-07-22 04:54:58 +02:00
Alexey Milovidov
e68234a231
Revert "Re-add SipHash keyed functions"
2023-07-22 04:45:50 +03:00
StianBerger
d2dba496bf
Update date-time-functions.md
...
formatDateTime %r for 12-hour time, mentioned %H in equivalent, which is 24H. Replaced with %h.
2023-07-21 10:26:01 +02:00
Robert Schulze
a73f621bf4
Merge pull request #52359 from rschu1ze/docs-integer-promotion
...
Docs: Add another reason for integer promotion rules in ClickHouse
2023-07-20 16:53:57 +02:00
Robert Schulze
046bf55dc0
Incorporate feedback
2023-07-20 14:17:33 +00:00
Alexey Milovidov
f4ec421292
Merge pull request #52106 from Lloyd-Pottiger/add-alias-for-today-and-now
...
Add alias for today(curdate/current_date) and now(current_timestamp)
2023-07-20 15:02:25 +03:00
Robert Schulze
27921a5d8f
Docs: Add another reason for integer promotion rules in ClickHouse
2023-07-20 10:48:39 +00:00
Robert Schulze
e5f7890bb5
Merge pull request #52206 from aiven-sal/aiven-sal/siphash_fix_pr
...
Re-add SipHash keyed functions
2023-07-20 11:15:31 +02:00
Han Fei
2675b8fa79
Merge pull request #52181 from arenadata/ADQM-868
...
Millisecond and microsecond support in date_diff / age functions
2023-07-19 17:41:23 +02:00
Dmitry Kardymon
4e1bdc7db9
Merge remote-tracking branch 'origin/master' into ADQM-868
2023-07-18 18:21:04 +00:00
Mikhail Koviazin
4f7fd69883
Added function firstLine to extract the first line from a multiline string
...
Fixes #51172
2023-07-18 12:18:26 +03:00
Salvatore Mesoraca
14ab1f2a98
Fix SipHash doc
...
Changes originally made by Robert Schulze (@rschu1ze)
2023-07-18 10:29:47 +02:00
Lloyd-Pottiger
9d11385543
Merge branch 'master' into add-alias-for-today-and-now
2023-07-18 10:29:49 +08:00
Lloyd-Pottiger
56a5446af3
format
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
2023-07-18 10:28:51 +08:00
vdimir
5de1cfee7d
Merge pull request #51735 from arenadata/ADQM-976
2023-07-17 16:24:11 +02:00
robot-ch-test-poll1
89a33c5879
Merge pull request #52176 from FFFFFFFHHHHHHH/add_length_alias
...
Add OCTET_LENGTH as an alias to length
2023-07-17 13:34:01 +02:00
Kruglov Pavel
df363f444e
Merge pull request #51767 from arenadata/Support-range-nullable
...
Support for function range of Nullable argument
2023-07-17 12:52:19 +02:00
Dmitry Kardymon
2de9ea6925
Merge remote-tracking branch 'origin/master' into ADQM-982
2023-07-17 10:03:16 +00:00
Lloyd-Pottiger
3636c2a847
Merge branch 'master' into add-alias-for-today-and-now
2023-07-17 14:28:24 +08:00
FFFFFFFHHHHHHH
0cdb1d1466
add docs
2023-07-17 10:52:05 +08:00
FFFFFFFHHHHHHH
0895e47629
Merge branch 'master' into jaccard_similarity
2023-07-17 10:33:10 +08:00
Dmitry Kardymon
a644317f57
Revert "Merge pull request #52129 from ClickHouse/revert-51291-ADQM-868"
...
This reverts commit 1b9bcae68e
, reversing
changes made to 7284749d05
.
2023-07-16 18:07:22 +00:00
robot-ch-test-poll1
3b2b7d75c9
Merge pull request #52094 from zvonand/zvonand-docs-dt-parsing-short-string
...
Small docs update for DateTime, DateTime64
2023-07-15 19:31:49 +02:00
robot-ch-test-poll1
78994c8a96
Merge pull request #52090 from zvonand/zvonand-docs-22948
...
Small docs update for toYearWeek() function
2023-07-15 19:31:19 +02:00
Alexey Milovidov
9307e60c20
Revert "Millisecond and microsecond support in date_diff / age functions"
2023-07-14 23:21:26 +03:00
Lloyd-Pottiger
e4cbece6dd
update docs
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
2023-07-14 14:03:19 +08:00
zvonand
f7505f0c77
update docs
2023-07-13 19:41:45 +02:00
Andrey Zvonov
0de7fb5c62
typofix1
2023-07-13 20:12:59 +03:00
Andrey Zvonov
013e46e0ee
Merge branch 'master' into zvonand-docs-22948
2023-07-13 18:02:49 +02:00
zvonand
a87474cee1
rm \n
2023-07-13 17:25:49 +02:00