Commit Graph

4398 Commits

Author SHA1 Message Date
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
Antonio Andelic
1fc1b6aae4 More fixes 2023-07-28 13:00:35 +00:00
Kruglov Pavel
3e1c409e60
Merge branch 'master' into structure-to-schema 2023-07-28 11:32:16 +02:00
Antonio Andelic
720d587e85 Merge branch 'master' into add-reading-from-archives 2023-07-28 08:49:00 +00:00
pufit
9dbb106dc1 Fix tests, docs 2023-07-27 23:37:09 -04:00
李扬
d0c9425711
Merge branch 'master' into starts_ends_with_utf8 2023-07-28 10:03:39 +08:00
Илья Коргун
d1f3849d99 Fix errata at named collections sql-reference 2023-07-27 22:08:36 +03:00
avogar
67b0993bdf Add documentation 2023-07-27 18:54:41 +00:00
Robert Schulze
8c14c4b5e8
Remove unneeded readBinary() specializations + update docs
The default instantiation

    template <typename T>
    requires is_arithmetic_v<T>
    inline void readBinary(T & x, ReadBuffer & buf) { readPODBinary(x, buf); }

covers Int32, Int128, Int256, UInt32, UInt128 and UInt256 cases already.
2023-07-27 15:13:54 +00:00
avogar
b5fc34b770 Rename setting disable_url_encoding to enable_url_encoding and add a test 2023-07-27 12:20:33 +00:00
Al Korgun
f026ccf11e
Merge branch 'ClickHouse:master' into fix-named-collections-on-cluster-23.7 2023-07-27 10:48:25 +03:00
Илья Коргун
e511072df1 Update named collections related docs 2023-07-27 09:42:38 +03:00
Alexey Milovidov
cb30e78bec
Merge branch 'master' into issue_#50808 2023-07-27 07:51:55 +03: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
Nikolay Degterinsky
d89e2e6a27
Add SYSTEM STOP LISTEN query (#51016)
Co-authored-by: Nikita Mikhaylov <nikitamikhaylov@clickhouse.com>
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-07-26 19:58:41 +02:00
taiyang-li
27f3c5cfa2 change as requested 2023-07-26 10:53:07 +08:00
Julian Maicher
b91852de3a fix(docs): Document correct MODIFY COLUMN REMOVE syntax 2023-07-25 16:07:29 +02: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
Kruglov Pavel
da02f3189d
Merge pull request #50452 from DanRoscigno/update-acid-docs
update for min_chunk_bytes_for_parallel_parsing
2023-07-25 14:15:55 +02:00
Kruglov Pavel
f8c90d5964
Make better 2023-07-25 13:36:57 +02:00
Andrey Zvonov
15b3a637e9
Merge branch 'master' into revert-52450-remove-to-decimal-string 2023-07-25 13:21:00 +03:00
taiyang-li
a5d7391fbf add new function startsWithUTF8 and endsWithUTF8 2023-07-25 15:34:38 +08:00
flynn
8388ee067a
Merge branch 'master' into any_value 2023-07-25 11:21:19 +08:00
Alexey Milovidov
168b84a592
Merge pull request #52337 from Avogar/no-decode-url
Allow to disable decoding/encoding path in uri in URL engine
2023-07-25 05:43:06 +03:00
flynn
93c628dea1
Merge branch 'master' into any_value 2023-07-25 10:37:08 +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
db9c7c477f
Merge pull request #52397 from StianBerger/patch-1
Update date-time-functions.md
2023-07-22 16:49:18 +03:00
Alexey Milovidov
5f4756fb33 Remove toDecimalString 2023-07-22 04:54:58 +02:00
Alexey Milovidov
71694b60b3
Merge branch 'master' into any_value 2023-07-22 04:55:39 +03:00
Alexey Milovidov
e68234a231
Revert "Re-add SipHash keyed functions" 2023-07-22 04:45:50 +03:00
Alexey Milovidov
2d89dba8d1
Merge pull request #51796 from rschu1ze/show-index-better-mysql-compat
Improve MySQL compatibility of statement `SHOW INDEX`
2023-07-22 01:22:47 +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
avogar
fe934d3059 Make better 2023-07-20 12:38:41 +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
avogar
483ddb53eb Fixes 2023-07-19 19:51:58 +00:00
Samuel Colvin
90be5e6160
Remove reference to TIMEOUT in live views documentation
Temporary live views were removed in #42173, but the documentation was not fully updated to reflect the change.
2023-07-19 20:04:43 +01: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
vdimir
92f04d2c53
Merge pull request #52209 from mkmkme/mkmkme/first-line 2023-07-19 11:10:13 +02:00
SmitaRKulkarni
4456adfd4a
Merge branch 'master' into azure_table_function_cluster 2023-07-19 08:28:30 +02:00
robot-clickhouse-ci-1
32b765a4ba
Merge pull request #50559 from zvonand/zvonand-issue-49290
Add support for multi-directory globs
2023-07-19 06:24:38 +02:00
Lloyd-Pottiger
fc7743ad68
Merge branch 'master' into add-alias-for-today-and-now 2023-07-19 10:20:11 +08:00
Dmitry Kardymon
4e1bdc7db9 Merge remote-tracking branch 'origin/master' into ADQM-868 2023-07-18 18:21:04 +00:00
timfursov
90df922f50
Update with.md
Removed new line chars completely just in case
2023-07-18 15:02:59 +01:00
timfursov
cfcfb83ab7
Update with.md
replaced <br> to \
2023-07-18 14:41:43 +01:00
timfursov
5a398f9a93
Update with.md
Added an example
2023-07-18 13:39:53 +01:00
timfursov
f3bfc6e5cf
Update with.md
I propose changes to make it clear that CTEs do not guarantee the same results in all places they are used, since the query will be re-executed in each place they are used.
2023-07-18 11:40:57 +01: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
Alexey Milovidov
f4e095b502
Merge pull request #52149 from ucasfl/array_concat_agg
Add array_concat_agg for compatibility with BigQuery
2023-07-18 03:03:27 +03:00
Alexey Milovidov
4884022fda
Merge branch 'master' into zvonand-issue-49290 2023-07-17 23:03:50 +03:00
SmitaRKulkarni
e4fb9e88f8
Merge branch 'master' into azure_table_function_cluster 2023-07-17 17:23:38 +02:00
vdimir
5de1cfee7d
Merge pull request #51735 from arenadata/ADQM-976 2023-07-17 16:24:11 +02:00
Robert Schulze
e71efe5c5c
Merge branch 'master' into show-index-better-mysql-compat 2023-07-17 16:19:51 +02:00
Andrey Zvonov
d339c22a2f
Merge branch 'master' into zvonand-issue-49290 2023-07-17 16:43:15 +03:00
Smita Kulkarni
195b29b4a0 Addressed comments on docs 2023-07-17 14:53:37 +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
flynn
7f80f7dcb0
Merge branch 'master' into array_concat_agg 2023-07-17 01:15:24 +08:00
flynn
6899070f95 fix 2023-07-16 09:54:13 +00:00
flynn
f59370e5f9 Fix style 2023-07-16 09:50:29 +00:00
flynn
4955e07326 add docs 2023-07-16 09:27:34 +00:00
flynn
1eaa387da7 update doc 2023-07-16 05:23:15 +00:00
robot-ch-test-poll3
9e7361a0f6
Merge pull request #52135 from ucasfl/alias
Add array_agg as alias of groupArray for PostgreSQL compatibility
2023-07-15 21:14:38 +02: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
flynn
290c145acf Add array_agg as alias of groupArray for PostgreSQL compatibility 2023-07-15 14:53:46 +00:00
Andrey Zvonov
dbdd15686a
Merge branch 'master' into zvonand-issue-49290 2023-07-15 00:53:29 +02:00
Alexey Milovidov
9307e60c20
Revert "Millisecond and microsecond support in date_diff / age functions" 2023-07-14 23:21:26 +03:00
therealnick233
103a689edc
Fixed typo in combinators.md
line 303, 'Jonh' -> 'John'
2023-07-14 18:36:42 +08: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
Andrey Zvonov
a9ae26c146
Merge branch 'master' into zvonand-issue-49290 2023-07-11 16:28:35 +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
Andrey Zvonov
c030e9dbe4
Merge branch 'master' into zvonand-issue-49290 2023-07-10 11:01:26 +02:00
Konstantin Ilchenko
3b954a2952
[DOCS] Add REMOVE SAMPLE BY to docs 2023-07-09 14:38:16 +02:00
Alexey Milovidov
19072c9b47
Corrent example about parametric executable UDFs. 2023-07-08 02:03:23 +03:00
DanRoscigno
05b7da7813 add doc note for MongoDB Atlas 2023-07-07 10:32:44 -04:00
Robert Schulze
08b2441784
Merge branch 'master' into jaccard_similarity 2023-07-07 12:41:09 +02:00
Dmitry Kardymon
7255c35edc Add more tests 2023-07-06 19:43:37 +00:00
Robert Schulze
9a295eca46
Incorporate review feedback 2023-07-06 15:03:15 +00:00
Andrey Zvonov
cc0210f760
Merge branch 'master' into zvonand-issue-49290 2023-07-06 11:13:51 +02:00
Dan Roscigno
33a6358bab
Merge branch 'master' into update-acid-docs 2023-07-05 07:29:11 -04:00
Robert Schulze
b3edfbaab6
Update docs 2023-07-05 08:57:14 +00:00
Robert Schulze
966e93b908
Point to existing system tables for alternatives 2023-07-04 19:22:08 +00:00
Robert Schulze
0f68c894f5
Point to existing system tables for alternatives 2023-07-04 17:02:00 +00:00
Robert Schulze
b71043b2c9
Fix field 'non_unique' 2023-07-04 16:57:31 +00:00
Robert Schulze
5c463838b7
Improve compatibility of 'cardinality' field 2023-07-04 16:45:10 +00:00
Robert Schulze
eb86f27482
Document field 'sub_part' 2023-07-04 16:37:15 +00:00
Robert Schulze
6aab7577ff
Document 'packed' field 2023-07-04 16:33:33 +00:00
Robert Schulze
a8511a0be5
Fix description of 'comment' field 2023-07-04 16:31:36 +00:00
Dmitry Kardymon
58f720e24c Merge remote-tracking branch 'clickhouse/master' into Support-range-nullable 2023-07-04 19:22:21 +03:00
Robert Schulze
e9e3f87ed2
SHOW INDEX: Make fields INDEX_TYPE more compatible with MySQL 2023-07-04 16:21:55 +00:00
Dmitry Kardymon
cce06edfa7 Merge remote-tracking branch 'clickhouse/master' into ADQM-868 2023-07-04 19:18:55 +03:00
Robert Schulze
047060f9a4
SHOW INDEX: Make fields COMMENT and INDEX_COMMENT more compatible with MySQL 2023-07-04 16:18:11 +00:00
Robert Schulze
59928cb485
Docs: Fix description of output field NON_UNIQUE for statement SHOW INDEXES 2023-07-04 16:00:53 +00:00
Robert Schulze
3cb459bd04
Docs: Fix description of output field NON_UNIQUE for statement SHOW INDEXES 2023-07-04 15:50:56 +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
robot-ch-test-poll4
aa514dc846
Merge pull request #50551 from ClickHouse/fix-ip-aggregate-state
Fix backward compatibility for IP types hashing in aggregate functions
2023-06-28 19:24:04 +02:00
Andrey Zvonov
ae26ff27a1
Merge branch 'master' into zvonand-issue-49290 2023-06-28 12:13:05 +02:00
taiyang-li
70e49cb31c add docs 2023-06-28 11:28:20 +08:00
Alexey Milovidov
0db9d6be37
Merge branch 'master' into alter-table-add-comment 2023-06-27 22:56:22 +03:00
robot-ch-test-poll
eee9fe54a0
Merge pull request #51483 from rschu1ze/docs-join
Docs: Add blog posts to join docs
2023-06-27 16:35:23 +02:00
Robert Schulze
99c9830737
Docs: Add more blog posts to join docs 2023-06-27 13:34:58 +00:00
Nikita Mikhaylov
d24c5ab01f
Merge branch 'master' into fix-ip-aggregate-state 2023-06-27 14:11:26 +02:00
Smita Kulkarni
9734871345 Merge branch 'master' into azure_table_function_cluster 2023-06-27 11:09:44 +02:00
Dan Roscigno
bcb106e138
add missing aggregate functions (#51443)
* add missing aggregate functions

* add sparkBar
2023-06-27 01:39:47 +02:00
Alexey Milovidov
533a279f6c
Merge branch 'master' into alter-table-add-comment 2023-06-26 12:01:34 +03:00
Andrey Zvonov
0b6688ffe4
Merge branch 'master' into zvonand-issue-49290 2023-06-24 12:36:27 +02: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