Commit Graph

9060 Commits

Author SHA1 Message Date
Dan Roscigno
6301904a1c
Merge pull request #45862 from eiriksfa/patch-1
Update s2.md, typo in reference docs
2023-02-01 11:55:49 -05:00
rfraposa
e52edd4e85 Update external-dicts-dict-layout.md 2023-02-01 09:06:21 -07:00
Vladimir C
b389c1effb
Merge pull request #45589 from ClickHouse/optimize-constraints 2023-02-01 12:57:02 +01:00
Robert Schulze
216636f984
Make query cache global settings re-configurable 2023-02-01 10:35:19 +00:00
Robert Schulze
b512316586
Merge pull request #45682 from ClickHouse/rename-qrc-to-qc
Rename "Query Result Cache" to "Query Cache"
2023-02-01 11:23:29 +01:00
Alexander Gololobov
e705f11ad1
Merge pull request #45786 from ClickHouse/delete_on_cluster
Support DELETE ON CLUSTER
2023-02-01 10:52:01 +01:00
robot-ch-test-poll2
202fa9fa37
Merge pull request #45859 from FArthur-cmd/show_engines_support
Add support for SHOW ENGINES query
2023-02-01 07:32:56 +01:00
FArthur-cmd
63e8eef9de add documentation and test 2023-02-01 02:50:53 +03:00
Dan Roscigno
2f64ba187f
Update docs/en/sql-reference/statements/alter/ttl.md 2023-01-31 14:55:13 -05:00
rfraposa
8d0908cb0f Update ttl.md 2023-01-31 11:43:09 -07:00
Eirik
ab1f1144c9
typo in s2.md reference docs
Small typo in s2CapUnion
2023-01-31 17:15:29 +01:00
Dan Roscigno
9ada816d5a
Update table.md 2023-01-31 10:59:08 -05:00
Robert Schulze
9c7acb8780
Fixe more spelling 2023-01-31 13:12:27 +00:00
Robert Schulze
05c5e7c73a
Update docs/en/operations/query-cache.md
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-01-31 12:44:49 +01:00
Robert Schulze
b268b94728
Update docs/en/operations/query-cache.md
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-01-31 12:44:38 +01:00
Robert Schulze
9a8af6a42e
Update docs/en/operations/settings/settings.md
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-01-31 12:44:20 +01:00
Robert Schulze
40491b4c85
Update docs/en/operations/server-configuration-parameters/settings.md
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-01-31 12:43:58 +01:00
Robert Schulze
44a5e9cb17
Minor doc follow-up to #45382 2023-01-31 10:31:01 +00:00
Robert Schulze
fdd6c77480
Merge pull request #45382 from bigo-sg/improve_position
Add fastpath for function position when needle is empty
2023-01-31 11:22:31 +01:00
Robert Schulze
325c6bdf3d
Renaming: "Query Result Cache" --> "Query Cache"
Reasons:

- The cache will at some point store intermediate results as opposed to
  only query results. We should change the terminology now without
  having to worry about backward compat.

- Equivalent caches in MySQL (1) and Starrocks (2) are called "query
  cache".

- The new name is ca. 13.8% more catchy.

(1) https://dev.mysql.com/doc/refman/5.6/en/query-cache.html
(2) https://docs.starrocks.io/en-us/2.5/using_starrocks/query_cache
2023-01-31 09:54:34 +00:00
Robert Schulze
659a64a1d9
Merge pull request #45679 from ClickHouse/untangle-query-result-cache-settings
Untangle configuration of query result cache
2023-01-31 10:44:14 +01:00
taiyang-li
4cf11d9a84 change as request 2023-01-31 10:48:02 +08:00
Ilya Yatsishin
8d6df7ed58
Merge pull request #45785 from Algunenano/generate_random_types 2023-01-30 23:03:12 +01:00
Dan Roscigno
7752e7f8df
Update backup.md
fix link
2023-01-30 14:51:51 -05:00
Igor Nikonov
741c3ba23c Fix non-intentional change 2023-01-30 18:43:01 +01:00
Igor Nikonov
01b225f57e
Update docs/en/operations/settings/settings.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-30 18:30:59 +01:00
Igor Nikonov
211449d916
Update docs/en/operations/settings/settings.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-30 18:30:29 +01:00
Igor Nikonov
b095dab141
Update docs/en/operations/settings/settings.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-30 18:29:32 +01:00
Igor Nikonov
0c4bc489da
Update docs/en/operations/settings/settings.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-30 18:28:53 +01:00
Igor Nikonov
30c949ba27
Update docs/en/operations/settings/settings.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-30 18:28:34 +01:00
Alexander Gololobov
65d39a616d Added ON CLUSTER 2023-01-30 17:02:29 +01:00
Igor Nikonov
c30a55b7ee Some polishing 2023-01-30 16:53:37 +01:00
Igor Nikonov
d8ba469b97
Fixes 2023-01-30 16:24:02 +01:00
Igor Nikonov
65caa77a0e
Update settings.md 2023-01-30 16:13:08 +01:00
Arthur Passos
7b1ceaa2c5
Merge branch 'master' into fix_cares_crash 2023-01-30 12:05:56 -03:00
Raúl Marín
997fad4e8d GenerateRandom: Add support for maps 2023-01-30 15:23:22 +01:00
Robert Schulze
27b978381b
Use more speaking setting names 2023-01-30 14:20:43 +00:00
Dan Roscigno
a33465cf2f
Merge branch 'master' into patch-1 2023-01-30 07:33:20 -05:00
Dan Roscigno
f91f2a3e24
Merge pull request #45771 from ClickHouse/troubleshoot-rpm
Add troubleshooting for wrong RPM repos signature
2023-01-30 07:28:46 -05:00
Ilya Yatsishin
ebce26b50e
Merge pull request #45775 from DerekChia/patch-1 2023-01-30 13:20:56 +01:00
Robert Schulze
9124e56e2a
Docs: Remove non existing function 2023-01-30 11:47:58 +00:00
Dan Roscigno
86acb61849
Merge branch 'master' into patch-1 2023-01-30 06:18:23 -05:00
Derek Chia
692b7ab211
Update dictionary.md
Remove "statement:" from a query
2023-01-30 17:56:17 +08:00
Mikhail f. Shiryaev
b1bc3b6b43
Add troubleshooting for wrong RPM repos signature 2023-01-30 10:27:50 +01:00
taiyang-li
d25740da83 change as request 2023-01-30 16:13:12 +08:00
Roman Heinrich
bcc933098b
Fix broken examples for inverted indexes 2023-01-30 00:12:32 +01:00
Robert Schulze
15ae2d1de5
Merge branch 'master' into aiven-sal/siphash_pr 2023-01-29 21:06:52 +01:00
Robert Schulze
6195456d5b
Fix formatting 2023-01-29 19:58:59 +00:00
Robert Schulze
0a8dee7000
Docs: Fix link 2023-01-29 11:26:49 +00:00
Alexey Milovidov
5f4726eb2a
Merge pull request #45717 from Performica/topKWeighted-better-example
improve explanatory of topKWeighted example
2023-01-29 06:24:32 +03:00
Alexey Milovidov
0f7f490302
Merge pull request #45716 from Performica/maxMap-intuitive-example
More intuitive maxMap example
2023-01-29 06:23:54 +03:00
freedomDR
876a92d4d1 add doc about system sync file cache. 2023-01-28 04:27:10 +00:00
robot-ch-test-poll
cb803a887a
Merge pull request #45660 from abidino/patch-2
Update sum.md
2023-01-28 01:52:06 +01:00
Alexey Milovidov
bc2f454522
Merge branch 'master' into block-non-float-gorilla-v2 2023-01-28 03:30:12 +03:00
Alexey Milovidov
0ffc8f048b
Merge pull request #45464 from lesandie/patch-1
Update skipping-index.md
2023-01-28 03:27:44 +03:00
Alexey Milovidov
a62ca0f016
Merge pull request #45688 from jus1096/master
Add info about connect to remote Clickhouse
2023-01-28 02:21:28 +03:00
ivan-klass
b83e60b1d7
improve explanatory of topKWeighted example 2023-01-28 00:20:15 +01:00
ivan-klass
8a6c4bec13
More intuitive maxMap example
Different types used to easier distinguish maxMap keys vs values
2023-01-27 23:41:55 +01:00
Kruglov Pavel
96700abbe1
Merge pull request #45678 from azat/formats/json-parse-tupels
Add ability to ignore unknown keys in JSON object for named tuples
2023-01-27 21:11:05 +01:00
Kseniia Sumarokova
7d178e5ee6
Merge pull request #45680 from DanRoscigno/docs-mergetree-s3-cache
doc updates related to s3 cache change
2023-01-27 17:54:31 +01:00
DanRoscigno
a88c222f44 add missing heading 2023-01-27 08:56:25 -05:00
DanRoscigno
80b3b882c3 review from ksenii 2023-01-27 08:48:29 -05:00
Robert Schulze
4abd395153
Docs: Fix typo 2023-01-27 13:39:50 +00:00
Robert Schulze
5edf321927
Some docs fixes 2023-01-27 13:00:54 +01:00
Salvatore Mesoraca
464ecf50ef
doc: functions: hash: add sipHash{64,128}Keyed 2023-01-27 13:00:54 +01:00
Salvatore Mesoraca
dfd6dfc155
doc: functions: siphash: fix broken links 2023-01-27 13:00:53 +01:00
Salvatore Mesoraca
15b1f3f6a1
doc: functions: siphash: use correct value in example 2023-01-27 13:00:53 +01:00
Robert Schulze
e30c38cab3
Fix up some leftovers 2023-01-27 10:43:43 +00:00
Azat Khuzhin
1a8437f2c9 Add ability to ignore unknown keys in JSON object for named tuples
This can be useful in case your input JSON is complex, while you need
only few fields in it.

This behaviour is controlled by the
input_format_json_ignore_unknown_keys_in_named_tuple setting name, that
is turned OFF by default.

This will, almost, allow to parse gharchive dataset without jq. "almost"
because of two things:
- Tuple cannot be Nullable, so such keys with Tuple type in ClickHouse
  cannot be `null` in JSON
- You cannot use dot.dot notation to extract columns for file() engine,
  only tupleElement()

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-27 10:01:08 +01:00
Jus
9ce4bf1baf
Update named-collections.md
small fix name host on the remote host
2023-01-27 12:42:53 +04:00
Alexey Milovidov
5b257ab806
Merge pull request #45233 from ClickHouse/improve_week_day
Revert "Revert "Improve week day""
2023-01-27 02:44:17 +03:00
DanRoscigno
15b4c712df updates related to s3 cache change 2023-01-26 16:32:39 -05:00
Robert Schulze
7d97fab2dc
Untangle query result cache settings
This PR modularizes the configuration options of the query result cache
(QRC).

1. Add a feature toggle "allow_experimental_query_result_cache = false"
   which controls whether the experimental QRC can be used at all. This
   configuration option will be removed once the QRC becomes
   non-experimental.

2. Modularize the existing two configuration settings
   "enable_experimental_query_result_cache" and
   "enable_experimental_query_result_cache_passive_usage" into three
   orthogonal settings:

   - "use_query_result_cache = false" controls whether a query (or all
     queries of the session) utilize the query result cache

   - settings "use_query_result_cache_passive_usage = true" and
     "use_query_result_cache_active_usage = true" control the way a
     query (or all queries of the session) utilize the query result
     cache: "passive" use is reading, "active" use is writing.
2023-01-26 21:17:48 +00:00
Dan Roscigno
76d6e2edf9
Merge pull request #45569 from AVMusorin/docs_optimize_skip_merged_partitions
docs: added optimize_skip_merged_partitions setting
2023-01-26 16:04:27 -05:00
Dan Roscigno
f8bd83a94f
Merge pull request #45595 from den-crane/patch-59
Doc. Update range_hashed description
2023-01-26 16:01:52 -05:00
Dan Roscigno
d1a81b2776
Update docs/en/engines/table-engines/mergetree-family/invertedindexes.md 2023-01-26 14:07:13 -05:00
Dan Roscigno
00b5354a93
Update invertedindexes.md 2023-01-26 14:05:26 -05:00
Dan Roscigno
f71b68bc46
Merge pull request #45651 from mrcrypster/patch-5
Added markdown format docs
2023-01-26 11:42:22 -05:00
Diego Nieto
836e14e52b
Update skipping-index.md
Deleted the confusing comment and added implemented as a mutation, like MATERIALIZE INDEX.
2023-01-26 17:23:39 +01:00
Dan Roscigno
777ddf80ab
Update docs/en/interfaces/formats.md 2023-01-26 11:18:18 -05:00
Diego Nieto
ec378fc4d6
Merge branch 'ClickHouse:master' into patch-1 2023-01-26 17:17:35 +01:00
Dan Roscigno
8549af4853
Update docs/en/engines/table-engines/mergetree-family/invertedindexes.md 2023-01-26 10:51:08 -05:00
DanRoscigno
710384e69a remove sidebar position 2023-01-26 10:13:06 -05:00
DanRoscigno
88076b6db0 add keywords 2023-01-26 10:06:06 -05:00
abidino
cba266c965
Update sum.md 2023-01-26 17:33:30 +03:00
DanRoscigno
c130050572 capitalize sidebar 2023-01-26 09:05:56 -05:00
Dan Roscigno
03c80d2794
Merge branch 'master' into docs-inverted-index-edits 2023-01-26 09:03:50 -05:00
DanRoscigno
310797d9f0 edits, add frontmatter 2023-01-26 08:58:10 -05:00
Dan Roscigno
efe94b727c
Merge pull request #45574 from FArthur-cmd/laion_doc
Add documentation for laion dataset
2023-01-26 08:43:28 -05:00
FArthur-cmd
71f7274f1f small fixes 2023-01-26 15:24:41 +03:00
Igor Nikonov
ed01f76c6a
Merge pull request #45592 from ClickHouse/update-insert-delay-doc-2
Update INSERT delay doc with example
2023-01-26 12:55:35 +01:00
Denys Golotiuk
0eadb7112d
Added markdown format docs 2023-01-26 13:33:14 +02:00
Arthur Passos
433eda70fd add reverseDNSQuery docs 2023-01-26 07:57:43 -03:00
Dan Roscigno
b4ab361366
Merge branch 'master' into docs_optimize_skip_merged_partitions 2023-01-25 19:45:32 -05:00
Dan Roscigno
55c9b03c47
Update docs/en/sql-reference/statements/optimize.md 2023-01-25 19:45:25 -05:00
sichenzhao
243ac52259
Added two metrics about memory usage in cgroup to asynchronous metrics (#45301) 2023-01-25 20:32:17 +01:00
rfraposa
a1de808d11 Update mongodb.md 2023-01-25 11:44:13 -07:00
rfraposa
8d44f2aec1 Create mongodb.md 2023-01-25 11:31:07 -07:00
DanRoscigno
fe1d99a2d3 add PARTITION BY to file and url docs 2023-01-25 09:18:55 -05:00
DanRoscigno
917e3d4244 add PARTITION BY to s3 and hdfs docs 2023-01-25 09:09:28 -05:00