Commit Graph

11563 Commits

Author SHA1 Message Date
slvrtrn
28e2ebf9db Merge remote-tracking branch 'refs/remotes/origin/simplified-prepared-statements-for-mysql' into simplified-prepared-statements-for-mysql 2023-09-12 18:41:36 +02:00
slvrtrn
dddea9219a Address the review comments 2023-09-12 18:39:03 +02:00
pufit
a54a7b726d
Merge pull request #54201 from ClickHouse/pufit/keeper-client-reconfig
Implementing `reconfig`, `sync`, `exists` commands for keeper-client
2023-09-12 10:58:02 -04:00
Dmitry Novik
7edc0a30a3
Merge pull request #54335 from arenadata/ADQM-1109
Added peak_threads_usage to query_log table
2023-09-12 16:03:27 +02:00
Alexey Milovidov
df91a55d66
Merge pull request #54501 from alexvanolst/patch-1
Correct default value for parts_to_delay_insert
2023-09-11 21:03:34 +03: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
Nikolai Kochetov
59108f3d96
Merge pull request #54476 from ClickHouse/revert-54470-revert-48607-master
Revert "Revert "Add settings for real-time updates during query execution""
2023-09-11 14:59:13 +02:00
Alexander van Olst
f9351fdf7b
Correct default value for parts_to_delay_insert 2023-09-11 13:52:14 +02:00
Kruglov Pavel
21a2cf7707
Merge pull request #54337 from wat-ze-hex/show-functions-2023-09-04
Add SHOW FUNCTIONS support to client
2023-09-11 13:03:02 +02:00
Sergei Trifonov
08bad4d440
Merge pull request #47009 from ClickHouse/disks-and-io-sheduler 2023-09-11 07:22:14 +02:00
robot-clickhouse-ci-2
47c0f8c99f
Merge pull request #54179 from joelynch/http-query-timing
Add elapsed_ns to HTTP headers X-ClickHouse-Progress and X-ClickHouse-Summary
2023-09-11 06:18:47 +02:00
robot-clickhouse-ci-1
05e1cdb0db
Merge pull request #54484 from rschu1ze/doc-splitByChar
Docs: Mention behavior change of splitByChar() in v22.11
2023-09-10 17:57:48 +02: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
Han Fei
b68421b120
Merge pull request #50906 from johanngan/regexptree-flags
Add case insensitive and dot-all modes to RegExpTree dictionary
2023-09-10 03:16:02 +02:00
Robert Schulze
1ce84774f0
Implement toDaysSinceYearZero() / to_days() (MySQL alias)
Fixes: #54277
2023-09-09 16:59:39 +00:00
Robert Schulze
4d2223defe
Merge pull request #54119 from mkmkme/mkmkme/aklomp-base64
Replace Turbo-Base64 with aklomp/base64
2023-09-09 16:24:26 +02:00
Nikolai Kochetov
9b936c44db
Revert "Revert "Add settings for real-time updates during query execution"" 2023-09-09 12:29:39 +02:00
Alexey Milovidov
03a755732a
Revert "Add settings for real-time updates during query execution" 2023-09-09 03:10:23 +03:00
Alexey Milovidov
047d481c97
Merge pull request #54382 from evillique/std-alias
Add STD alias to stddevPop function for MySQL compatibility
2023-09-09 02:57:06 +03: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
Denny Crane
9462b58616
Update query-complexity.md 2023-09-08 13:32:24 -03:00
Denny Crane
bb3c6ff682
Update query-complexity.md 2023-09-08 13:30:13 -03:00
Denny Crane
b239d409b1
Update query-complexity.md 2023-09-08 13:28:09 -03:00
Andrey Zvonov
ff4586e663
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix 2023-09-08 18:17:06 +02:00
Denny Crane
ee608d7c81
Update http.md 2023-09-08 12:32:31 -03:00
Andrey Zvonov
4cfd46a0cc
Update settings.md 2023-09-08 17:29:09 +03:00
Nikolai Kochetov
0095124791
Merge pull request #48607 from alexX512/master
Add settings for real-time updates during query execution
2023-09-08 09:05:33 +02:00
Leonardo Maciel
0b396ee7b4
Fixed detectLanguage mixed example 2023-09-07 22:27:22 -03:00
Julia Kartseva
59844b0a9d Add SHOW FUNCTIONS support to client
Accepts CH client queries in the form of
SHOW FUNCTIONS [LIKE | ILIKE '< pattern>']

Retrieves all columns from `functions` table in system database.

Fixes #52757
2023-09-07 14:08:50 -07:00
Justin de Guzman
439531cde9
Merge pull request #54394 from fermelone/patch-2
Update sampling-query-profiler.md
2023-09-07 13:04:18 -07:00
avogar
ba307c7466 Allow to infer named Tuples from JSON objects under a setting in JSON formats 2023-09-07 19:41:19 +00:00
Robert Schulze
bff06d18aa
Merge pull request #54249 from rschu1ze/multiple_query_arguments
Allow multiple `--query` parameters in clickhouse-client/local.
2023-09-07 21:20:07 +02:00
serxa
a94ae9a7ab review fixes 2023-09-07 14:02:58 +00:00
robot-clickhouse
fd4ddc49f2
Merge pull request #54332 from rschu1ze/consolidate-tests-53149
Consolidate GCD codec tests (Follow up to #53149)
2023-09-07 15:29:22 +02:00
Nikolay Degterinsky
b06412ae60 Add addDate function for compatibility with MySQL 2023-09-07 11:15:49 +00:00
Robert Schulze
cd3c121a62
Various fixups 2023-09-07 10:32:49 +00:00
Fern
25c06c9764
Update sampling-query-profiler.md
Adding a note to clarify that the sample query provided, in CH Cloud, might return empty information as it cycles through nodes of the cluster. You need to add clusterAllReplicas.
2023-09-07 10:47:42 +01:00
Kseniia Sumarokova
bf3dc24471
Update mergetree.md 2023-09-07 11:23:42 +02:00
zvonand
c36a3fbd39 renamed setting 2023-09-07 12:00:25 +03:00
Han Fei
60b0df9245 Merge branch 'master' into regexptree-flags 2023-09-07 10:46:43 +02:00
Alexey Milovidov
ce8ab5c9dd
Update comment.md 2023-09-07 07:30:46 +03:00
Nikolay Degterinsky
d95c29227f Add STD alias to stddevPop function for MySQL compatibility 2023-09-07 03:46:27 +00:00
pufit
fef80f176e Fix typo 2023-09-06 21:56:14 -04:00
Alexey Gerasimchuck
c2f4dc0f14 Implemented peak_threads_usage 2023-09-07 01:32:39 +00:00
pufit
ef2350cfc7 Implementing exists, sync commands. Better tests 2023-09-06 20:36:39 -04:00
serxa
77697211cd add docs for system.scheduler + small fix 2023-09-06 19:30:39 +00:00
johanngan
bcb058f999 Add case insensitive and dot-all modes to RegExpTree dictionary
The new per-dictionary settings control regex match semantics around
case sensitivity and the '.' wildcard with newlines. They must be set at
the dictionary level since they're applied to regex engines at
pattern-compile-time.

- regexp_dict_flag_case_insensitive: case insensitive matching
- regexp_dict_flag_dotall: '.' matches all characters including newlines

They correspond to HS_FLAG_CASELESS and HS_FLAG_DOTALL in Vectorscan
and case_sensitive and dot_nl in RE2. These are the most useful options
compatible with the internal behavior of RegExpTreeDictionary around
splitting up simple and complex patterns between Vectorscan and RE2.

The alternative is to use (?i) and/or (?s) for all patterns. However,
(?s) isn't handled properly by OptimizedRegularExpression::analyze().
And while (?i) is, it still causes the dictionary to treat the pattern
as "complex" for sequential scanning with RE2 rather than multi-matching
with Vectorscan, even though Vectorscan supports case insensitive
literal matching. Setting dictionary-wide flags is both more convenient,
and circumvents these problems.
2023-09-06 11:28:53 -05:00
Robert Schulze
f2f24610d0
Improve English grammar by 8.3% 2023-09-06 15:04:18 +02:00
Mikhail Koviazin
f98007a4ed
Replace Turbo-Base64 with aklomp/base64
Closes #31643
2023-09-06 13:01:38 +00:00
Alexander Sapin
518d4b4357 Merge branch 'master' into alter-table-add-comment 2023-09-06 12:34:04 +02:00
Robert Schulze
8f6cd157b9
Merge pull request #54316 from ucasfl/isNull
Fix isZeroOrNull(NULL)
2023-09-06 10:38:22 +02:00
Robert Schulze
d36edea9e2
Consolidate GCD codec tests (follow up to #53149) 2023-09-05 21:34:27 +00:00
Robert Schulze
470ce3444c
Merge pull request #53149 from seshWCS/gcddelta-codec
Add GCD codec
2023-09-05 23:32:06 +02:00
Robert Schulze
b314b8d4ac
Merge pull request #53328 from valbok/decimal
Introduce default parameters to DECIMAL family types
2023-09-05 23:30:11 +02:00
Roman G
eb1812cc87
Update generate.md 2023-09-05 15:55:58 -04:00
Joe Lynch
767f2472c2
Add elapsed_ns to HTTP headers X-ClickHouse-Progress and X-ClickHouse-Summary
The TCP interface progress has this field. This is not a super accurate
measure of server side query time, but trying to measure from the client
is even worse.
2023-09-05 21:03:13 +02:00
Robert Schulze
17cb6a8e3f
SHOW COLUMNS: update docs, refresh expected results, add comment about bug 2023-09-05 18:34:33 +00:00
Robert Schulze
37cabaf993
Add docs, consolidate tests 2023-09-05 17:31:58 +00:00
robot-ch-test-poll
2e7edf4413
Merge pull request #53638 from arenadata/ADQM-987
Add `backup_log` system table
2023-09-05 17:03:41 +02:00
robot-clickhouse
9cafdbd972
Merge pull request #54309 from evillique/better-docs
Make docs better
2023-09-05 15:58:59 +02:00
Robert Schulze
f4c86fe34e
Merge pull request #53860 from irenjj/feat_markdown
Add a setting to escape special characters in Markdown.
2023-09-05 15:44:11 +02:00
Nikolay Degterinsky
2db239d6ad Make docs better 2023-09-05 12:43:53 +00:00
seshWCS
dbab2f27ba Docs-fix 2023-09-05 12:40:21 +00:00
pufit
2469cbbf67
Update projection.md 2023-09-05 08:28:58 -04:00
Александр Нам
39d279ecf0
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-09-05 14:00:01 +03:00
János Benjamin Antal
3f7d8f1cae
Merge pull request #54099 from Tiakon/master
Add the default value of task-upload-force
2023-09-05 11:32:53 +02:00
Александр Нам
0ca380707f
Merge branch 'master' into gcddelta-codec 2023-09-05 11:08:00 +03:00
Victor Krasnov
132ab6067b Merge branch 'master' into ADQM-987 2023-09-05 10:01:44 +03:00
Alexey Milovidov
b2821106fd
Merge pull request #53923 from myrrc/docs/ch-disks
Add docs for clickhouse-disks
2023-09-05 02:10:18 +03:00
Igor Nikonov
6e73dcf654
Merge pull request #54257 from Enmk/patch-3
Minor clarifications to the `OPTIMIZE ... DEDUPLICATE` docs
2023-09-04 22:08:12 +02:00
Robert Schulze
d03fba52f0
Merge remote-tracking branch 'rschu1ze/master' into multiple_query_arguments 2023-09-04 16:10:00 +00:00
Alejandro
5d6a2609c8
Updated doc of distributed_ddl_queue (#54192)
* Updated doc of distributed_ddl_queue

* Update docs/en/operations/system-tables/distributed_ddl_queue.md

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>

* Update docs/en/operations/system-tables/distributed_ddl_queue.md

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>

* Update docs/en/operations/system-tables/distributed_ddl_queue.md

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>

---------

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-09-04 17:25:06 +02:00
Vasily Nemkov
c0db042879
Update optimize.md 2023-09-04 17:01:10 +02:00
Vasily Nemkov
ef3ab85b76
Minor clarifications to the OPTIMIZE ... DEDUPLICATE docs 2023-09-04 16:57:38 +02:00
irenjj
c9261bbf18 Merge remote-tracking branch 'upstream/master' into feat_markdown 2023-09-04 22:35:53 +08:00
Sergei Trifonov
258da91b5f
Merge branch 'master' into disks-and-io-sheduler 2023-09-04 15:14:28 +02:00
irenjj
b57e248aab Fix doc spell error. 2023-09-04 20:58:19 +08:00
Robert Schulze
44994fe51b
Incorporate review feedback 2023-09-04 11:44:37 +00:00
Ziy1-Tan
fe7d636b93
Improve docs
Signed-off-by: Ziy1-Tan <ajb459684460@gmail.com>
2023-09-04 11:44:27 +00:00
Ziy1-Tan
5db1961129
Allow specifying --query multiple times in the command line 2023-09-04 11:44:22 +00:00
Victor Krasnov
78760639d2 Merge branch 'master' into ADQM-987 2023-09-04 13:59:20 +03:00
Tiakon
1ceda6fbfa
Update docs/en/operations/utilities/clickhouse-copier.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-09-04 18:26:59 +08:00
Tiakon
74dedf2a5d
Merge branch 'ClickHouse:master' into master 2023-09-04 17:42:16 +08: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
Александр Нам
9a71bce1f5
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-09-02 00:51:49 +03:00
serxa
14e2032d92 add documentation 2023-09-01 16:28:03 +00:00
Victor Krasnov
52cce27e81 Merge branch 'master' into ADQM-987 2023-09-01 18:00:20 +03:00
vdimir
406d61f9c8
Merge pull request #53755 from ClickHouse/vdimir/join_on_nullsafe 2023-09-01 11:02:37 +02:00
Александр Нам
48783f88d7
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-09-01 07:44:37 +03:00
alexX512
36b8932b37 Merge branch 'master' of github.com:ClickHouse/ClickHouse 2023-08-31 21:40:50 +00:00
Robert Schulze
2746aa87bb
Various fixups 2023-08-31 19:18:42 +00:00
Michael Kolupaev
33c03eda3d
Add warnings about ingestion script speed and memory usage in Laion dataset instructions
The command given in the instructions would run 100 instances of a script that take 41 GB each. I'm not sure how the author of the instructions was able to run it successfully.
2023-08-31 12:07:51 -07:00
Mike Kot
ebcc97ad1b change case for copy operation in clickhouse-disks 2023-08-31 13:39:32 +00:00
Anton Popov
579ec699bf Merge remote-tracking branch 'upstream/master' into HEAD 2023-08-31 12:59:59 +00:00
Александр Нам
43a3650a9e
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-31 15:25:52 +03:00
Robert Schulze
aefb543734
Merge remote-tracking branch 'rschu1ze/master' into feat_markdown 2023-08-31 11:32:44 +00:00
Robert Schulze
d8e6395eea
Docs: Follow-up to #53818 2023-08-31 11:15:50 +00:00
Robert Schulze
97d960ba1d
Merge pull request #53818 from arenadata/ADQM-1070
Add new hide_in_preprocessed attribute in configuration file
2023-08-31 13:00:16 +02:00
Andrey Zvonov
83405a8808
Merge branch 'master' into zvonand-globs-small-fix 2023-08-31 08:42:48 +02:00
Bharat Nallan Chakravarthy
7889626046 add docs 2023-08-30 21:42:51 -07:00
Alexey Gerasimchuck
3a212217a3 Implemented globs to select * from '<file>' 2023-08-31 04:20:44 +00:00
Tiakon
0dcc0be377
Update clickhouse-copier.md
Shows that the type of task-upload-force is Boolean.
2023-08-31 10:38:19 +08:00
Justin de Guzman
f8ca303b25
Clarify that the cloud MySQL interface is under private preview 2023-08-30 11:22:47 -07:00
irenjj
277be44250 add test 2023-08-30 22:57:46 +08:00
Alexander Tokmakov
4d70624ca3
Merge pull request #53907 from arenadata/ADQM-1126
Added validate_tcp_client_information server setting
2023-08-30 15:10:13 +02:00
vdimir
7618b2d112
Add partial_result_update_duration_ms to settings.md 2023-08-30 12:05:04 +02:00
Lucas Fernando Cardoso Nunes
6bb406fda9
fix typo on s3queue.md
Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>
2023-08-30 04:30:34 -03:00
Alexey Gerasimchuck
a1687e618b backward compatibility changes + fixes 2023-08-29 23:50:41 +00:00
seshWCS
e0157c4288 Docs-fix 2023-08-29 18:19:37 +00:00
seshWCS
85240aca3b Docs-fix 2023-08-29 18:09:28 +00:00
Александр Нам
7c2aefe170
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-29 20:59:54 +03:00
irenjj
473ba91c21 Refactor writeAnyMarkdownEscapedString and Add more info into doc. 2023-08-29 23:54:40 +08:00
Mike Kot
061bbe13c0 add docs for clickhouse-disks 2023-08-29 12:25:04 +00:00
Robert Schulze
93eec131ae
Merge pull request #53920 from rschu1ze/docs-laion
Dataset docs: Update + fix LAION-400M tutorial
2023-08-29 12:59:16 +02:00
robot-ch-test-poll1
2c8cc7979f
Merge pull request #53571 from ClickHouse/password-complexity-req
Add password complexity requirements to docs
2023-08-29 12:42:30 +02:00
Robert Schulze
43367f99fb
Fix style 2023-08-29 12:35:56 +02:00
Robert Schulze
b4219886b4
Dataset docs: Update + fix LAION-400M tutorial 2023-08-29 10:17:13 +00:00
Alexey Gerasimchuck
de1ed97876 disabled validate_tcp_client_information 2023-08-29 08:59:49 +00:00
Robert Schulze
679a983094
Switch paragraphs 2023-08-29 10:57:35 +02:00
Justin de Guzman
be65292714
Rename COLUMNS expression to dynamic column selection 2023-08-28 19:55:42 -07:00
Justin de Guzman
bc6c8ea410
Add info about password complexity req for ClickHouse Cloud 2023-08-28 18:16:53 -07:00
Alexey Gerasimchuck
e9757abea6 Added validate_tcp_client_information setting 2023-08-29 00:15:55 +00:00
irenjj
13322f1a90 Remove redundant functions. 2023-08-28 23:54:07 +08:00
Roman Vasin
87cf0e38fd Update MD docs 2023-08-28 13:11:44 +00:00
vdimir
1cf68baad7
Add NULL values in JOIN keys section to join doc 2023-08-28 11:41:36 +00:00
Song Liyong
15310117b0 Introduce default parameters to DECIMAL family types
In standard SQL, the syntax DECIMAL(M) is equivalent to DECIMAL(M,0).
Similarly, the syntax DECIMAL is equivalent to DECIMAL(M,0), where the
implementation is permitted to decide the value of M.

https://dev.mysql.com/doc/refman/8.0/en/fixed-point-types.html

Since MySQL uses 10 as the default value for precision,
suggesting to also support this in ClickHouse
2023-08-28 09:15:57 +02:00
irenjj
51aa89eed8 Add a setting to automatically escape special characters in Markdown. 2023-08-28 00:10:33 +08:00
Александр Нам
ee0b2e4b39
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-27 02:41:10 +03:00
Andrey Zvonov
911bf94fbd
Merge branch 'master' into zvonand-globs-small-fix 2023-08-25 23:50:07 +05:00
Victor Krasnov
921f0c8b5d Merge branch 'master' into ADQM-987 2023-08-25 21:20:23 +03:00
Roman Vasin
8cfab6d53f Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-1070 2023-08-25 12:13:53 +00: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
Kruglov Pavel
d80be4673b
Merge pull request #53692 from Avogar/cache-count
Cache number of rows in files for count in file/s3/url/hdfs/azure functions
2023-08-25 09:08:52 +02:00
Roman Vasin
ed3ad4c943 Add documentation 2023-08-25 05:37:10 +00:00
Alexander Tokmakov
cbbb81f5cc
Merge pull request #53405 from canhld94/limit_concurent_background_optimize
Limit number of concurrent background partition optimize
2023-08-24 20:49:38 +03:00
Kruglov Pavel
44db5fa992
Merge branch 'master' into cache-count 2023-08-24 17:21:18 +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
Kruglov Pavel
f7e1abd774
Merge branch 'master' into cache-count 2023-08-23 22:31:49 +02:00
Kruglov Pavel
063c986680
Merge pull request #53637 from Avogar/fast-count-from-files
Optimize count from files in most input formats
2023-08-23 22:17:29 +02:00
Alexey Milovidov
d475dc424e
Merge pull request #53701 from ClibMouse/feature/qemu-s390x-docs
Update s390x VSCode environment setup
2023-08-23 18:29:45 +03:00
Kruglov Pavel
592fa77987
Merge branch 'master' into cache-count 2023-08-23 15:18:02 +02:00
Kruglov Pavel
7e362a2110
Merge branch 'master' into fast-count-from-files 2023-08-23 15:13:20 +02:00
Robert Schulze
bea651e828
Merge pull request #53657 from rschu1ze/cache-improvements
Expose more settings from caches
2023-08-23 14:58:45 +02:00
Robert Schulze
5dec6f19f3
Merge pull request #51325 from xinhuitian/fix-annoy-index-update
Do not reset Annoy index during build-up with > 1 mark
2023-08-23 14:31:06 +02:00
Kruglov Pavel
e193aec583
Merge branch 'master' into fast-count-from-files 2023-08-23 12:15:34 +02: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
Tian Xinhui
7cf057e716
Merge branch 'ClickHouse:master' into fix-annoy-index-update 2023-08-23 10:33:14 +08:00
Александр Нам
a291444b30
Update table.md 2023-08-23 00:33:14 +03:00
Александр Нам
c7f7fc55c4
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-22 20:13:25 +03:00
Александр Нам
50e10a66cc Added Docs 2023-08-22 17:12:01 +00:00
Kruglov Pavel
6e3f2fedbd
Apply suggestions from code review
Co-authored-by: Dmitry Novik <mrnovikd@gmail.com>
2023-08-22 19:05:06 +02:00
Denny Crane
0713dc5ee4
Update storing-data.md 2023-08-22 14:04:35 -03:00
Victor Krasnov
258f9927b4 Merge branch 'master' into ADQM-987 2023-08-22 16:49:32 +03:00
Kruglov Pavel
67c5c0203b
Merge branch 'master' into fast-count-from-files 2023-08-22 15:03:48 +02:00
Kruglov Pavel
c0bdd0e00b
Merge branch 'master' into cache-count 2023-08-22 14:42:22 +02:00
avogar
b4145aeddc Cache number of rows in files for count in file/s3/url/hdfs/azure functions 2023-08-22 11:59:59 +00:00
Robert Schulze
f2fb7365e6
Add settings for 1. size_ratio (all caches) and 2. policy (index caches)
1. is an expert-level setting, default is 0.5, applies only to SLRU.

Also, I noticed that we expose cache policy settings for the mark and
the uncompresed cache but not for the index mark and the index
uncompressed cache. Changed that as well, it simplifies the code a bit.
2023-08-22 11:04:29 +00:00
alesapin
1a5a9fca87
Merge pull request #53605 from irenjj/feat_53538
Add column 'name' to system.clusters as an alias to cluster.
2023-08-22 11:34:21 +02:00
Tian Xinhui
76016d9593
Merge branch 'master' into fix-annoy-index-update 2023-08-22 16:58:29 +08:00
Robert Schulze
a20ceef398
Merge pull request #53447 from davvard/master
USearch HNSW index for ANN search
2023-08-21 23:34:26 +02:00
Robert Schulze
583d9b33f0
Merge pull request #51446 from rschu1ze/recfgable-caches
Runtime-reconfigurable cache sizes
2023-08-21 23:27:21 +02:00
Robert Schulze
d71801d6b2
Merge pull request #53554 from Ryado/mysql_interface_cloud
Added instructions to enable MySQL interface in Cloud
2023-08-21 21:29:34 +02:00
Nikita Mikhaylov
145c99ee94
Merge pull request #53280 from evillique/better-stop-listen
Add EXCEPT clause to SYSTEM STOP LISTEN query
2023-08-21 19:03:49 +02:00
Ryadh DAHIMENE
615a493ded Addressing comments 2023-08-21 18:37:31 +02:00
Robert Schulze
8cbf626d0f
Cosmetics 2023-08-21 14:08:44 +00:00
Robert Schulze
67369b49d3
Merge pull request #53642 from rschu1ze/pg-doc-fix
Docs: Correct parameter name in MaterializedPostgres example
2023-08-21 16:01:08 +02:00
Anton Popov
3e9a182555 better interfaces for getting of stream name in part 2023-08-21 13:52:25 +00:00
Robert Schulze
96c8b250ce
Allow to configure cache sizes at runtime 2023-08-21 13:51:10 +00:00
Robert Schulze
5783c07e4f
Docs: Correct parameter name in MaterializedPostgres example 2023-08-21 13:24:57 +00:00
irenjj
0f0b5eb3b1 dateDiff: add support for plural units. 2023-08-21 21:15:00 +08:00
Kruglov Pavel
88aee95122
Merge branch 'master' into fast-count-from-files 2023-08-21 14:46:33 +02:00
avogar
47304bf7aa Optimize count from files in most input formats 2023-08-21 12:30:52 +00:00
Victor Krasnov
a7813260c0 Merge branch 'master' into ADQM-987 2023-08-21 14:45:13 +03:00
Kruglov Pavel
c68456a20a
Merge pull request #52692 from Avogar/variable-number-of-volumns-more-formats
Allow variable number of columns in more formats, make it work with schema inference
2023-08-21 13:28:35 +02:00
Duc Canh Le
2c07065f81 increase the default value
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-08-21 11:04:24 +00:00
Robert Schulze
066ec559ad
Do not reset Annoy index during build-up with > 1 mark 2023-08-21 10:05:43 +00:00
Victor Krasnov
7a4d891a37 Fix docs spelling 2023-08-21 12:50:10 +03:00
Victor Krasnov
8b005a9d02 Update the documentaion 2023-08-21 12:37:58 +03:00
kevinyhzou
48cb9b59f4 Support from/to utc timestamp 2023-08-21 09:28:00 +08:00
irenjj
38d2e75690 Add doc. 2023-08-20 17:30:05 +08:00
Alexey Milovidov
ab384ba621 Add documentation 2023-08-20 10:06:10 +02:00
Kseniia Sumarokova
c0b8d7eddf
Merge pull request #50999 from ilejn/system_kafka_consumers
system.kafka_consumers table to monitor kafka consumers
2023-08-19 13:31:18 +04:00
Justin de Guzman
f891401a5d
Add password complexity requirements to docs 2023-08-18 17:58:06 -07:00
Michael Kolupaev
a1522e22ea
Merge pull request #53281 from Avogar/batch-small-parquet-row-groups
Optimize reading small row groups by batching them together in Parquet
2023-08-18 17:15:42 -07:00
Alexey Milovidov
17b24eb38d
Merge pull request #53490 from rschu1ze/boost-179
Update boost to 1.79
2023-08-19 02:12:13 +03:00
Ryadh DAHIMENE
1a42d71514 Added instructions to enable MySQL interface in Cloud 2023-08-18 16:57:58 +02:00
Robert Schulze
e09098c5a1
Update annindexes.md 2023-08-18 15:01:13 +02: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
Ash Vardanian
9a4254616a
Docs: Extend USearch implementation details 2023-08-18 12:45:34 +01:00
Duc Canh Le
2d353f8c43 Merge branch 'master' into limit_concurent_background_optimize 2023-08-18 09:25:27 +00:00
Alexey Milovidov
e7d0edfce6
Merge pull request #53261 from bharatnc/ncb/truncate-db
support TRUNCATE DATABASE
2023-08-18 08:22:32 +03:00
Anton Popov
b9df41d5e3
Merge pull request #53129 from CurtizJ/non-deterministic-mutations
Allow to execute constant non-deterministic functions in mutations on initiator
2023-08-18 00:26:20 +02:00
Robert Schulze
cd4c53030e
Merge pull request #53531 from rschu1ze/docs-dict
Clean up messy headers in dictionary docs
2023-08-17 21:43:05 +02:00
Robert Schulze
6b37595e11
Update boost to 1.79 2023-08-17 19:34:07 +00:00
Robert Schulze
f20dd27ba6
Clean header mess up 2023-08-17 18:47:11 +00:00
Anton Popov
1805dec6ff Merge remote-tracking branch 'upstream/master' into HEAD 2023-08-17 14:09:43 +00:00
Anton Popov
0865c0794e Merge remote-tracking branch 'upstream/master' into HEAD 2023-08-17 14:08:59 +00:00
Ilya Yatsishin
7115110dad
Update merge-tree-settings.md
parts_to_throw_insert=3000
2023-08-17 15:59:22 +02:00
avogar
bca91548ad Add setting input_format_parquet_local_file_min_bytes_for_seek 2023-08-17 12:28:01 +00:00
Robert Schulze
ac7a27b7ff
Update docs 2023-08-17 10:03:58 +00:00
Robert Schulze
456a02da1b
Merge remote-tracking branch 'rschu1ze/master' 2023-08-17 09:30:27 +00:00
Nikolay Degterinsky
a893f75884 Merge remote-tracking branch 'upstream/master' into better-stop-listen 2023-08-16 23:06:18 +00:00
Andrey Zvonov
eb9c837d20
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix 2023-08-16 19:22:00 +03:00
Davit Vardanyan
c685ac3df9 Docs: Update USearch docs 2023-08-16 17:31:46 +04:00
Alexander Tokmakov
b69ef75972 Merge branch 'master' into merging_53373 2023-08-16 13:16:43 +02:00
zvonand
a8cdc94720 update docs acc to review 2023-08-15 23:42:04 +05:00
zvonand
0efaa5ab45 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-globs-small-fix 2023-08-15 21:20:52 +05:00
Andrey Zvonov
d161a87a34
Update docs/en/sql-reference/table-functions/file.md
Co-authored-by: SmitaRKulkarni <64093672+SmitaRKulkarni@users.noreply.github.com>
2023-08-15 19:10:40 +03:00
Davit Vardanyan
48c62fd75e Add: USearch 2023-08-15 16:00:27 +04:00
Anton Popov
2e22b17d57 add docs and settings randomizations 2023-08-15 00:38:07 +00:00
Anton Popov
5a1265d16d add docs 2023-08-15 00:24:47 +00:00
Nikolay Degterinsky
1738afc196
Update insert-into.md 2023-08-14 16:37:34 +02:00
Duc Canh Le
cd535bea7d limit number of concurrent background partition optimize 2023-08-14 10:21:13 +00:00
Robert Schulze
2d3bf55d45
Docs: Update table name in ANN docs 2023-08-14 08:50:20 +00:00
Robert Schulze
5dc2255e49
Merge pull request #53395 from rschu1ze/update-ann-anchors
Docs: Fixups in ANN docs
2023-08-14 10:31:19 +02:00
Andrey Zvonov
413b0f227b
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix 2023-08-14 10:59:44 +03:00
Robert Schulze
1c3f4d3719
+ , 2023-08-14 07:46:15 +00:00
Robert Schulze
f71ce2641c
Fix copyright issues in ANN docs 2023-08-14 07:36:27 +00:00
Robert Schulze
385332a554
Docs: Update anchors in ANN indexes docs 2023-08-14 07:10:50 +00:00
Krisztián Szűcs
fea74ce17b
Documentation: add Ibis project to the integrations section 2023-08-14 08:49:05 +02:00
Alexey Milovidov
ca85e6ae55
Revert "Documentation: add Ibis project to the integrations section" 2023-08-13 23:23:29 +03:00
Filipp Ozinov
bd0e879288
Add note about skip indexes
Related to #53350
2023-08-13 22:48:35 +04:00
Alexey Milovidov
b0687e650a
Merge pull request #53209 from Avogar/format-one
Add input format One
2023-08-13 21:32:11 +03:00
Krisztián Szűcs
e082897ce7
Documentation: add Ibis project to the integrations section 2023-08-13 17:02:08 +02:00
Andrey Zvonov
3d902e65e4
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix 2023-08-12 23:12:47 +03:00
Rich Raposa
13a03c046f
Remove duplicate section from Dictionary page 2023-08-11 23:45:58 -06:00
Alexey Milovidov
67b45619eb
Merge pull request #53239 from evillique/tuple-concat
Add tupleConcat function
2023-08-12 03:35:25 +03:00
Alexey Milovidov
d87997d001
Merge pull request #52893 from knoguchi/CVE-2016-2183
CVE-2016-2183: disable 3DES
2023-08-12 03:34:49 +03:00
Alexey Milovidov
7c178d0764
Merge pull request #52767 from ClickHouse/client-allow-yaml
Allow `yaml` configs in clickhouse-client
2023-08-12 03:05:08 +03:00
Salvatore Mesoraca
08e443b766
Revert "Revert "Re-add SipHash keyed functions""
This reverts commit e68234a231.
2023-08-11 17:30:04 +02:00
robot-clickhouse-ci-1
9e7e581813
Merge pull request #53216 from vitaliyf/master
docs: Fixed invalid MySQL named collection examples
2023-08-11 17:14:51 +02:00
Andrey Zvonov
02c511a008
Merge branch 'master' into zvonand-globs-small-fix 2023-08-11 15:56:44 +02:00
zvonand
1983c7ce95 update docs 2023-08-11 16:53:17 +03:00
avogar
7e863a2726 Address comments 2023-08-11 13:17:49 +00:00
Kruglov Pavel
e67c6c2f0a Fix typo 2023-08-11 13:17:49 +00:00
avogar
3ad7e57059 Optimize reading small row groups by batching them together in Parquet 2023-08-11 13:17:45 +00:00
Kruglov Pavel
b6b0e9c6bc
Merge branch 'master' into variable-number-of-volumns-more-formats 2023-08-11 14:02:21 +02:00
Kruglov Pavel
00865a7dad
Merge branch 'master' into format-one 2023-08-11 13:54:58 +02:00
Bharat Nallan Chakravarthy
8cd9f3b912 add docs 2023-08-10 21:14:47 -07:00
Ilya Golshtein
978d8bf9a6 system_kafka_consumers: cleanup with exceptions 2023-08-10 22:35:05 +00:00
Ilya Golshtein
80829a6bf7 system_kafka_consumers: no offset_committed, new test with MV 2023-08-10 22:35:05 +00:00
Ilya Golshtein
46be5e5782 system_kafka_consumers: cleanup, test should be more stable 2023-08-10 22:35:05 +00:00
Ilya Golshtein
dd6727be3e system_kafka_consumers: style check fixes 2023-08-10 22:35:05 +00:00
Ilya Golshtein
3f205f4997 system_kafka_consumers: tiny doc changes 2023-08-10 22:35:05 +00:00
Ilya Golshtein
6258ab6cb4 system_kafka_consumers: doc link fix, USE_RDKAFKA 2023-08-10 22:35:05 +00:00
Ilya Golshtein
40fd53c3e3 system_kafka_consumers: style check 2023-08-10 22:35:05 +00:00
Ilya Golshtein
82e8b40bf5 system_kafka_consumers: doc 2023-08-10 22:35:05 +00:00
Nikolay Degterinsky
bcc0fbbf91 Add EXCEPT clause to SYSTEM STOP LISTEN query 2023-08-10 16:10:33 +00:00
pufit
8c9209745c
Merge pull request #53127 from ClickHouse/pufit/keeper-client-improvements
Revert Revert "Implementing new commands for keeper-client"
2023-08-10 09:51:36 -04:00
pufit
af51268da1
Merge pull request #51912 from ClickHouse/pufit/role-from-storage
Create, Drop, or Move access entities between different access storages.
2023-08-10 09:47:26 -04:00
zvonand
e4a1780bd7 update docs according to the PR + fix the same for HDFS 2023-08-10 15:29:27 +03:00
Kruglov Pavel
6600f87f86
Merge branch 'master' into http-valid-json-on-exception 2023-08-10 13:53:32 +02:00
Alexander Tokmakov
4b30900fed
Revert "Improve CHECK TABLE system query" 2023-08-10 14:44:16 +03: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
alesapin
57025eed65
Merge pull request #52745 from ClickHouse/vdimir/check_table_improvements
Improve CHECK TABLE system query
2023-08-10 11:48:00 +02:00
Alexey Milovidov
52c3704dc7
Merge pull request #52683 from rschu1ze/readBinary-specializations
Remove unneeded readBinary() specializations + update docs
2023-08-10 04:04:57 +03:00
Alexey Milovidov
0f0e7e0fa1
Merge branch 'master' into client-allow-yaml 2023-08-10 03:47:01 +03:00
pufit
1a3eac0d4d
Merge branch 'master' into pufit/role-from-storage 2023-08-09 17:50:07 -04:00
Nikolay Degterinsky
5403507950 Add tupleConcat function 2023-08-09 20:52:09 +00:00
Kruglov Pavel
33a39900ad
Merge branch 'master' into variable-number-of-volumns-more-formats 2023-08-09 19:51:17 +02:00
Vitaliy
444e6d365c
Merge branch 'master' into master 2023-08-09 09:40:43 -04:00
Vitaliy
f90e80e27d docs: Fixed invalid MySQL named collection examples
It's not valid to specify both on_duplicate_clause and replace_query, plus on_duplicate_clause
was supposed to be an SQL clause and not a boolean/integer.
2023-08-09 09:20:53 -04: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
avogar
98435657cb Clean up 2023-08-09 11:28:09 +00:00
avogar
01a7c7560f Add input format One 2023-08-09 11:25:32 +00:00
Alexey Milovidov
c067673e4d
Merge branch 'master' into client-allow-yaml 2023-08-09 05:10:22 +03:00
pufit
884ea7f592
Merge branch 'master' into pufit/role-from-storage 2023-08-08 20:20:37 -04:00
Alexey Milovidov
e5fbba9635
Merge pull request #53139 from ClickHouse/cloud-settings-note
Add note on settings profiles with ClickHouse Cloud
2023-08-08 23:27:21 +03:00
Serge Klochkov
9138557251
Update build.md 2023-08-08 15:36:10 +02:00
Serge Klochkov
a9a47a5aaa
Update build.md
Update Linux build docs
2023-08-08 14:51:58 +02:00
vdimir
1183dac293
fix doc links 2023-08-08 09:45:34 +00:00
vdimir
50715ca4fc
fix doc links 2023-08-08 09:45:33 +00:00
vdimir
aeee50466c
Upd doc for CHECK TABLE 2023-08-08 09:45:32 +00:00
李扬
d15ae5e120
Merge branch 'master' into starts_ends_with_utf8 2023-08-08 16:18:04 +08:00
Justin de Guzman
632e314c11
Add note on settings profiles with ClickHouse Cloud 2023-08-07 19:37:36 -07:00
pufit
2f46ae850e
Merge branch 'master' into pufit/role-from-storage 2023-08-07 17:57:41 -04:00
Sean Haynes
77dd869414
Add ability to log when max_partitions_per_insert_block is reached (#50948)
* Add ability to log when max_partitions_per_insert_block is reached

There's plenty of reasons to drop max_partitions_per_insert_block
down from it's default of 100, with the main one being even touching
remotely close to this number of partitions will create a lot of
merge activity that can de-stabilise a cluster.

This commit adds the ability to log when the above limit is reached
rather than throw an exception, so that you can gauge the impact on
users when dropping this value down.

* Update docs/ru/operations/settings/query-complexity.md

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>

* Update docs/ru/operations/settings/query-complexity.md

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>

* Update docs/ru/operations/settings/query-complexity.md

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>

---------

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>
2023-08-07 23:28:19 +02:00
Vitaly Baranov
6af6247f8a
Merge pull request #52970 from arenadata/ADQM-985
Add `storage_policy` parameter in the `SETTINGS` clause of `RESTORE` statements
2023-08-07 19:01:08 +02:00
pufit
30700996f0 Merge branch 'master' into pufit/keeper-client-improvements
# Conflicts:
#	docs/en/operations/utilities/clickhouse-keeper-client.md
#	programs/keeper-client/Commands.cpp
#	programs/keeper-client/Commands.h
#	programs/keeper-client/KeeperClient.cpp
#	tests/integration/test_keeper_client/test.py
2023-08-07 12:26:08 -04:00
pufit
8e6f7b4d0b Fix typo, fix tests, touch command. 2023-08-07 12:08:31 -04:00
pufit
dc347d3dcb
Merge pull request #53010 from ClickHouse/pufit/keeper-client-fix-defaults
Fix default port for Keeper Client
2023-08-07 10:48:52 -04:00
Dani Pozo
f500b0da14 Document limitation of BACKUP TO Disk('s3_backup') 2023-08-07 12:23:57 +02:00
Elena Torró
f423b440d1 Add optional parameters to Engine definition 2023-08-07 09:55:16 +02:00
SmitaRKulkarni
75f81bdc44
Merge pull request #50795 from ClickHouse/azure_table_function_cluster
Table function azureBlobStorageCluster
2023-08-07 09:16:52 +02:00
Antonio Andelic
182c92109b
Merge branch 'master' into add-reading-from-archives 2023-08-06 20:12:04 +02:00
Alexey Milovidov
7886e06217
Merge pull request #46051 from ucasfl/count-distinct-if
Continue of #42008, rewrite countDistinctIf with count_distinct_implementation
2023-08-06 19:31:44 +03:00
Antonio Andelic
cafa5ef2f3 Merge branch 'master' into add-reading-from-archives 2023-08-06 10:21:47 +00:00
Alexey Milovidov
70630a273a
Merge branch 'master' into readBinary-specializations 2023-08-05 03:16:29 +03:00