Commit Graph

129427 Commits

Author SHA1 Message Date
Robert Schulze
75ceaf6200
Docs: Improve math function docs 2023-11-24 14:31:39 +00:00
Nikolai Kochetov
106053dee8 Add a test. 2023-11-24 14:22:39 +00:00
Azat Khuzhin
81da52bdf4 Fix 02903_rmt_retriable_merge_exception flakiness for replicated database
In case of replicated database system stop pulling replication log for
rmt2 should be done on all replicas, otherwise some replica may merge
the part and all other replicas may fetch it.

Also, since SYSTEM STOP PULLING REPLICATION LOG does not waits for the
current pull, let's trigger log pull explicitly to provide at least some
guarantee that replication log pulling had been stopped, otherwise race
is possible [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/57155/f68717ccd0a07a499911c9b0db7537ae8205e41b/stateless_tests_flaky_check__asan_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-24 15:01:37 +01:00
Raúl Marín
a8fd4a35b3 Merge remote-tracking branch 'blessed/master' into i5323 2023-11-24 14:25:19 +01:00
Alexander Tokmakov
8aaf9a4cb4
Merge pull request #57195 from ClickHouse/revert-57156-harmful-select-trap
Revert "Mark select() as harmful function"
2023-11-24 14:06:04 +01:00
Alexander Tokmakov
d18828c826
Revert "Mark select() as harmful function" 2023-11-24 14:04:42 +01:00
Vitaly Baranov
683827c6df Add comment. 2023-11-24 14:01:52 +01:00
Raúl Marín
b3d378abd5 Add test for #5323 2023-11-24 12:50:29 +01:00
alesapin
a3c2896e9d
Merge pull request #56846 from aalexfvk/add_cancellation_point_for_moving_background_operation
Add cancellation hook for moving background operation
2023-11-24 12:12:47 +01:00
Kseniia Sumarokova
650c1e959d
Merge pull request #57141 from ClickHouse/remove-test-case
Follow up to #56541
2023-11-24 11:45:29 +01:00
Robert Schulze
8e93ea509d
Merge pull request #57002 from slvrtrn/from-days-all-integer-types
Allow to use any integer types with `fromDaysSinceYearZero` function
2023-11-24 11:28:53 +01:00
vdimir
281c32f66c
Merge pull request #57187 from ClickHouse/vdimir/update_blob_storage_log_md
Update blob_storage_log.md
2023-11-24 10:38:01 +01:00
vdimir
e5284c125f
Update blob_storage_log.md 2023-11-24 10:02:47 +01:00
Robert Schulze
ace830a618
Fix spelling 2023-11-23 22:56:40 +00:00
Alexey Milovidov
98cddf5312
Merge pull request #57153 from ClickHouse/better-server-exit-code
Better server exit code
2023-11-23 23:55:28 +01:00
Alexey Milovidov
e7d01cd0fa
Merge pull request #57142 from ClickHouse/close-interserver-connection-unathenticated
Close interserver connection on any exception before authentication
2023-11-23 23:49:17 +01:00
Robert Schulze
e9f7690026
+s 2023-11-23 22:27:28 +00:00
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
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