Commit Graph

11461 Commits

Author SHA1 Message Date
Robert Schulze
baf1016e4b
More 2023-09-18 18:39:21 +00:00
serxa
04d0b881ea more docs 2023-09-18 18:38:05 +00:00
Robert Schulze
4ed5b903b4
Docs: remove anchor prefix 2023-09-18 18:35:59 +00:00
Jianfei Hu
e8a292cbd4
Apply suggestions from code review
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-09-18 11:08:41 -07: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
d31a43a379
Remove Woboq 2023-09-18 17:44:04 +00:00
Robert Schulze
3a3a00f95e
Bump minimal required compiler to Clang 16 2023-09-18 17:44:04 +00: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
6de45e355f
Fix spelling/style 2023-09-18 15:28:22 +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
kssenii
10518a9c83 Merge remote-tracking branch 'upstream/master' into kssenii-patch-6 2023-09-18 13:00:26 +02:00
robot-ch-test-poll
23d67fc2a4
Merge pull request #54667 from RoryCrispin/patch-2
Small typo
2023-09-18 12:28:58 +02: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
robot-clickhouse-ci-1
a878d104d7
Merge pull request #52839 from zvonand/zvonand-globs-small-fix
Fix directory permissions for multi-directory globs. Follow-up #50559
2023-09-16 20:52:30 +02:00
robot-clickhouse-ci-2
f3f2f95cb0
Merge pull request #54708 from ClickHouse/keeper-client-safe-delete
Keeper client safe delete
2023-09-16 12:30:05 +02:00
Alexey Milovidov
542237ea7e
Merge pull request #54724 from ClickHouse/alexey-milovidov-patch-7
Update grouparray.md
2023-09-16 13:27:56 +03:00
Alexey Milovidov
a738e73e31
Update grouparraylast.md 2023-09-16 13:25:03 +03:00
Alexey Milovidov
30ad0ec9ad
Update grouparray.md 2023-09-16 13:24:21 +03:00
János Benjamin Antal
afc753bb2d Fix typos 2023-09-16 00:11:59 +00:00
János Benjamin Antal
16e2f7f0b9 Add optional version argument to rm 2023-09-16 00:03:46 +00:00
Jianfei Hu
745006a433 add missing documentation for system sync database replica.
Signed-off-by: Jianfei Hu <hujianfei258@gmail.com>
2023-09-15 23:37:40 +00:00
Kruglov Pavel
2c407ab3c0
Merge branch 'master' into json-object-as-tuple-inference 2023-09-15 16:29:48 +02:00
Andrey Zvonov
9e89055990
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix 2023-09-15 17:06:22 +03: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
Kruglov Pavel
dbd24b240c
Merge branch 'master' into http-valid-json-on-exception 2023-09-15 14:55:31 +02:00
Robert Schulze
aff9dfa630
Minor docs fixes 2023-09-15 11:26:24 +00:00
Andrey Zvonov
ffbed02f14
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix 2023-09-15 14:18:07 +03:00
Rory Crispin
0a0e278c1a
Small typo 2023-09-15 10:45:10 +01:00
Robert Schulze
945179be46
Annoy: Fix LOGICAL_ERROR with default values #52258 2023-09-14 19:23:32 +00:00
Robert Schulze
c422a8f0dc
Cosmetics 2023-09-14 18:05:20 +00:00
Robert Schulze
f0eadd4b22
Merge pull request #54103 from ClickHouse/ustweaks
Small usearch index improvements: metrics and configurable internal data type
2023-09-14 19:58:53 +02:00
Robert Schulze
e018f1d913
Fix spelling 2023-09-14 12:42:22 +00:00
Ilya Yatsishin
67e6725284
Merge pull request #54622 from ClickHouse/vdimir/cluster_discovery_doc
Add cluster discovery documentation
2023-09-14 14:00:07 +02:00
Michael Kolupaev
8997464867
Small usearch index improvements: metrics and f16 2023-09-14 11:24:47 +00:00
vdimir
10bcc028df
Add cluster discovery documentation 2023-09-14 11:16:09 +00:00
Andrey Zvonov
7dd5dbb2ac
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix 2023-09-14 13:49:59 +03:00
serxa
09d4bf6930 add IO scheduling node for bandwidth throttling 2023-09-14 08:51:47 +00:00
Andrey Zvonov
ff16ddbbb3
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix 2023-09-14 11:31:49 +03:00
slvrtrn
c0961d9378 Merge remote-tracking branch 'origin' into simplified-prepared-statements-for-mysql 2023-09-13 19:33:11 +02: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
Nikolay Degterinsky
0998b0bbc7 Fixes 2023-09-13 03:14:02 +00:00
Nikolay Degterinsky
268c45d900 Merge remote-tracking branch 'upstream/master' into users-valid-until 2023-09-12 23:44:22 +00:00
Nikolay Degterinsky
e648646598 Fixes 2023-09-12 23:11:58 +00:00
Robert Schulze
de201e6c42
Merge pull request #54552 from rschu1ze/informat_schema_docs
Docs: Update information_schema with case-insensitity
2023-09-12 21:20:47 +02:00
Robert Schulze
8eb12c33a8
Update information_schema.md 2023-09-12 20:33:13 +02:00
Robert Schulze
e587eae303
Docs: Update information_schema with case-insensitity 2023-09-12 18:09:54 +00:00
Nikolay Degterinsky
cf662712ea Add new subDate function, apply review suggestions 2023-09-12 16:47:43 +00:00
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