Commit Graph

129520 Commits

Author SHA1 Message Date
Kseniia Sumarokova
13187bf4f1
Merge pull request #56959 from melvynator/master
Add experimental flag for MaterializedPostgreSQL table engine.
2023-11-24 16:16:42 +01:00
Kseniia Sumarokova
c25c6ec403
Merge pull request #57031 from aiven-sal/aiven-sal/fix_namedcoll2
NamedCollections: make exception message more informative.
2023-11-24 16:15:16 +01:00
Raúl Marín
0bf0e9b086 Add test for #47366 2023-11-24 16:00:29 +01:00
Nikolai Kochetov
fc0f690b3a Simplify test. 2023-11-24 14:54:58 +00:00
Robert Schulze
ca63881357
Mention that the settings are dev settings 2023-11-24 14:46:02 +00:00
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
Amos Bird
472027e948
Fix JOIN plan with normal projection 2023-11-24 21:47:00 +08:00
Azat Khuzhin
740cc3c053 Set log_comment to the file name while processing files in client
This will be useful for fuzzer, to know which file had been processed to
trigger the crash, since right now you need to find unique parts of the
query that had not been added by fuzzer to reproduce.

But I guess this will be useful not only for fuzzing, but for general
introspection as well.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-24 14:45:34 +01:00
Raúl Marín
037cbf3bce Merge remote-tracking branch 'blessed/master' into remove_optimize_move_functions_out_of_any 2023-11-24 14:27:44 +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
eb5016a8af Fix 02888_obsolete_settings 2023-11-24 13:09:10 +01:00
Raúl Marín
b3d378abd5 Add test for #5323 2023-11-24 12:50:29 +01:00
Raúl Marín
d4290ade61 Remove optimize_move_functions_out_of_any optimization 2023-11-24 12:20:46 +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