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
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
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
Antonio Andelic
07b2c5ce0f
Merge branch 'master' into custom-key-parallel-replicas
2023-01-26 12:42:04 +01:00
Dan Roscigno
b4ab361366
Merge branch 'master' into docs_optimize_skip_merged_partitions
2023-01-25 19:45:32 -05:00
sichenzhao
243ac52259
Added two metrics about memory usage in cgroup to asynchronous metrics ( #45301 )
2023-01-25 20:32:17 +01:00
Dan Roscigno
e520bd8052
Apply suggestions from code review
2023-01-24 19:10:30 -05:00
Igor Nikonov
29ef6b9574
Update INSERT delay doc properly
2023-01-25 00:26:32 +01:00
Dan Roscigno
dbb83dc9a4
Merge branch 'master' into docs-for-s3-settings
2023-01-24 17:55:31 -05:00
DanRoscigno
fe56967af7
fix note formatting
2023-01-24 17:44:10 -05:00
DanRoscigno
9775987ee9
add new settings for s3 and hdfs
2023-01-24 17:40:37 -05:00
DanRoscigno
f95bc55923
split Format settings out
2023-01-24 17:19:50 -05:00
rfraposa
6f7755ebcd
Added optimize using constraints settings
2023-01-24 15:05:34 -07:00
Igor Nikonov
e585a1228f
Update docs/en/operations/settings/merge-tree-settings.md
...
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-01-24 16:52:32 +01:00
Igor Nikonov
21b009fdec
Update merge-tree-settings.md
2023-01-24 15:45:21 +01:00
AVMusorin
5f8658b2d6
docs: added optimize_skip_merged_partitions setting
2023-01-24 14:56:39 +01:00
DanRoscigno
72b1a65984
WIP
2023-01-24 07:45:59 -05:00
Antonio Andelic
95853af459
Merge branch 'master' into custom-key-parallel-replicas
2023-01-24 10:49:40 +00:00
Antonio Andelic
37b62b3a58
Use Map for custom_key
2023-01-24 10:46:47 +00:00
DanRoscigno
dedb4e4de2
add docs for PR 33302
2023-01-23 16:14:39 -05:00
Kruglov Pavel
478a552a0a
Merge branch 'master' into tsv-csv-detect-header
2023-01-23 21:47:17 +01:00
Dan Roscigno
ee31da9e1e
Merge pull request #45366 from gingerwizard/cross-link-docs
...
link docs to blogs
2023-01-23 14:04:59 -05:00
Robert Schulze
0ab7ae6c17
Merge pull request #43797 from ClickHouse/query-result-cache
...
Query result cache [experimental]
2023-01-23 19:54:35 +01:00
Antonio Andelic
c15128491b
Update max_parallel_replicas docs
2023-01-23 17:24:48 +01:00
Robert Schulze
ed84021aa5
Formatting fixup
2023-01-22 16:45:26 +01:00
Robert Schulze
0ffffdd442
Docs: Fix weird formatting
2023-01-22 15:38:11 +00:00
Robert Schulze
340f406553
Merge branch 'master' into query-result-cache
2023-01-22 13:21:36 +01:00
Han Fei
18a397f8c9
address comments
2023-01-20 18:09:42 +01:00
Han Fei
449ace3373
Update docs/en/operations/settings/settings.md
...
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-20 18:07:19 +01:00
Han Fei
9d87bd10ee
Update docs/en/operations/settings/settings.md
...
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-20 18:07:08 +01:00
Han Fei
badfbcb3d8
Update docs/en/operations/settings/settings.md
...
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-20 18:06:58 +01:00
Han Fei
e9c4cf46cd
Update docs/en/operations/settings/merge-tree-settings.md
...
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-20 18:06:46 +01:00
Han Fei
9d254f7d87
Update docs/en/operations/settings/merge-tree-settings.md
...
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-20 18:06:32 +01:00
Kruglov Pavel
28ddcc2432
Merge branch 'master' into tsv-csv-detect-header
2023-01-20 15:08:38 +01:00
Han Fei
5fc4998f10
update docs for async insert deduplication
2023-01-20 14:42:11 +01:00
Robert Schulze
bfcb5e7915
Fix typos
2023-01-19 16:08:21 +00:00
Stig Bakken
420c179b55
Add <storage_policy> config parameter for system logs
2023-01-19 10:25:28 +01:00
Robert Schulze
4f90824347
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-17 22:49:53 +00:00
Robert Schulze
fd7f5dad1c
Docs improvements
2023-01-17 22:03:48 +00:00
Sergei Trifonov
ca0fb785f4
Merge pull request #45193 from ClickHouse/concurrency-control-docs
...
Add docs for concurrency control logic
2023-01-17 21:10:17 +01:00
Dale Mcdiarmid
9c4d3e0ffb
link docs to blogs
2023-01-17 15:38:10 +00:00
Kruglov Pavel
96bb99f864
Merge branch 'master' into tsv-csv-detect-header
2023-01-17 15:33:02 +01:00
Vladimir C
b80ee8df50
Merge pull request #45256 from DanRoscigno/add-grace-hash-docs
2023-01-16 18:43:19 +01:00
Kruglov Pavel
e9d6590926
Merge branch 'master' into tsv-csv-detect-header
2023-01-16 17:50:24 +01:00
Kruglov Pavel
bdb3517512
Merge pull request #45231 from Avogar/json-tuples
...
Insert default values in case of missing tuple elements in JSONEachRow
2023-01-16 17:49:50 +01:00
avogar
1c0941d72a
Add docs and examples
2023-01-16 16:46:41 +00:00
Robert Schulze
099e30ef2a
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-16 08:04:49 +00:00
Robert Schulze
27fe7ebd93
Cosmetics
2023-01-15 16:12:48 +00:00
Tanya Bragin
36ec76f53d
Update clickhouse-local.md
...
cc @DanRoscigno @gingerwizard Adding latest clickhouse-local blog to related content on this page.
2023-01-14 07:50:10 -08:00
DanRoscigno
d0a55f6dc9
doc grace_hash algorithm for join
2023-01-13 13:17:03 -05:00
Robert Schulze
15e11741cb
Cosmetics
2023-01-13 00:00:23 +00:00
Robert Schulze
475bb31f33
Make server configuratio hierarchical
2023-01-12 21:24:40 +00:00
Yakov Olkhovskiy
842a34666c
Merge pull request #44594 from arenadata/ADQM-634
...
Add keytab parameter in kerberos section of config.xml
2023-01-12 15:07:45 -05:00
avogar
87b934c472
Insert default values in case of missing tuple elements in JSONEachRow
2023-01-12 16:36:44 +00:00
serxa
2dae6a1ffe
add docs for concurrency control logic
2023-01-11 19:19:51 +00:00
Sergei Trifonov
ec9f10e934
Merge pull request #45174 from ClickHouse/make-queries-copyable-from-docs
...
make more SQL queries copyable from docs in one click
2023-01-11 16:59:52 +01:00
DanRoscigno
7168c217b0
switch text to response for query blocks
2023-01-11 10:08:11 -05:00
Dan Roscigno
bb3c4641a7
Merge pull request #45167 from ClickHouse/add-sparse-serialization-to-docs
...
Add explanation of ratio_of_defaults_for_sparse_serialization setting to docs
2023-01-11 08:57:10 -05:00
serxa
8d099a4417
make more SQL queries copyable from docs in one click
2023-01-11 13:43:51 +00:00
DanRoscigno
4767147745
format query response
2023-01-11 08:23:44 -05:00
serxa
a79f6d19fa
add docs for system.moves
table
2023-01-11 13:04:05 +00:00
Robert Schulze
12a29fec35
Hide secrets from system.query_result_cache
2023-01-11 12:50:45 +00:00
rfraposa
1ddc9c3bb6
Update merge-tree-settings.md
2023-01-11 05:44:51 -07:00
Dan Roscigno
37da8e206b
Merge pull request #45119 from ClickHouse/add-default-table-engine-setting
...
Added description of default_table_engine setting
2023-01-10 09:59:09 -05:00
Dan Roscigno
ee88814cac
formal to form
2023-01-10 09:42:04 -05:00
rfraposa
d61eae8554
Update settings.md
...
Added description of default_table_engine
2023-01-10 07:40:22 -07:00
Rich Raposa
b76d0d60db
Merge pull request #45089 from ClickHouse/add-cnf-docs
...
Add convert_query_to_cnf to docs
2023-01-10 07:11:57 -07:00
Robert Schulze
8dc3cbc822
Merge pull request #45109 from ClickHouse/consistent-schema-interference-cache-heading
...
Docs: Make heading consistent with other headings in System Table docs
2023-01-10 14:02:49 +01:00
Robert Schulze
96a722793c
Docs: Make heading consistent with other headings in System Table docs
2023-01-10 12:49:49 +00:00
Robert Schulze
923fa2c15a
Fix review comments, pt. II
2023-01-10 10:21:08 +00:00
Robert Schulze
0c3b034887
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-10 09:02:41 +00:00
rfraposa
62b9e2f063
Update settings.md
...
Add convert_query_to_cnf setting
2023-01-09 21:30:24 -07:00
Rich Raposa
528acecc5c
Merge pull request #45076 from ClickHouse/new-mergetree-settings
...
Add docs for 2 new MergeTree settings
2023-01-09 16:48:26 -07:00
Dan Roscigno
99b1609fd3
Update docs/en/operations/settings/index.md
2023-01-09 18:17:29 -05:00
rfraposa
db7342769b
Update merge-tree-settings.md
...
Added two new settings
2023-01-09 15:56:19 -07:00
rfraposa
eb96884ebf
Add new DEFAULT value of settings
2023-01-09 15:02:35 -07:00
Robert Schulze
ad4884b394
Fix review comments, pt. I
2023-01-09 21:42:51 +00:00
Ivan Blinkov
61c2f23713
Remove leftover empty lines at the end of markdown files
2023-01-09 15:15:18 +01:00
Ivan Blinkov
b7e082d033
Remove "Original article links"
2023-01-09 15:13:36 +01:00
Roman Vasin
2995c6d866
Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-634
2023-01-09 08:26:45 +00:00
DanRoscigno
e0b258b4a9
move persistence setting docs
2023-01-06 17:01:28 -05:00
Robert Schulze
45dbcf88e5
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-06 20:42:48 +00:00
Ilya Yatsishin
71cb4ecde1
Add docs for #43308
2023-01-06 15:30:57 +01:00
DanRoscigno
273ad90d1d
add additional table filters setting
2023-01-05 10:47:18 -05:00
Robert Schulze
4fcead15c3
Fix handling of exceptions during query runtime
2023-01-04 22:33:04 +00:00
DanRoscigno
bece361a79
add command summary
2023-01-04 07:32:52 -05:00
Dmitry Novik
c646048af9
Merge pull request #44461 from ClickHouse/parts-removal-limit
...
Add part removal limit for one CleanupThread iteration
2023-01-02 20:04:19 +01:00
Kruglov Pavel
966f57ef68
Merge pull request #42777 from Avogar/improve-streaming-engines
...
Refactor and Improve streaming engines Kafka/RabbitMQ/NATS and data formats
2023-01-02 15:59:06 +01:00
Robert Schulze
9ab910102f
Add note + test about exception handling
2023-01-02 10:24:01 +00:00
Robert Schulze
8381d8b467
query_result_cache_keep_seconds_alive --> query_result_cache_ttl
2023-01-02 09:38:40 +00:00
Robert Schulze
ba55fd3ad2
Cosmetics
2023-01-02 09:30:44 +00:00
Robert Schulze
e9e04166d9
Merge remote-tracking branch 'origin/master' into query-result-cache
2023-01-02 08:20:27 +00:00
Kruglov Pavel
5bdbee4e56
Edit URL->HDFS
2022-12-30 15:52:38 +01:00
DanRoscigno
2cc0ca3a29
full paths, add users_file_dir
2022-12-29 21:53:42 -05:00
Kruglov Pavel
894726bd8f
Merge branch 'master' into improve-streaming-engines
2022-12-29 22:59:45 +01:00
avogar
ced668fafb
Better
2022-12-29 21:21:37 +00:00
avogar
46b7ec4209
Add detailed documentation about schema inference
2022-12-29 13:42:56 +00:00
Dmitry Novik
6efd64a61c
Merge branch 'master' into parts-removal-limit
2022-12-28 17:34:48 +01:00
Roman Vasin
483e26cf2f
Merge branch 'master' into ADQM-634
2022-12-26 15:34:38 +03:00
Roman Vasin
5a7257069b
Updated docs
2022-12-26 12:22:29 +00:00
Robert Schulze
0dbed9e738
Mac OS X --> macOS
2022-12-22 09:37:17 +00:00
Dmitry Novik
c594ec3632
Add documentation
2022-12-21 14:56:32 +00:00
Sergei Trifonov
048525273f
Merge branch 'master' into Avogar-patch-1
2022-12-21 11:54:18 +01:00
Kruglov Pavel
5e01a3d74e
Merge branch 'master' into improve-streaming-engines
2022-12-21 10:51:50 +01:00
Kruglov Pavel
36a6ee4fdb
Add documentation for setting allow_settings_after_format_in_insert
2022-12-20 22:04:37 +01:00
DanRoscigno
c6513624c4
add support case note for compat setting
2022-12-20 15:03:42 -05:00
Robert Schulze
b93c56323c
Merge remote-tracking branch 'origin/master' into query-result-cache
2022-12-19 09:18:36 +00:00
Robert Schulze
5e446b0d21
AST --> Abstract Syntax Tree
2022-12-19 09:14:57 +00:00
Robert Schulze
d81e507952
Fix doc links
2022-12-18 12:23:38 +00:00
Robert Schulze
bc6bcdfd7b
Allow sharing of cache entries
2022-12-17 18:04:18 +00:00
Robert Schulze
aa50b9cf48
Invert config parameter name for more clarity
2022-12-17 15:10:04 +00:00
Kruglov Pavel
37df9b9990
Merge branch 'master' into refactor-schema-inference
2022-12-16 19:13:15 +01:00
Kruglov Pavel
3fad5c7f1f
Merge branch 'master' into refactor-schema-inference
2022-12-16 14:24:51 +01:00
Robert Schulze
d1615ec283
Display metrics for query result cache
2022-12-16 10:49:15 +00:00
Robert Schulze
3790952631
Move server-level settings into the appropriate document
2022-12-15 22:51:47 +00:00
Robert Schulze
4db33f16e3
Make DoS attack on cache less likely
2022-12-15 21:42:51 +00:00
Robert Schulze
c58bec0789
Fix grammar in docs
2022-12-15 20:21:02 +00:00
Robert Schulze
bcc54ab9b4
Add cfg for min query duration for caching
2022-12-15 20:10:37 +00:00
Robert Schulze
d92cdc5afd
Fix typo
2022-12-15 19:08:30 +00:00
Robert Schulze
08a36ac402
Improve documentation
2022-12-15 18:07:45 +00:00
Kruglov Pavel
c5b2e4cc23
Merge branch 'master' into improve-streaming-engines
2022-12-15 18:44:35 +01:00
Robert Schulze
f3f4f0c7a6
Slightly clearer docs
2022-12-15 17:33:30 +00:00
Kruglov Pavel
00d80e44cc
Fix typos
2022-12-15 16:18:40 +01:00
Kruglov Pavel
7657f16e2a
Add missing documentation for some schema inference settings
2022-12-15 16:17:18 +01:00
Kruglov Pavel
0816626373
Update docs
2022-12-15 16:10:06 +01:00
Sergei Trifonov
f0de30de92
fix typos
2022-12-15 14:11:16 +01:00
Robert Schulze
3a0bd18b62
Typos
2022-12-15 13:06:24 +00:00
Robert Schulze
537c64aad2
Merge remote-tracking branch 'origin/master' into query-result-cache
...
Conflicts:
- tests/queries/0_stateless/02117_show_create_table_system.reference
2022-12-15 12:17:58 +00:00
Robert Schulze
973d4f75de
More intuitive active/passive enablement of query result cache
2022-12-15 12:16:36 +00:00
Robert Schulze
f1e367179e
Make maximum record count per item configurable
2022-12-15 11:16:44 +00:00
Robert Schulze
e52dfaf45c
Make number of cached items configurable
2022-12-15 10:08:28 +00:00
Alexander Tokmakov
f9d63de22f
Merge pull request #43468 from lingtaolf/feature/add_create_database_query
...
Add engine_full column to system.databases
2022-12-13 23:00:42 +03:00
avogar
f3e37c2c9b
Merge branch 'refactor-schema-inference' of github.com:Avogar/ClickHouse into refactor-schema-inference
2022-12-12 14:47:04 +00:00
Kruglov Pavel
a03549df28
Apply suggestions from code review
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-12-12 15:46:03 +01:00
Robert Schulze
fc972d760f
Make it configurable if queries with non-deterministic functions are cached
2022-12-12 14:03:21 +00:00
Robert Schulze
b78652e138
Query result cache
2022-12-12 10:37:10 +00:00
Alexander Tokmakov
714666e944
Merge branch 'master' into feature/add_create_database_query
2022-12-09 17:47:15 +01:00
avogar
cd4fa00d2c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into refactor-schema-inference
2022-12-09 14:45:10 +00:00
Kruglov Pavel
59201c71cb
Merge pull request #44052 from Avogar/object-as-string
...
Allow to parse JSON objects into Strings in JSON input formats
2022-12-09 15:12:25 +01:00
Dan Roscigno
1027ce8d77
Add issue list when running mismatched versions
2022-12-09 08:43:26 -05:00
Sergei Trifonov
7c37e48092
Merge pull request #43903 from ClickHouse/merge_tree_settings_constraints
...
Constraints on merge tree settings
2022-12-09 14:16:14 +01:00
DanRoscigno
5e909c1684
add notes from tavplubix
2022-12-08 19:05:05 -05:00
Sergei Trifonov
bae1519970
Merge branch 'master' into merge_tree_settings_constraints
2022-12-08 22:25:16 +01:00
DanRoscigno
6051301bfe
add overview of rolling upgrade
2022-12-08 15:40:47 -05:00
Kruglov Pavel
0d17774440
Better example in docs
2022-12-08 20:57:28 +01:00
avogar
d0f9bb2ec2
Allow to parse JSON objects into Strings
2022-12-08 18:58:18 +00:00
avogar
7375a7d429
Refactor and improve schema inference for text formats
2022-12-07 21:19:27 +00:00