Commit Graph

111491 Commits

Author SHA1 Message Date
Alexey Milovidov
c6056d993d
Update CHANGELOG.md 2023-03-30 18:00:52 +03:00
filimonov
fbb22348ea
Refactor reading the pool setting & from server config. (#48055)
After #36425 there was a lot of confusions/problems with configuring pools - when the message was confusing, and settings need to be ajusted in several places.
See some examples in #44251, #43351, #47900, #46515.

The commit includes the following changes:
1) Introduced a unified mechanism for reading pool sizes from the configuration file(s). Previously, pool sizes were read from the Context.cpp with fallbacks to profiles, whereas main_config_reloader in Server.cpp read them directly without fallbacks.
2) Corrected the data type for background_merges_mutations_concurrency_ratio. It should be float instead of int.
3) Refactored the default values for settings. Previously, they were defined in multiple places throughout the codebase, but they are now defined in one place (or two, to be exact: Settings.h and ServerSettings.h).
4) Improved documentation, including the correct message in system.settings.

Additionally make the code more conform with #46550.
2023-03-30 16:44:11 +02:00
Rich Raposa
828cee6b81
Merge pull request #48186 from den-crane/patch-61
Doc. Note about cast and LowCardinality
2023-03-30 08:41:24 -06:00
Alexander Tokmakov
131395b00f
Merge pull request #48171 from aalexfvk/add_option_disable_on_cluster_queries
Add allow_distributed_ddl_queries option to the cluster config
2023-03-30 17:29:02 +03:00
Denny Crane
e25872a333
Update type-conversion-functions.md 2023-03-30 11:15:11 -03:00
Alexander Tokmakov
ad4e3e371a
Merge pull request #48224 from ClickHouse/vdimir/fix-style
Fix Too big of a difference between test numbers
2023-03-30 17:00:37 +03:00
vdimir
07f11b6732
Fix Too big of a difference between test numbers 2023-03-30 13:37:49 +00:00
Alexander Tokmakov
ceef48a162
Merge pull request #48187 from Avogar/fix-sigbus
Use uniq file names in 02149_* tests to avoid SIGBUS in stress tests
2023-03-30 16:03:51 +03:00
Denny Crane
3ac34fc21c
Merge branch 'master' into patch-61 2023-03-30 09:32:59 -03:00
Denny Crane
a44d2bf724
Update type-conversion-functions.md 2023-03-30 09:32:32 -03:00
Alexey Milovidov
0e113ad829 Update CHANGELOG 2023-03-30 14:31:56 +02:00
Denny Crane
372948fb4c
Update type-conversion-functions.md 2023-03-30 09:30:45 -03:00
Robert Schulze
d93d075fc1
Merge pull request #48204 from ClickHouse/rs/remove-unarybinary-function-support
Remove support for std::unary/binary_function (removed in C++17)
2023-03-30 14:10:48 +02:00
Alexander Tokmakov
681d5b25bf
Merge pull request #48208 from ClickHouse/remove-unused-setting
Remove unused setting
2023-03-30 15:02:44 +03:00
Nikolai Kochetov
b3d77c0c30
Merge pull request #48177 from ClickHouse/deprecate-explain-query-tree-with-disabled-analyzer
Deprecate EXPLAIN QUERY TREE with disabled analyzer.
2023-03-30 13:56:40 +02:00
Alexey Milovidov
cb27416d8e
Merge pull request #48102 from ClickHouse/vdimir/25402_storage_merge_explain_graph_crash
Fix crash in explain graph with StorageMerge
2023-03-30 13:54:22 +03:00
robot-clickhouse-ci-1
7378f29630
Merge pull request #48200 from mateng0915/patch-1
Update build.md
2023-03-30 12:42:44 +02:00
Alexey Milovidov
103972497b Remove unused setting 2023-03-30 12:07:56 +02:00
Alexey Milovidov
7d6cd22412 Update changelog 2023-03-30 12:07:28 +02:00
Robert Schulze
e464ef1f7a
Remove support for std::unary/binary_function (removed in C++17) 2023-03-30 09:44:23 +00:00
Mikhail f. Shiryaev
5076cdb7fb
Merge pull request #46240 from ClickHouse/sccache
Use sccache and clang-tidy-cache with S3 cache backend
2023-03-30 11:36:35 +02:00
mateng915
15a5372eb1
Update build.md
Latest master branch and stable tag version using  Clang-14 can not compile successfully. Need using Clang-15
2023-03-30 17:07:36 +08:00
Robert Schulze
47fd1ee06d
Merge pull request #48127 from ClickHouse/rs/sort-show
Sort output of SHOW <INFO> statements
2023-03-30 10:54:23 +02:00
Antonio Andelic
a307e0d95d
Merge pull request #48168 from ClickHouse/logical-optimizer-ignore-nulls
Correctly handle NULL constants in logical optimizer for new analyzer
2023-03-30 10:24:25 +02:00
Nikolay Degterinsky
870ee4b4f5
Merge pull request #47813 from FrankChen021/query_id
Add `X-ClickHouse-Query-Id` to HTTP response when queries fail to execute
2023-03-30 09:00:03 +02:00
robot-ch-test-poll
1cedd5c11d
Merge pull request #48188 from ClickHouse/rfraposa-5
Add cross_to_inner_join_rewrite setting
2023-03-30 08:18:07 +02:00
Alexey Milovidov
fa20692120
Merge pull request #48192 from ClickHouse/changelog-23.3
Add changelog for 23.3
2023-03-30 09:12:24 +03:00
Rich Raposa
c74e94010a
Merge pull request #48193 from den-crane/patch-62
Doc. Fix link
2023-03-29 20:55:18 -06:00
Denny Crane
2c231a6ac4
Update settings.md 2023-03-29 20:49:44 -03:00
Denny Crane
553c5aa622
Update type-conversion-functions.md 2023-03-29 20:46:34 -03:00
Nikolay Degterinsky
1bc5489e04
Merge pull request #47895 from evillique/fix-isipv6-function
Fix isIPv6String function
2023-03-30 01:45:08 +02:00
Alexey Milovidov
1f251b173c Add changelog for 23.3 2023-03-30 01:35:02 +02:00
Alexey Milovidov
21bfdefebf Add changelog for 23.3 2023-03-30 01:34:13 +02:00
Alexey Milovidov
fed6f50da6
Merge pull request #48152 from vitlibar/make-test_disallow_concurrency-not-flaky
Make test test_disallow_concurrency less flaky
2023-03-30 01:31:12 +03:00
Alexey Milovidov
a629fa3ed9
Merge pull request #48162 from ClickHouse/vdimir/remove_unused_from_gtest_transform_query
Remove unused mockSystemDatabase from gtest_transform_query_for_exter…
2023-03-30 01:29:42 +03:00
Alexey Milovidov
e982fb9f1c
Merge pull request #47880 from azat/threadpool-introspection
ThreadPool metrics introspection
2023-03-30 01:27:31 +03:00
Alexey Milovidov
c00a2fc851
Merge pull request #48184 from Avogar/fix-avro
Fix possible member call on null pointer in Avro format
2023-03-30 01:19:44 +03:00
Nikita Taranov
460a83feb6
Fix aggregation by partitions (#47634) 2023-03-29 23:59:39 +02:00
Mikhail f. Shiryaev
7ff582b963
Deprecate ENABLE_CCACHE and replace it by COMPILER_CACHE 2023-03-29 23:33:31 +02:00
Mikhail f. Shiryaev
def5ae851e
Use CTCACHE_DIR only with ccache 2023-03-29 23:33:29 +02:00
Mikhail f. Shiryaev
b140915b0a
Use a network-independent cluster in 01293_show_clusters 2023-03-29 23:33:29 +02:00
Mikhail f. Shiryaev
79177e1988
Enable sccache in fasttests 2023-03-29 23:33:29 +02:00
Mikhail f. Shiryaev
f1b1f30764
Make --ccache-dir equal to --ccache_dir 2023-03-29 23:33:27 +02:00
Mikhail f. Shiryaev
fcc14ae724
Enable s3 caching 2023-03-29 23:33:27 +02:00
Mikhail f. Shiryaev
6d8da8f88b
Add sccache and ctcache S3 parameters, don't use 2023-03-29 23:33:27 +02:00
Mikhail f. Shiryaev
df17a35410
Get rid of useless cache_maxsize parameter 2023-03-29 23:33:26 +02:00
Mikhail f. Shiryaev
2d872ff23b
Add a function to parse arguments 2023-03-29 23:33:26 +02:00
Mikhail f. Shiryaev
419f234294
Fix logic for --force-build-image 2023-03-29 23:33:25 +02:00
Mikhail f. Shiryaev
3b1291eb0e
Replace distcc with sccache in packager 2023-03-29 23:33:25 +02:00
Mikhail f. Shiryaev
e1531688bc
Add sccache to cmake configuration 2023-03-29 23:33:24 +02:00