Commit Graph

140000 Commits

Author SHA1 Message Date
Max K
e3588afff1
Merge 59d56668e9 into f4e8ac81d6 2024-04-11 14:22:37 +00:00
Smita Kulkarni
3d9bead362 Merge branch 'master' into Fix_azure_restore 2024-04-11 16:08:27 +02:00
Joshua Hildred
dd49b09902 Address review comments 2024-04-11 06:58:35 -07:00
Arnaud Rocher
99078ef9d5
Fix typo in like function documentation 2024-04-11 15:56:47 +02:00
Azat Khuzhin
f1cb1f80b6 Make sending LOGICAL_ERRORs to sentry configurable
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-11 15:56:26 +02:00
Jordi Villar
a8c51cf56c Fix settings changes history 2024-04-11 15:55:48 +02:00
Jordi Villar
a4c3153453 Rollback date_diff changes 2024-04-11 15:55:12 +02:00
Robert Schulze
2cc801e74c Some fixups 2024-04-11 15:55:12 +02:00
Jordi Villar
368d01872f Apply feedback to toStartOfInterval 2024-04-11 15:55:12 +02:00
Jordi Villar
cf51d801ae Documentation 2024-04-11 15:55:12 +02:00
Jordi Villar
d5a6cbed0f Refactor code 2024-04-11 15:55:12 +02:00
Robert Schulze
486128bd0e Some fixes 2024-04-11 15:55:12 +02:00
Jordi Villar
107dc07327 Allow changing dateDiff and age to sunday mode 2024-04-11 15:55:12 +02:00
Jordi Villar
6bcefbb416 Allow changing toStartOfInterval to sunday mode 2024-04-11 15:55:01 +02:00
Azat Khuzhin
81dec9a077 Avoid SentryWriter deps for Exception
$ ninja unit_tests_dbms
    FAILED: src/unit_tests_dbms
    : && /usr/bin/clang++ --target=x86_64-linux-gnu --sysroot=/src/ch/clickhouse/cmake/linux/../../contrib/sysroot/linux-x86_64/x86_64-linux-gnu/libc --gcc-toolchain=/src/ch/clickhouse/cmake/linux/../../contrib/sysroot/linux-x86_64 -fdiagnostics-color=always -Xclang -fuse-ctor-homing -Wno-enum-constexpr-conversion -fsized-deallocation  -gdwarf-aranges -pipe -mssse3 -msse4.1 -msse4.2 -mpclmul -mpopcnt -fasynchronous-unwind-tables -falign-functions=32 -mbranches-within-32B-boundaries -ffp-contract=off  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdiagnostics-absolute-paths -fstrict-vtable-pointers -Wall -Wextra -Wframe-larger-than=65536 -Weverything -Wpedantic -Wno-zero-length-array -Wno-c++98-compat-pedantic -Wno-c++98-compat -Wno-c++20-compat -Wno-sign-conversion -Wno-implicit-int-conversion -Wno-implicit-int-float-conversion -Wno-ctad-maybe-unsupported -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-double-promotion -Wno-exit-time-destructors -Wno-float-equal -Wno-global-constructors -Wno-missing-prototypes -Wno-missing-variable-declarations -Wno-padded -Wno-switch-enum -Wno-undefined-func-template -Wno-unused-template -Wno-vla -Wno-weak-template-vtables -Wno-weak-vtables -Wno-thread-safety-negative -Wno-enum-constexpr-conversion -Wno-unsafe-buffer-usage -Wno-switch-default -O2 -g -DNDEBUG -O3 -g  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-pie --gcc-toolchain=/src/ch/clickhouse/cmake/linux/../../contrib/sysroot/linux-x86_64 --ld-path=/usr/bin/ld.lld -Wl,--no-export-dynamic -Wl,--gc-sections -Wl,--gdb-index -Wl,--build-id=sha1 -no-pie -Wl,-no-pie    -Xlinker --no-undefined @CMakeFiles/unit_tests_dbms.rsp -o src/unit_tests_dbms && :
    ld.lld: error: undefined symbol: SentryWriter::getInstance()
    >>> referenced by Exception.cpp:63 (/src/ch/clickhouse/src/Common/Exception.cpp:63)
    >>>               Exception.cpp.o:(DB::handle_error_code(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int, bool, std::__1::vector<void*, std::__1::allocator<void*>> const&)) in archive src/libclickhouse_common_io.a
    >>> referenced by Exception.cpp:63 (/src/ch/clickhouse/src/Common/Exception.cpp:63)
    >>>               Exception.cpp.o:(DB::Exception::Exception(DB::Exception::MessageMasked const&, int, bool)) in archive src/libclickhouse_common_io.a
    >>> referenced by Exception.cpp:63 (/src/ch/clickhouse/src/Common/Exception.cpp:63)
    >>>               Exception.cpp.o:(DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool)) in archive src/libclickhouse_common_io.a

    ld.lld: error: undefined symbol: SentryWriter::onFault(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::array<void*, 45ul> const&, unsigned long, unsigned long)
    >>> referenced by Exception.cpp:68 (/src/ch/clickhouse/src/Common/Exception.cpp:68)
    >>>               Exception.cpp.o:(DB::handle_error_code(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int, bool, std::__1::vector<void*, std::__1::allocator<void*>> const&)) in archive src/libclickhouse_common_io.a
    >>> referenced by Exception.cpp:68 (/src/ch/clickhouse/src/Common/Exception.cpp:68)
    >>>               Exception.cpp.o:(DB::Exception::Exception(DB::Exception::MessageMasked const&, int, bool)) in archive src/libclickhouse_common_io.a
    >>> referenced by Exception.cpp:68 (/src/ch/clickhouse/src/Common/Exception.cpp:68)
    >>>               Exception.cpp.o:(DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool)) in archive src/libclickhouse_common_io.a
    clang++: error: linker command failed with exit code 1 (use -v to see invocation)
    ninja: build stopped: subcommand failed.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-11 15:51:23 +02:00
Azat Khuzhin
f854595cd4 Rewrite SentryWriter to a singleton
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-11 15:50:36 +02:00
Azat Khuzhin
f4ad005249 Send LOGICAL_ERRORs to sentry
This is like an assert() in the code, so it is useful to know about them
as well.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-11 15:50:32 +02:00
Nikita Fomichev
d8f96bf297 Close: https://github.com/ClickHouse/ClickHouse/issues/8547 2024-04-11 15:42:52 +02:00
Dmitry Novik
5985a0d10b
Try to fix if_transform_strings_to_enum perf test 2024-04-11 15:40:53 +02:00
Mikhail f. Shiryaev
2bbd36a5b7
Run fast tests and style checks in parallel 2024-04-11 15:36:07 +02:00
Robert Schulze
f4e8ac81d6
Merge pull request #62554 from rschu1ze/test-bug24607
Add test for issue 24607
2024-04-11 13:21:02 +00:00
Max Kainov
59d56668e9 CI: respect Sync status in the MQ 2024-04-11 13:20:20 +00:00
Mikhail f. Shiryaev
0b76f95e57
Remove unnecessary style-check comments 2024-04-11 15:19:32 +02:00
Mikhail f. Shiryaev
c684770ace
Use sudo to compress logs with the highest permissions 2024-04-11 15:17:56 +02:00
Robert Schulze
9d47f21889
Merge pull request #62553 from rschu1ze/flaky-bug37909
Fix flaky 03093_bug37909_query_does_not_finish
2024-04-11 13:03:25 +00:00
Robert Schulze
a358e2c872
Merge pull request #62541 from jaymebrd/add-event-time-backup-log-table
Add column `event_time` to system table `backup_log system`
2024-04-11 13:02:34 +00:00
kssenii
96f4ac4561 Fixes for dynamic cache resize 2024-04-11 14:57:13 +02:00
Robert Schulze
3ff802376f
Add test for issue 24607 2024-04-11 12:37:08 +00:00
vdimir
4ea2b5e615
Restrict argument types for __actionName 2024-04-11 12:36:17 +00:00
Nikita Taranov
8b38fabcf9 better 2024-04-11 12:35:52 +00:00
Robert Schulze
4f6b6e30e1
Fix flaky 03093_bug37909_query_does_not_finish 2024-04-11 12:30:34 +00:00
Nikita Mikhaylov
dda18f75bb
Merge pull request #62500 from Algunenano/fuzz_the_analyzer
Don't allow the fuzzer to change allow_experimental_analyzer
2024-04-11 12:17:45 +00:00
Nikita Mikhaylov
219b83948d
Merge pull request #62521 from ClickHouse/doc-composable-protocols
Doc: add Composable Protocols
2024-04-11 12:17:12 +00:00
Nikita Mikhaylov
c20444d430
Merge pull request #62516 from ClickHouse/nikitamikhaylov-patch-1
Blind fix for a flaky test
2024-04-11 12:08:04 +00:00
kssenii
0ef2153d55 Fix 2024-04-11 14:02:32 +02:00
vdimir
53cef82acd
Merge pull request #61216 from kitaisreal/join-filter-push-down-improvements-using-equivalent-sets
JOIN filter push down improvements using equivalent sets
2024-04-11 11:53:14 +00:00
Nikolai Kochetov
c83c336dbb
Merge pull request #62462 from ClickHouse/fix-analyzer-lambda-level
Fix capture of nested lambda.
2024-04-11 11:49:10 +00:00
Alexander Tokmakov
e21799f4a5 fix hung check 2024-04-11 13:48:35 +02:00
Nikita Fomichev
564cd01c64 Close: https://github.com/ClickHouse/ClickHouse/issues/44039 2024-04-11 13:47:34 +02:00
Alexander Tokmakov
c1c7cf56bd
Revert "[feature]: allow to attach parts from a different disk" 2024-04-11 13:43:51 +02:00
Alexander Gololobov
fb290eaaf4
Merge pull request #62455 from ClickHouse/keeper_logging_fixes
Keeper logging fixes
2024-04-11 11:36:04 +00:00
Alexander Gololobov
4101a1a24e Merge branch 'master' of github.com:ClickHouse/ClickHouse into keeper_logging_fixes 2024-04-11 13:29:24 +02:00
Raúl Marín
6242b50bb4
Merge pull request #62513 from Algunenano/upg_test
Fix upgrade test. Again
2024-04-11 10:40:33 +00:00
vdimir
fe4373fa53
Merge pull request #62387 from ClickHouse/vdimir/join_on_expression_optimizer_fix
Use function isNotDistinctFrom only in join key
2024-04-11 10:34:28 +00:00
Jayme Bird
edb22a8941 add event_time to backup_log system table 2024-04-11 10:22:02 +01:00
Vitaly Baranov
190ff5e7d6
Merge pull request #62295 from vitlibar/fix-backup-and-restore-of-matview-in-ordinary-db
Fix BACKUP and RESTORE of a materialized view in Ordinary database
2024-04-11 08:40:11 +00:00
lgbo-ustc
d1b80d754d add comments 2024-04-11 16:34:43 +08:00
lgbo-ustc
23cf77124a update SettingsChangesHistory 2024-04-11 16:31:10 +08:00
Vitaly Baranov
e6a9556daf Put functions in BackupUtils.h to a separate namespace BackupUtils. 2024-04-11 10:28:14 +02:00
Maksim Kita
4a1a932c5f Fixed tests 2024-04-11 11:09:08 +03:00