Commit Graph

2245 Commits

Author SHA1 Message Date
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
zvonand
7e1b5d8997 updated docs for toYearWeek() 2023-07-13 17:21:23 +02:00
Robert Schulze
521c993eff
Merge branch 'master' into jaccard_similarity 2023-07-11 10:36:18 +02:00
Dmitry Kardymon
ae69627d87 Merge remote-tracking branch 'origin/master' into ADQM-982 2023-07-11 08:16:21 +00:00
Dmitry Kardymon
cfe846c2ec Merge remote-tracking branch 'origin/master' into Support-range-nullable 2023-07-10 13:29:21 +00:00
Dmitry Kardymon
0cd4b753d6 Merge remote-tracking branch 'origin/master' into ADQM-976 2023-07-10 13:27:45 +00:00
Dmitry Kardymon
3237169c9a Merge remote-tracking branch 'origin/master' into ADQM-868 2023-07-10 13:24:17 +00:00
Dmitry Kardymon
17891ca1eb Add case ins utf8 impl + tests 2023-07-10 09:18:09 +00:00
Alexey Milovidov
19072c9b47
Corrent example about parametric executable UDFs. 2023-07-08 02:03:23 +03:00
Dmitry Kardymon
7255c35edc Add more tests 2023-07-06 19:43:37 +00:00
Dmitry Kardymon
9c8cb9f77e Add comment to docs 2023-07-04 13:20:48 +03:00
Dmitry Kardymon
ed16828b70 Merge remote-tracking branch 'clickhouse/master' into ADQM-868 2023-07-04 08:18:57 +03:00
Robert Schulze
9660291ab3
my fixes 2023-07-03 18:33:59 +00:00
Dmitry Kardymon
16ab84d804 Style fix 2023-07-03 11:50:26 +00:00
Dmitry Kardymon
1a40e30797 Add initcapUtf8: impl + tests 2023-07-03 11:37:55 +00:00
FFFFFFFHHHHHHH
2c09ea0404 add doc 2023-07-02 17:09:52 +08:00
Dmitry Kardymon
1cf021c0b1 Add initcap prototype / tests 2023-06-30 13:11:06 +00:00
Ilya Yatsishin
6b00a3094e
Merge pull request #51494 from ClickHouse/many-fixes-2
Many fixes for CI [2]
2023-06-30 01:01:50 +02:00
DanRoscigno
7d416cbc60 add exception docs for hasAll 2023-06-29 13:39:39 -04:00
Igor Nikonov
def0adf8f4
Merge branch 'master' into many-fixes-2 2023-06-29 10:33:59 +02:00
李扬
40ded2eca0
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:19:13 +08:00
李扬
e9bac152e1
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:19:04 +08:00
李扬
e2236384d1
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:18:54 +08:00
李扬
98966796d0
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:18:47 +08:00
Thom O'Connor
29a0220e63
Update functions-for-nulls.md
Fixing broken link to HTML anchor on page
2023-06-28 14:42:01 -06:00
Robert Schulze
eea3c39959
Cosmetics 2023-06-28 18:35:27 +00:00
taiyang-li
70e49cb31c add docs 2023-06-28 11:28:20 +08:00
DanRoscigno
7bde0781b4 missing anchor 2023-06-23 16:05:58 -04:00
DanRoscigno
1f38209de9 add L2SquaredDistance to docs 2023-06-23 14:45:52 -04:00
Rich Raposa
ffd8183cfa
Fix heading of nlp-functions.md 2023-06-23 06:49:41 -06:00
Dmitry Kardymon
d2635bff64 Merge remote-tracking branch 'origin/master' into ADQM-868 2023-06-22 19:56:15 +00:00
Andrey Zvonov
d4316c7189
Merge branch 'master' into zvonand-implicit-tz 2023-06-22 17:23:20 +02:00
Dan Roscigno
c856c4a7df
Merge branch 'master' into Docs/ip_addresses 2023-06-21 17:26:27 -04:00
Dmitry Kardymon
792cdb6da5 Add millisecond support to age() / add tests 2023-06-20 08:26:59 +00:00
Dmitry Kardymon
02b5b50e41 Add milli/micro seconds support for date_diff 2023-06-16 12:39:46 +00:00
zvonand
4155d13d69 merge master and resolve conflict 2023-06-16 02:20:32 +02:00
zvonand
e60506f41b changes requested in review 2023-06-16 02:16:04 +02:00
Victor Krasnov
11dfd35cd7 Amend the docs following the reviewer's pointers 2023-06-15 10:45:18 +03:00
Denny Crane
fd01cb7bec
Merge branch 'master' into Docs/ip_addresses 2023-06-14 17:38:48 -03:00
Victor Krasnov
b3ef2a4860 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-812 2023-06-13 03:55:38 +00:00
Dmitry Kardymon
9fd3f197c6
Merge branch 'master' into ADQM-867 2023-06-11 22:06:37 +03:00
Dmitry Kardymon
61fa694414 Fix boundery -> boundary in docs 2023-06-11 19:03:57 +00:00
Victor Krasnov
9b70836b6c Add a syslog format example to the documentation 2023-06-09 16:07:07 +03:00
Victor Krasnov
3c1b02a37b Rectify the existing example of the year omission 2023-06-09 15:43:36 +03:00
Victor Krasnov
a21bd4ec62 Elucidate the syslog case in the documentation 2023-06-09 15:33:51 +03:00
Victor Krasnov
b740a08b6e Fix the docs 2023-06-09 15:05:23 +03:00
Victor Krasnov
32d781c058 Align the documentation with the new feature 2023-06-09 14:51:26 +03:00
Dmitry Kardymon
f437d5d8b5 Fix toDateTimeOrZero description 2023-06-09 11:27:27 +00:00
Dmitry Kardymon
5c76a8882e Fix docs by pull request comments 2023-06-09 09:12:07 +00:00
zvonand
a1b1e12e5b upd spell 2023-06-08 18:38:51 +02:00
Andrey Zvonov
d95be4162f
Merge branch 'master' into zvonand-implicit-tz 2023-06-08 18:34:45 +03:00
zvonand
4d4e5c690e update docs spelling check failed 2023-06-08 17:10:51 +02:00
Rich Raposa
5f48f02023
Update index.md 2023-06-06 16:10:22 -06:00
Rich Raposa
195cc51c43
Style fix 2023-06-06 15:51:03 -06:00
Dan Roscigno
f691fe787b
Merge branch 'master' into Docs/ip_addresses 2023-06-06 09:12:31 -04:00
johanngan
c0f162c5b6 Add dictGetAll function for RegExpTreeDictionary
This function outputs an array of attribute values from all regexp nodes
that matched in a regexp tree dictionary. An optional final argument can
be passed to limit the array size.
2023-06-04 23:46:04 -05:00
Dmitry Kardymon
c032dee3b4 Merge remote-tracking branch 'origin/master' into ADQM-867 2023-06-04 18:45:47 +00:00
Denny Crane
2cc457141e clean documentation of ip4 ip6 from domains 2023-06-04 15:32:54 -03:00
Alexey Milovidov
054b908b9c
Merge pull request #50416 from ClickHouse/revert-49656-rs/entropy-learned-hashing
Revert "Add SQL functions for Entropy Learned Hashing"
2023-06-03 06:50:48 +03:00
Dan Roscigno
a84eba6ccf
Merge pull request #50490 from DanRoscigno/docs-svg-funxtion
add svg function docs
2023-06-02 13:20:52 -04:00
Kruglov Pavel
f87f98fb80
Merge pull request #47409 from Avogar/random-structure
Add new function generateRandomStructure
2023-06-02 18:50:35 +02:00
DanRoscigno
71c5b1d9c6 add svg function docs 2023-06-02 12:42:35 -04:00
Robert Schulze
2a4f1c8275
Fix typos 2023-06-02 14:00:57 +00:00
Robert Schulze
bfcd9dde61
Merge remote-tracking branch 'rschu1ze/master' into update-function-docs 2023-06-02 13:41:01 +00:00
Robert Schulze
c37a071004
Merge remote-tracking branch 'rschu1ze/master' into update-function-docs 2023-06-02 13:39:15 +00:00
Robert Schulze
12993890a8
Merge branch 'master' into revert-49656-rs/entropy-learned-hashing 2023-06-02 15:32:33 +02:00
Robert Schulze
54872f9e7e
Typos: Follow-up to #50476 2023-06-02 13:28:09 +00:00
Robert Schulze
a22bb07fbd
Merge remote-tracking branch 'rschu1ze/master' into fix-typo-check-on-nested-docs 2023-06-02 12:33:16 +00:00
Robert Schulze
65cc92a78d
CI: Fix aspell on nested docs 2023-06-02 12:24:41 +00:00
Dmitry Kardymon
fa5f890a7a Added ru function descriptions (docs) 2023-06-02 12:03:50 +00:00
Robert Schulze
572f15b2cd
Fix typo 2023-06-02 11:14:52 +00:00
Robert Schulze
f6da66cbb8
Fix some typos 2023-06-02 09:41:52 +00:00
Andrey Zvonov
2e427ee028
Merge branch 'master' into zvonand-implicit-tz 2023-06-02 01:15:56 +03:00
Dmitry Kardymon
54d526c75c Add cast type supprt to DateTimeTransformImpl 2023-06-01 14:22:57 +00:00
Robert Schulze
45b1fcdeda
Merge pull request #50315 from arenadata/ADQM-810
Add new function toLastDayOfWeek()
2023-06-01 16:19:14 +02:00
Alexander Tokmakov
9a2b3afb7e
Revert "Fix msan issue in keyed siphash" 2023-06-01 15:02:32 +03:00
Robert Schulze
08d98329b0
Revert "Add SQL functions for Entropy Learned Hashing" 2023-06-01 10:12:09 +02:00
Robert Schulze
c5343679df
Merge branch 'master' into msan-siphash-keyed 2023-05-31 09:05:24 +02:00
Robert Schulze
fc157b3dad
Merge branch 'master' into msan-siphash-keyed 2023-05-30 21:30:33 +02:00
Andrey Zvonov
87fc780c14
Merge branch 'master' into zvonand-implicit-tz 2023-05-30 13:13:46 +03:00
Victor Krasnov
0ad5b9f598 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-810-dev 2023-05-29 08:26:26 +00:00
Robert Schulze
ac1dc7237e
Update docs 2023-05-26 15:37:33 +00:00
Robert Schulze
f49160ef4e
Build partial key positions from entire training data 2023-05-26 15:27:56 +00:00
Robert Schulze
2298eeb2b2
Merge branch 'master' into rs/entropy-learned-hashing 2023-05-26 12:04:49 +02:00
Robert Schulze
c4f91a1c45
Merge branch 'master' into space 2023-05-25 19:56:20 +02:00
Robert Schulze
ad4a21034f
Fix msan issue in keyed siphash
Issue:
https://s3.amazonaws.com/clickhouse-test-reports/0/ffdd91669471f4934704f98f0191524496b4e85b/fuzzer_astfuzzermsan/report.html

Repro:
SELECT hex(sipHash128ReferenceKeyed((toUInt64(2), toUInt64(-9223372036854775807)))) GROUP BY (toUInt64(506097522914230528), toUInt64(now64(2, NULL + NULL), 1084818905618843912)), toUInt64(2), NULL + NULL, char(-2147483649, 1)

Minimal repro:
SELECT sipHash64Keyed((2::UInt64, toUInt64(2)), 4) GROUP BY toUInt64(2)
2023-05-25 17:52:03 +00:00
Dan Roscigno
9b014eb1d2
Merge pull request #49512 from DanRoscigno/polygon-docs
Add docs for polygon functions
2023-05-24 10:37:01 -04:00
DanRoscigno
9f349e2102 add params 2023-05-24 10:35:20 -04:00
Dan Roscigno
c2f6999aca
Merge pull request #50157 from den-crane/Doc/greatest_least
Doc. Move least/greatest to conditional-functions
2023-05-24 09:01:58 -04:00
Dan Roscigno
c53bdc6927
Merge branch 'master' into polygon-docs 2023-05-24 08:56:46 -04:00
Victor Krasnov
99a7967f11 Amend the dicumentation with regard to toLastDayOfWeek 2023-05-24 11:58:39 +00:00
DanRoscigno
48080468ce add description 2023-05-23 19:13:11 -04:00
DanRoscigno
3edffa3ced add examples 2023-05-23 19:09:32 -04:00
Robert Schulze
889489b02e
Merge branch 'master' into space 2023-05-23 23:18:19 +02:00
Denny Crane
4a9b269cc4 move least/greatest to conditional-functions 2023-05-23 16:09:54 -03:00
Denny Crane
483a3cc5b1
Update comparison-functions.md 2023-05-23 15:59:08 -03:00
DanRoscigno
fcd6cb1f80 add descriptions 2023-05-23 12:53:53 -04:00
Robert Schulze
f4c73e94d2
Merge pull request #49989 from arenadata/ADQM-811
Add support of Date|Date32 arguments to the toUnixTimestamp() function
2023-05-23 08:55:56 +02:00
avogar
4f85d6a1bb Merge branch 'master' of github.com:ClickHouse/ClickHouse into random-structure 2023-05-22 19:43:24 +00:00
DanRoscigno
eb7b5a5bb7 add more info to NLP docs 2023-05-22 13:02:39 -04:00
Dan Roscigno
ebff47ad3a
Update nlp-functions.md 2023-05-22 12:14:23 -04:00
Robert Schulze
df436b2cd4
Spark compatibility: Add new function space() 2023-05-22 14:52:51 +00:00
Victor Krasnov
a7b641134a Follow the reviewer's recommendations regarding the documentation 2023-05-22 08:28:11 +00:00
zvonand
7dccb51bc0 fix conflict and update 2023-05-19 23:40:51 +02:00
Victor Krasnov
3c68d63213 Amend the toUnixTimestamp function documentation 2023-05-18 09:11:48 +00:00
avogar
aa7ab1f23b Fix comments 2023-05-15 11:20:03 +00:00
Robert Schulze
c4f7c3daa1
Merge branch 'master' into rs/entropy-learned-hashing 2023-05-13 17:33:12 +02:00
darkkeks
2b793e3a14 [docs] Remove "example" section from date-time-functions page toc 2023-05-13 16:22:17 +03:00
Robert Schulze
f011421f32
Merge pull request #49825 from den-crane/patch-66
Doc. Note about why Google CityHash <> cityHash64
2023-05-12 20:01:58 +02:00
Robert Schulze
5133597661
+m 2023-05-12 16:51:47 +02:00
Robert Schulze
5235f52de3
Small rewrite, removed note about farm hash (it seemed fragile: https://github.com/ClickHouse/ClickHouse/issues/8354#issuecomment-974808920) 2023-05-12 16:38:32 +02:00
DanRoscigno
0b9e575588 uplevel UDFs and link 2023-05-12 08:05:38 -04:00
Denny Crane
051456ba92
Update hash-functions.md 2023-05-12 08:33:27 -03:00
Denny Crane
47b27ca5fb
Update hash-functions.md 2023-05-12 08:23:02 -03:00
zvonand
60b69601e9 update docs 2023-05-12 00:27:11 +02:00
Robert Schulze
37c1b1aa58
Some fixups 2023-05-11 18:49:05 +00:00
avogar
604bd24995 Refactor, remove no more needed arguments 2023-05-11 11:58:08 +00:00
avogar
9096f62efc Merge branch 'master' of github.com:ClickHouse/ClickHouse into random-structure 2023-05-10 18:46:19 +00:00
Andrey Zvonov
9237b904be
Merge branch 'master' into zvonand-implicit-tz 2023-05-10 01:25:33 +02:00
Robert Schulze
93a2b44702
Add docs 2023-05-08 13:11:21 +00:00
Robert Schulze
d8d2b0af76
Merge pull request #49466 from ucasfl/str_to_map
add alias str_to_map and mapFromString for extractKeyValuePairs
2023-05-08 10:11:06 +02:00
Dan Roscigno
0830153a52
Merge pull request #49501 from ivan-klass/patch-1
Note for multiple arrayJoin of same array expression
2023-05-07 20:17:09 -04:00
Robert Schulze
3cadcaeaf0
Add new aliases to docs 2023-05-07 19:24:49 +00:00
Robert Schulze
d5f08ba87b
Move extractKeyValuePairs*() docs into maps docs 2023-05-07 19:22:29 +00:00
Robert Schulze
d614bde1c7
Fixup docs of extractKeyValuePairs*() 2023-05-07 19:20:16 +00:00
Robert Schulze
c893302a08
Implement a MySQL-compatible variant of makeDate()
Fixes #49143
2023-05-06 20:11:36 +00:00
Robert Schulze
2986c28761
Small fixes 2023-05-06 18:12:10 +00:00
zvonand
8338d54c34 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-05-05 15:50:26 +02:00
DanRoscigno
9815b65849 add description 2023-05-04 12:47:39 -04:00
Ivan Takarlikov
8873856ce5 Fix some grammar mistakes in documentation, code and tests 2023-05-04 13:35:18 -03:00
DanRoscigno
6670cc2154 add description 2023-05-04 09:43:01 -04:00
DanRoscigno
b9afc70583 WIP 2023-05-04 09:36:27 -04:00
ivan-klass
1da30e2830
Better text 2023-05-04 13:06:07 +02:00
ivan-klass
a788d0b124
Note for multiple arrayJoin of same array expression 2023-05-04 13:03:27 +02:00
Alexander Gololobov
ec0f8dbfbf
fix makeDateTime syntax 2023-04-26 15:07:23 +02:00
Robert Schulze
ad15749b4e
Document makeDateTime() and its variants
Follow-up to #35628
2023-04-26 12:22:05 +00:00
Anton Popov
e2e62b32e5
Merge pull request #48071 from CurtizJ/rework-map-functions
Rework functions that work with `Map` columns
2023-04-24 14:51:02 +02:00
Vladimir C
6090648fc8
Merge pull request #43606 from arthurpassos/parsey_key_value_function 2023-04-24 11:03:28 +02:00
Arthur Passos
197edf9d43 docs 2023-04-21 11:43:12 -03:00
Anton Popov
55bc58006e add clarification to docs 2023-04-21 13:19:56 +00:00
Anton Popov
1b1a47e977 Merge remote-tracking branch 'upstream/master' into HEAD 2023-04-21 12:34:25 +00:00
Yakov Olkhovskiy
bcf2252fe0
add arrayPartialSort and arrayPartialReverseSort 2023-04-20 22:08:24 -04:00
Andrey Zvonov
984e8fde41
Merge branch 'master' into zvonand-implicit-tz 2023-04-20 23:13:17 +02:00
Anton Popov
1f58dcabae
Merge branch 'master' into rework-map-functions 2023-04-20 18:44:40 +02:00
Arthur Passos
43841a6ee6 Merge branch 'master' into parsey_key_value_function 2023-04-20 10:05:34 -03:00
Robert Schulze
e70190f5b5
Cleanup more function docs 2023-04-20 12:48:50 +00:00
Robert Schulze
3f0b9932c9
Cleanup string replace functions 2023-04-20 10:08:49 +00:00
Robert Schulze
214ee232fd
Clean up string search function docs 2023-04-20 09:30:11 +00:00
Robert Schulze
4b0b25c655
Cleanup math function docs 2023-04-19 20:41:55 +00:00
Robert Schulze
4756629b84
Clean up string function docs 2023-04-19 20:05:38 +00:00
Robert Schulze
92890f4e08
Cleanup logical function docs 2023-04-19 18:51:38 +00:00
Robert Schulze
74c21bbc5d
UUID --> UUIDs 2023-04-19 18:36:10 +00:00
Robert Schulze
eca1ca31d1
Cleanup random function docs 2023-04-19 18:31:47 +00:00
Robert Schulze
bb0573cd56
More fixes 2023-04-19 18:11:50 +00:00
Robert Schulze
9e13e5a52a
Some fixes 2023-04-19 18:09:20 +00:00
Robert Schulze
69db6f1912
Docs: Cleanup arithmetic function docs 2023-04-19 17:50:40 +00:00
Robert Schulze
ec5b421be4
Docs: Sort functions in sidebar 2023-04-19 17:05:55 +00:00
Robert Schulze
cdf28f9b71
Minor fixups 2023-04-19 16:16:51 +00:00
Robert Schulze
c406663442
Docs: Replace annoying three spaces in enumerations by a single space 2023-04-19 15:56:55 +00:00
Robert Schulze
5c5aaeca6d
Merge pull request #48929 from ClickHouse/rs/follow-up-to-48866
Follow-up to #48866
2023-04-19 16:37:48 +02:00
Dan Roscigno
b8b9f330d9
Merge pull request #48937 from ClickHouse/rs/doc-integer-promotion
Document integer promotion
2023-04-19 09:09:57 -04:00
zvonand
daae5025e8 small updates due to review 2023-04-19 14:45:51 +02:00
Robert Schulze
87b6db54ce
Document integer promotion
Fixes #48933
2023-04-19 11:27:29 +00:00
Robert Schulze
15db30618c
Various fixes and cleanups 2023-04-19 09:19:41 +00:00
zvonand
22be85d976 renamed setting 2023-04-18 02:42:30 +02:00
clundro
634791852d [doc] add doc for array func.
Signed-off-by: clundro <859287553@qq.com>
2023-04-18 02:10:41 +08:00
Arthur Passos
c7d7df75f2 minor doc update 2023-04-17 11:20:03 -03:00
Arthur Passos
3380c91206 Add validation for number of arguments provided and update doc examples 2023-04-17 11:15:24 -03:00
Nikolay Degterinsky
1388154420
Merge pull request #48629 from bigo-sg/json_map_node
Support map type for JSONExtract
2023-04-15 01:02:09 +02:00
zvonand
089306820f Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-04-14 13:21:49 +02:00
Arthur Passos
88f1c969cc
Merge branch 'master' into parsey_key_value_function 2023-04-13 10:38:44 -03:00
Robert Schulze
700492f6d4
Fixes and refactorings for consistency with the remaining codebase 2023-04-12 22:41:26 +00:00
FriendLey
63928c6df0
Merge branch 'master' into test_soundex 2023-04-12 19:06:05 +08:00
zvonand
2a9f28b73b resolve 2023-04-12 12:54:39 +02:00
Robert Schulze
f619208b86
Merge pull request #48673 from ClickHouse/rs/roundAge
Fix roundAge()
2023-04-12 10:32:04 +02:00
Robert Schulze
9c653197a4
Update roundAge() docs 2023-04-12 08:05:46 +00:00
taiyang-li
e29cce4db9 support map node for json extract 2023-04-12 10:18:07 +08:00
Robert Schulze
dcfd843b2d
Merge pull request #48489 from ClickHouse/rs/date_time-alias
Register datediff and trim aliases in system.functions
2023-04-11 19:53:44 +02:00
FriendLey
e327371297
Merge branch 'master' into test_soundex 2023-04-11 21:02:01 +08:00
Robert Schulze
e08b7c8a53
Merge pull request #48422 from ClickHouse/rs/better-f-in-formatdatetime
MySQL compat: Align behavior of %f in formatDateTime() with parseDateTime()
2023-04-11 14:12:16 +02:00
Robert Schulze
4e52dc672e
Merge pull request #48420 from ClickHouse/rs/f
MySQL compat: Implement %f in parseDateTime()
2023-04-11 14:12:02 +02:00
Robert Schulze
b7d5df7aa1
Merge branch 'master' into rs/better-f-in-formatdatetime 2023-04-11 08:11:04 +02:00
Arthur Passos
b062ab5b4f
Merge branch 'master' into parsey_key_value_function 2023-04-10 10:32:01 -03:00
Arthur Passos
b60f51c4d6 remove extra backslash in docs 2023-04-10 10:31:26 -03:00
FriendLey
47fd6b6650 add docs of soundex function. (#39880) 2023-04-09 17:00:20 +08:00
Nikolay Degterinsky
a48655af39
Merge branch 'master' into add-kafka-murmur-hash-function 2023-04-07 12:21:16 +02:00
Arthur Passos
52e7a09de7 Use two functions extractKeyValuePairs and extractKeyValuePairsWithEscaping instead of boolean parameter 2023-04-06 12:17:14 -03:00
Robert Schulze
cfd9c4d85e
Register aliases of date_diff in system.functions 2023-04-06 14:04:37 +00:00
Robert Schulze
df5de4ec78
Merge remote-tracking branch 'origin/master' into rs/better-f-in-formatdatetime 2023-04-06 09:58:09 +00:00
Robert Schulze
4b7c0f42f4
Small documentation follow-up to #47246 2023-04-06 09:49:58 +00:00
Robert Schulze
5eb31bba87
MySQL compat: Align behavior of %f in formatDateTime() with parseDateTime() 2023-04-06 08:13:04 +00:00
Robert Schulze
ce2692ba79
Merge pull request #47246 from ClickHouse/rs/m
Change the behavior of formatter %M in function formatDateTime() from minutes to month name
2023-04-06 09:19:50 +02:00
Anton Popov
166a63c36c
Merge pull request #46589 from ClickHouse/rs/nonconst-replace
replace[Regexp]{One,All}(): allow non-const pattern and replacement arguments
2023-04-06 03:08:28 +02:00
Arthur Passos
a1446764a9 update docs to reflect new boolean argument 2023-04-05 13:27:38 -03:00
Arthur Passos
6dec537b3c more docs 2023-04-05 10:34:39 -03:00
Arthur Passos
b8d3b8523b update docs 2023-04-05 10:27:42 -03:00
Robert Schulze
0d5d2a9b55
Implement %f in parseDateTime()
Fixes: #48394

@cc OP
2023-04-05 09:13:18 +00:00
Anton Popov
b03acf5680
Merge branch 'master' into rework-map-functions 2023-04-04 23:35:12 +02:00
Anton Popov
182cc64f90 Merge remote-tracking branch 'upstream/master' into HEAD 2023-04-04 21:33:36 +00:00
Vladimir C
35572321a1
Merge pull request #48207 from bigo-sg/map_from_maps 2023-04-04 11:12:05 +02:00
Robert Schulze
a7c153f88c
replace{One/All}(): allow non-const pattern and replacement arguments 2023-04-04 08:26:28 +00:00
Anton Popov
b3515c768b Merge remote-tracking branch 'upstream/master' into HEAD 2023-04-03 14:11:04 +00:00
Denny Crane
fb7c8ca157
Update tuple-functions.md 2023-04-03 10:47:44 -03:00
Anton Popov
6dde159227 add comments and docs 2023-04-03 13:43:11 +00:00
Kruglov Pavel
9e595c82fa
Merge pull request #47494 from KevinyhZou/enable_return_null_element_not_exist
Enable return null and complext type for JSON_VALUE function
2023-04-03 14:05:18 +02:00
Robert Schulze
d7ee316380
Minor: Suggest ClickHouse-native function name over MySQL-compatibility alias 2023-04-03 07:28:31 +00:00
KevinyhZou
ce5f4cf4ab code review fix 2023-04-02 12:37:18 +08:00
KevinyhZou
05c508047a docs fix 2023-04-02 12:30:59 +08:00
KevinyhZou
740a5ef777 enable return null and complext type 2023-04-02 12:29:12 +08:00
Nikolay Degterinsky
47ea27fd92 Fix 2023-03-31 02:57:55 +00:00
Denny Crane
429975b345
Update index.md 2023-03-30 17:01:16 -03:00
Nikolay Degterinsky
c363b5820e
Merge pull request #47087 from evillique/decode_ulid
Add function ULIDStringToDateTime
2023-03-30 17:19:07 +02:00
Denny Crane
e25872a333
Update type-conversion-functions.md 2023-03-30 11:15:11 -03:00
Denny Crane
a44d2bf724
Update type-conversion-functions.md 2023-03-30 09:32:32 -03:00
Denny Crane
372948fb4c
Update type-conversion-functions.md 2023-03-30 09:30:45 -03:00
taiyang-li
2a35c18973 add docs and uts 2023-03-30 18:18:21 +08:00
Robert Schulze
8354f6d489
Merge branch 'master' into rs/m 2023-03-30 10:56:21 +02:00
Denny Crane
553c5aa622
Update type-conversion-functions.md 2023-03-29 20:46:34 -03:00
Nikolay Degterinsky
5b53f5ddae
Merge branch 'master' into decode_ulid 2023-03-30 01:37:14 +02:00
Denny Crane
2349fadbe7
Update type-conversion-functions.md 2023-03-29 15:33:53 -03:00
Denny Crane
12801f736b
Update type-conversion-functions.md 2023-03-29 15:33:07 -03:00
Denny Crane
46a7b73608
Update type-conversion-functions.md 2023-03-29 15:25:39 -03:00
Nikolay Degterinsky
4f360e76e9 Add kafkaMurmurHash function 2023-03-29 18:09:15 +00:00
zvonand
edc80fbd94 updated docs + fix linker isssue 2023-03-28 13:25:18 +02:00
zvonand
09181a9b58 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-formatdecimal 2023-03-28 11:01:00 +02:00
Robert Schulze
37effb4fa2
Merge remote-tracking branch 'origin/master' into rs/m 2023-03-28 08:51:12 +00:00
Robert Schulze
7cf494acc2
Merge pull request #48000 from ClickHouse/rs/parsedatetimeorzero
MySQL dialect compat: Add str_to_date
2023-03-28 10:04:56 +02:00
Nikolay Degterinsky
71b498061b Fix a bug, review suggestions 2023-03-28 01:48:25 +00:00
DanRoscigno
6d8a2bbd48 standardize admonitions 2023-03-27 14:54:05 -04:00
zvonand
dbd0ccdb64 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-formatdecimal 2023-03-27 20:21:09 +02:00
zvonand
b7bb09d362 upload 2023-03-27 20:19:52 +02:00
Robert Schulze
3701fda6b1
Add str_to_date() alias for MySQL compat
Fixes #43755
2023-03-27 14:52:32 +00:00
Robert Schulze
3db38dbb5a
Replace mySQL date formatter M behavior from minutes to month name 2023-03-27 14:00:51 +00:00
Robert Schulze
129245da2e
Docs: Fix links 2023-03-24 13:52:56 +00:00
Robert Schulze
bd02627869
Update docs for parseDateTime() (follow-up to #46815) 2023-03-23 21:28:03 +00:00
李扬
88d430a8f0
Merge branch 'master' into to_timestamp 2023-03-23 14:35:45 +08:00
Robert Schulze
784b34f5d8
Merge pull request #47869 from ClickHouse/rs/bug-47530
Add REGEXP operator
2023-03-22 10:31:25 +01:00
taiyang-li
94175b79a7 Merge branch 'master' into to_timestamp 2023-03-22 16:46:44 +08:00
Robert Schulze
42a2370ac6
Docs 2023-03-21 21:33:12 +00:00
zvonand
b5b200c483 add docs in docs section 2023-03-21 14:28:47 +01:00
Rich Raposa
60ad9ebefa
Update string-search-functions.md 2023-03-20 21:54:19 -06:00
Arthur Passos
cceb1b278c
Merge branch 'master' into parsey_key_value_function 2023-03-20 15:27:37 -03:00
Denny Crane
1c9d72f114
Update string-search-functions.md 2023-03-20 15:20:40 -03:00
taiyang-li
3ca789b4a2 changes as requested 2023-03-20 23:58:37 +08:00
Denny Crane
dbfe2df1f4
Update coordinates.md 2023-03-18 19:48:00 -03:00
rfraposa
ac5ed141d8 New nav - reverting the revert 2023-03-17 21:45:43 -05:00
Kruglov Pavel
9e0b816ac4
Merge branch 'master' into random-structure 2023-03-17 20:00:21 +01:00
Alexander Tokmakov
ec44c8293a
Revert "New navigation" 2023-03-17 21:21:11 +03:00
Rich Raposa
55892bc3ea
Merge branch 'master' into new-nav 2023-03-17 11:41:34 -06:00
flynn
ef331a45c3 udpate 2023-03-17 14:20:16 +00:00
flynn
3456562136 Update document for tupleElement function 2023-03-17 14:17:33 +00:00
rfraposa
60fb9973d7 trailing slash fixes 2023-03-16 16:43:01 -05:00
Andrey Zvonov
4327d707e0
Merge branch 'master' into zvonand-implicit-tz 2023-03-15 22:18:52 +01:00
avogar
f9d9b1ee23 Add more options 2023-03-10 16:16:28 +00:00
Rich Raposa
de68dade71
Revert "standardize admonitions" 2023-03-09 14:30:40 -07:00
avogar
66eb06d839 Better 2023-03-09 20:15:32 +00:00
avogar
067bfb8844 Add new function generateRandomStructure 2023-03-09 17:47:14 +00:00
DanRoscigno
95351bc2d3 standardize admonitions 2023-03-09 12:05:26 -05:00
Rich Raposa
f24fad9e26
Merge branch 'master' into new-nav 2023-03-08 14:31:10 -07:00
Vladimir C
b298fbeecc
Merge pull request #47134 from KevinyhZou/enable_int_types_repeat_function 2023-03-08 10:09:20 +01:00
Nikolay Degterinsky
e1b309a904 Better docs, add timezone 2023-03-08 06:20:49 +00:00
rfraposa
fa6f3dadba Link fixes 2023-03-07 22:52:43 -07:00
Rich Raposa
eac81b50dd
Merge branch 'master' into new-nav 2023-03-07 09:41:54 -07:00
Arthur Passos
9bee69148c
Merge branch 'ClickHouse:master' into parsey_key_value_function 2023-03-07 12:22:06 -03:00
taiyang-li
b2757a65a5 Merge branch 'master' into to_timestamp 2023-03-07 16:26:24 +08:00
taiyang-li
b303fb5630 finish docs 2023-03-07 15:30:38 +08:00
rfraposa
3d484e20bc Fixing links 2023-03-06 23:33:56 -07:00
Denny Crane
d8029b7b2d
Update ip-address-functions.md 2023-03-06 16:36:04 -04:00
Denny Crane
0b46de317b
Update ip-address-functions.md 2023-03-06 16:33:28 -04:00
Rich Raposa
18f29837fc
Merge branch 'master' into new-nav 2023-03-03 08:32:01 -07:00
Dan Roscigno
687df5f1b5
Merge pull request #47146 from ClickHouse/DanRoscigno-patch-4
Update date-time-functions.md
2023-03-03 08:01:27 -05:00
Robert Schulze
9aef18abad
Doc update for mapFromArrays() 2023-03-03 08:47:46 +00:00
Robert Schulze
74fcffb067
Merge pull request #31125 from taiyang-li/map_from_arrasy
Implement spark function mapFromArrays()
2023-03-03 09:28:54 +01:00
Rich Raposa
21996c377a
Merge branch 'master' into new-nav 2023-03-02 10:56:49 -07:00
Dan Roscigno
fbabba78c9
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:55:23 -05:00
Dan Roscigno
9cb70723d1
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:55:16 -05:00
Dan Roscigno
2db7df6153
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:55:04 -05:00
Dan Roscigno
38fbd61788
Merge branch 'master' into DanRoscigno-patch-4 2023-03-02 12:32:04 -05:00
Dan Roscigno
4457ebab48
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:31:56 -05:00
Robert Schulze
4d444d6f7a
Merge pull request #47149 from ClickHouse/rs/switch-rows
Docs: Switch two rows for consistency
2023-03-02 18:06:18 +01:00
Robert Schulze
d378ae9c76
Docs: Switch two rows for consistency 2023-03-02 17:05:11 +00:00
Dan Roscigno
73a6c920d3
Update date-time-functions.md
closes #42758
2023-03-02 11:31:22 -05:00
Rich Raposa
c0adfd57be
Merge branch 'master' into new-nav 2023-03-02 07:56:54 -07:00
Robert Schulze
0a9d3bf4ae
Cleanup conversion function docs 2023-03-02 13:05:09 +00:00
KevinyhZou
cdc8596f81 enable int type in repeat function 2023-03-02 20:08:39 +08:00
李扬
2d37e3e7ba
Merge branch 'master' into map_from_arrasy 2023-03-02 14:37:31 +08:00
rfraposa
17a2d7ed45 Fixing broken links 2023-03-01 16:53:17 -07:00
Nikolai Kochetov
d469f138dc
Merge pull request #46790 from avoiderboi/add-width-bucket
Add `WIDTH_BUCKET` function
2023-03-01 18:35:36 +01:00
taiyang-li
e8847f2fb6 change as request 2023-03-01 21:15:01 +08:00
taiyang-li
f84eee778b Merge branch 'master' into map_from_arrasy 2023-03-01 20:41:25 +08:00
taiyang-li
8edc677805 Merge branch 'master' into map_from_arrasy 2023-03-01 20:37:21 +08:00
Dan Roscigno
97c8c21741
Add exaple of intDiv
closes https://github.com/ClickHouse/ClickHouse/issues/25703
2023-02-28 16:38:00 -05:00
Dan Roscigno
69fa64e852
Add example of arrayStringConcat()
closes https://github.com/ClickHouse/clickhouse-docs/issues/124
2023-02-27 15:16:18 -05:00
Robert Schulze
edde5e591f
Merge pull request #46939 from ClickHouse/rs/doc-update
Docs: Update sidebar entries
2023-02-27 09:20:58 +01:00
Robert Schulze
e153aae54e
Capitalize "Map" in heading 2023-02-27 08:15:04 +00:00
Robert Schulze
86dd9b9855
Docs: Sidebar: Remove leading "For" from "Searching/Replacing in Strings" 2023-02-27 08:13:24 +00:00
Robert Schulze
d32a3035fe
Docs: Sidebar entry "Working with maps" --> Maps 2023-02-27 08:10:19 +00:00
zvonand
49fb028498 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-02-26 17:20:09 +01:00
Robert Schulze
cf062f0c5b
Small optimization of LIKE patterns with > 1 trailing %
Previously, LIKE pattern '%%%ab' became '.*.*ab'. Now, it becomes 'ab'
which is a bit faster (perhaps).

+ minor code cleanup + a minor doc update
2023-02-25 18:50:32 +00:00
Robert Schulze
2fd28b9eac
Merge pull request #46867 from ClickHouse/rs/escaping-docs
Fix escaping description in LIKE function docs
2023-02-25 18:44:20 +01:00