Commit Graph

129495 Commits

Author SHA1 Message Date
Alexey Milovidov
10d5ba57e8
Merge pull request #57124 from azat/build/split-HashedDictionary-CU
Split HashedDictionary CU
2023-11-23 23:14:47 +01:00
Alexey Milovidov
f138ddbdfa
Merge pull request #57102 from ClickHouse/vdimir/analyzer_to_ast_crash
Fix FunctionNode::toASTImpl
2023-11-23 23:12:30 +01:00
Alexey Milovidov
b515c2b0bd
Merge pull request #57145 from ClickHouse/fix-bad-test-6
Fix bad test `00002_log_and_exception_messages_formatting`
2023-11-23 23:03:22 +01:00
Alexey Milovidov
d72bc854d1
Merge pull request #57074 from ClickHouse/less-allocation-in-arenas
Avoid excessive allocation in Arena
2023-11-23 23:02:26 +01:00
Robert Schulze
a8a3214185
+ documentation 2023-11-23 19:43:40 +00:00
Igor Nikonov
56e0661a73
Merge pull request #57156 from ClickHouse/harmful-select-trap
Mark select() as harmful function
2023-11-23 20:17:01 +01:00
Igor Nikonov
0434044a7e
Merge pull request #57054 from ClickHouse/pr-cleanup-narrow-dependency
Parallel replicas: cleanup, narrow dependency
2023-11-23 20:12:37 +01:00
Azat Khuzhin
682ffccccc Add debugging info for 01600_parts_types_metrics on failures
It looks like sometimes counters do not match [1], and it does not looks
like a timing issue, since I don't see any new parts according to the
server log.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/57074/05784b66c969e195c4513d131de95bf4828183ce/stateless_tests__release_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-23 19:55:55 +01:00
Robert Schulze
e392fcab5b
Allow global and individual disabling of settings
- 'query_plan_enable_optimizations' is now a global kill switch for all
  plan-level optimizations

- even if it is true, individual optimizations can still be disabled
  individually via their respective settings
2023-11-23 18:46:48 +00:00
Robert Schulze
194e676c70
Put all query plan settings under their own settings 2023-11-23 18:45:08 +00:00
Alexander Tokmakov
d750e3c004 fix 2023-11-23 19:44:35 +01:00
Robert Schulze
4b764b8bc9
Cosmetics 2023-11-23 18:43:10 +00:00
Robert Schulze
77d48e4d55
"optimise" --> "optimize". Sorry, friends from the UK. 2023-11-23 18:41:35 +00:00
robot-clickhouse
615c0eaacb
Merge pull request #57167 from ClickHouse/cherry-pick-description
Improve the cherry-pick PR description
2023-11-23 19:40:40 +01:00
Robert Schulze
674159857e
Merge pull request #57144 from rschu1ze/disable-reorder-functions-after-sorting
Allow to disable reorder-functions-after-sorting optimization
2023-11-23 19:38:31 +01:00
Robert Schulze
aee3c9651b
Fix ubsan bug 2023-11-23 18:35:54 +00:00
Mikhail f. Shiryaev
36d27d1713
Improve the cherry-pick PR description 2023-11-23 19:28:58 +01:00
Nikolay Degterinsky
644e671e81
Merge pull request #57083 from evillique/better-metadata-path
Better metadata path
2023-11-23 19:27:55 +01:00
Sergei Trifonov
9436ae6d7d
Merge pull request #56771 from ClickHouse/dashboards-table
Load queries for dashboard page from new `system.dashboards` table
2023-11-23 19:07:52 +01:00
Alexey Milovidov
8e8fcb159a Merge branch 'master' of github.com:ClickHouse/ClickHouse into less-allocation-in-arenas 2023-11-23 19:03:19 +01:00
Alexey Milovidov
41dede315b
Merge pull request #57163 from ClickHouse/revert-57131-tests/01600_parts_types_metrics
Revert "Resubmit 01600_parts_types_metrics test (possibly without flakiness)"
2023-11-23 19:02:48 +01:00
Alexey Milovidov
77f27cf10f
Revert "Resubmit 01600_parts_types_metrics test (possibly without flakiness)" 2023-11-23 21:02:31 +03:00
Igor Nikonov
673dec6b60 Add pselect() to harmful functions as well 2023-11-23 17:30:59 +00:00
Alexey Milovidov
b62e9d3a1a Address review comments 2023-11-23 18:13:12 +01:00
Alexey Milovidov
137bf2cf9c Whitespaces 2023-11-23 17:51:55 +01:00
Igor Nikonov
64d6fe3520 Mark select() as harmful function 2023-11-23 16:48:40 +00:00
Alexey Milovidov
87fc2a1348
Merge pull request #57107 from evillique/gix-gorilla-overflow-issue
Fix buffer overflow in Gorilla codec
2023-11-23 17:23:33 +01:00
Alexey Milovidov
d59b322619 Add a test 2023-11-23 17:18:11 +01:00
Alexey Milovidov
bd4ffec361 Better exit codes from the server 2023-11-23 17:00:57 +01:00
Alexey Milovidov
5abed8f8a8 Better exit codes from the server 2023-11-23 17:00:02 +01:00
robot-ch-test-poll
38aa0dc273
Merge pull request #57148 from gyfis/patch-1
Update other-functions.md - fix `initializeAgregation` typo
2023-11-23 16:49:29 +01:00
Azat Khuzhin
d81fb9d117 Remove partial results from build matrix for stress tests
The feature had been reverted in #55893

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-23 16:39:52 +01:00
Tomáš Hromada
956a8add35
Update other-functions.md
Fix `initializeAgregation` typo
2023-11-23 15:57:19 +01:00
Vitaly Baranov
eabdc76e7c Fix test test_replicated_merge_tree_encryption_codec/test.py::test_different_keys 2023-11-23 15:36:11 +01:00
Alexey Milovidov
ac1e742afa
Merge pull request #57108 from azat/build/large-objects
Allow HashedDictionary/FunctionsConversion as large TU
2023-11-23 15:00:59 +01:00
Alexey Milovidov
9c7b0f33fc Fix bad test 00002_log_and_exception_messages_formatting 2023-11-23 14:49:51 +01:00
Azat Khuzhin
9b258f4b09 Do not symbolize traces for debug/sanitizer builds for sending to cloud
debug/sanitizer builds is very slow and symbolizing can take awhile, for
example this increases the time for `system flush logs`, and likely make
`02152_http_external_tables_memory_tracking` flaky again (#53215):

    azat@s1:~/ch/tmp$ zstd -cdq clickhouse-server.log.zst | grep -a -e 2dd61ba3-5a26-4b38-8979-af82cf3ff8bd -e 75b3cbcb-1d09-44ac-a82b-317b4fabfea9 -e 75ad1065-51cc-4c94-95a2-f9dd22981edd -e dc991967-4443-458b-84f0-2646a8d32a76 | grep trace_log -A1
    2023.11.22 05:46:32.872164 [ 59150 ] {2dd61ba3-5a26-4b38-8979-af82cf3ff8bd} <Debug> SystemLogQueue (system.trace_log): Requested flush up to offset 308544
    2023.11.22 05:47:23.352098 [ 59150 ] {2dd61ba3-5a26-4b38-8979-af82cf3ff8bd} <Debug> SystemLogQueue (system.crash_log): Requested flush up to offset 0
    --
    2023.11.22 05:47:46.158400 [ 59158 ] {75b3cbcb-1d09-44ac-a82b-317b4fabfea9} <Debug> SystemLogQueue (system.trace_log): Requested flush up to offset 328185
    2023.11.22 05:48:38.392275 [ 59158 ] {75b3cbcb-1d09-44ac-a82b-317b4fabfea9} <Debug> SystemLogQueue (system.crash_log): Requested flush up to offset 0
    --
    2023.11.22 05:49:07.348590 [ 59150 ] {75ad1065-51cc-4c94-95a2-f9dd22981edd} <Debug> SystemLogQueue (system.trace_log): Requested flush up to offset 347744
    2023.11.22 05:50:00.265529 [ 59150 ] {75ad1065-51cc-4c94-95a2-f9dd22981edd} <Debug> SystemLogQueue (system.crash_log): Requested flush up to offset 0
    --
    2023.11.22 05:50:25.743286 [ 59158 ] {dc991967-4443-458b-84f0-2646a8d32a76} <Debug> SystemLogQueue (system.trace_log): Requested flush up to offset 367101
    2023.11.22 05:51:15.567347 [ 59158 ] {dc991967-4443-458b-84f0-2646a8d32a76} <Debug> SystemLogQueue (system.crash_log): Requested flush up to offset 0

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-23 14:49:28 +01:00
Vitaly Baranov
5f461ff780 Change the default for "wait_dictionaries_load_at_startup" to true,
and use this setting only if "dictionaries_lazy_load" is false.
2023-11-23 14:45:42 +01:00
Aleksei Filatov
1a03f5f7f4 Merge remote-tracking branch 'upstream/master' into add_cancellation_point_for_moving_background_operation 2023-11-23 16:43:33 +03:00
Vitaly Baranov
2eca762c39
Merge pull request #57134 from vitlibar/check-dictionary-source-type-on-creation
Check dictionary source type on creation
2023-11-23 14:24:42 +01:00
Robert Schulze
4f10ad3f3c
Allow to disable reorder-functions-after-sorting optimization 2023-11-23 13:16:03 +00:00
Alexey Milovidov
05784b66c9 Fix test 2023-11-23 14:04:10 +01:00
robot-clickhouse
6545775bff
Merge pull request #57138 from luppx/patch-1
Fix wrong Chinese word order
2023-11-23 13:43:28 +01:00
Igor Nikonov
def4a62365 Remove DBMS_CONNECTION_POOL_WITH_FAILOVER_DEFAULT_MAX_TRIES 2023-11-23 12:22:44 +00:00
Kruglov Pavel
4ff15a01ec
Merge pull request #57104 from ClickHouse/Avogar-patch-2
Cancel PipelineExecutor properly in case of exception in spawnThreads
2023-11-23 13:22:09 +01:00
kssenii
ff3224e7f7 Load named collections in advance 2023-11-23 13:22:06 +01:00
kssenii
7b5b6eda3e Revert "Remove bad case"
This reverts commit dea4bbf4d6.
2023-11-23 13:19:34 +01:00
Antonio Andelic
c43b84c68d
Typo 2023-11-23 13:12:16 +01:00
vdimir
93a34b5067
Add 02918_analyzer_to_ast_crash 2023-11-23 12:08:42 +00:00
vdimir
db4aa19f90
Fix FunctionNode::toASTImpl 2023-11-23 12:08:41 +00:00