Commit Graph

130218 Commits

Author SHA1 Message Date
Alexey Milovidov
bccd33932b
Update Cargo.toml 2023-11-24 22:59:29 +03:00
Mikhail f. Shiryaev
ec18f24c1f
Merge pull request #57171 from ClickHouse/tiny-improvement-security
Tiny improvement security
2023-11-24 20:34:07 +01:00
Azat Khuzhin
d0b4917fd3 Fix test_distributed_storage_configuration flakiness
It fails [1] due to extra reservation on disk2 for some system.*_log
tables, sure we can turn them off, but better to fix it explicitly with
a separate policy.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/0/98cddf5312722e403dcea429639ac13dc6cada33/integration_tests__tsan__[2_6].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-24 20:28:18 +01:00
Mikhail f. Shiryaev
dce47b4af4
Remove long-living remainings 2023-11-24 20:23:12 +01:00
Mikhail f. Shiryaev
57445d46cc
Slightly improve the generator readbility 2023-11-24 20:23:11 +01:00
Sema Checherinda
bd36dce81b
Merge pull request #57129 from ClickHouse/fix_something
Fix something in ReplicatedMergeTree
2023-11-24 20:19:25 +01:00
Alexander Tokmakov
deda8483be
Merge pull request #56536 from ClickHouse/move-partition-inactive-replica
Fix race between REPLACE_RANGE and GET_PART (set actual part name when fetching)
2023-11-24 20:09:24 +01:00
Alexander Tokmakov
e4faec5ef0
Merge pull request #57155 from azat/tests/02903_rmt_retriable_merge_exception
Fix 02903_rmt_retriable_merge_exception flakiness for replicated database
2023-11-24 19:59:24 +01:00
yariks5s
cc8ac432dd rewrite function to be independent of groupArray, add test 2023-11-24 18:55:15 +00:00
Aleksandr Musorin
c3b617bd7b Move class functions upper 2023-11-24 19:00:00 +01:00
kssenii
791c01d666 Fix case with database replicated 2023-11-24 18:34:34 +01:00
Azat Khuzhin
b6bd5ecb19 Fix possible crash of fuzzy finder in client
Refs: https://github.com/lotabout/tuikit/pull/51
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-24 17:46:25 +01:00
Nikolai Kochetov
0eb20620cd Fix type for arrayJoin(LC) 2023-11-24 16:42:59 +00:00
Raúl Marín
22fcf5b99f Add test for #51321 2023-11-24 17:39:14 +01:00
Alexey Milovidov
dfba02542d Merge branch 'master' of github.com:ClickHouse/ClickHouse into fuzzer-disable-checksums 2023-11-24 17:37:49 +01:00
Vitaly Baranov
5769a88b92
Merge pull request #57133 from vitlibar/change-default-for-wait_dictionaries_load_at_startup
Change the default for wait_dictionaries_load_at_startup to true
2023-11-24 17:09:05 +01:00
Kseniia Sumarokova
ea7c68febe
Merge pull request #56705 from ClickHouse/docs-s3-gcs-improvements
[Docs] Add details to S3 and GCS table functions
2023-11-24 16:17:40 +01:00
Mike Kot
ed4bd7b4e8 do not demangle stack frames from __functional 2023-11-24 15:16:44 +00:00
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
taiyang-li
35cf4cd1dd reuse some intermediate results while executing array join 2023-11-24 15:17:39 +08: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