Commit Graph

1838 Commits

Author SHA1 Message Date
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
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