Commit Graph

140947 Commits

Author SHA1 Message Date
Alexander Tokmakov
55c510563c Merge branch 'master' into cannot_allocate_thread 2024-04-11 23:06:17 +02:00
Justin de Guzman
9c9c3bddb5
[Docs] Formatting 2024-04-11 13:53:51 -07:00
Justin de Guzman
89a9de76a6
[Docs] Add more examples for numeric literals 2024-04-11 13:38:51 -07:00
Joshua Hildred
8f4f3aaf14 Small code cleanup 2024-04-11 12:56:50 -07:00
Raúl Marín
83d6f2ef99 Correct the documentation about duplicates with argmin and argmax 2024-04-11 21:51:31 +02:00
Alexander Tokmakov
20e8b64cee fix 2024-04-11 21:40:39 +02:00
Nikita Mikhaylov
9193762280
Update 03122_analyzer_collate_in_window_function.sql 2024-04-11 20:35:30 +02:00
Alexander Tokmakov
4e486f4176
Merge pull request #62549 from ClickHouse/revert-60112-feat-59377
Revert "[feature]: allow to attach parts from a different disk"
2024-04-11 17:56:41 +00:00
Raúl Marín
b90eb1962f Remove mentions of clean_deleted_rows from the documentation 2024-04-11 19:56:30 +02:00
Nikolai Kochetov
61d4d9a46e
Update QueryAnalysisPass.cpp 2024-04-11 19:39:44 +02:00
Yarik Briukhovetskyi
46dd3e1275
Merge pull request #62563 from cailloumajor/patch-3
Fix typo in `like` function documentation
2024-04-11 17:31:54 +00:00
Alexander Tokmakov
cbfc2b96f9 fix polygon something 2024-04-11 19:28:10 +02:00
Raúl Marín
aa09876220 Merge remote-tracking branch 'blessed/master' into rust_vendor 2024-04-11 18:52:28 +02:00
Raúl Marín
4e055c258f Update to final sysroot 2024-04-11 18:52:12 +02:00
Anton Popov
17b3357e1d Merge remote-tracking branch 'upstream/master' into azure-profile-events 2024-04-11 16:38:08 +00:00
Anton Popov
523ee302cb more profile events 2024-04-11 16:37:54 +00:00
Max Kainov
252d2a05a6 fix unittest 2024-04-11 16:27:25 +00:00
Max K
114a4d563d
Merge pull request #62568 from ClickHouse/ci_fix_for_sync_status_in_mq
CI: fix for sync check status in mq
2024-04-11 16:21:07 +00:00
Max Kainov
e8f616e80b CI: fix for sync check status in mq 2024-04-11 15:55:25 +00:00
Azat Khuzhin
66c6ef0463 More cleaner SentryWriter API
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-11 17:26:49 +02:00
Nikolai Kochetov
3e16309e99 Allow constant folding throught __getScalar 2024-04-11 15:25:52 +00:00
Max Kainov
45258bc565 CI: Add tests with Azure storage 2024-04-11 14:50:18 +00:00
Dmitry Novik
5d7882bb60
Always use new analyzer in perf tests 2024-04-11 16:50:01 +02:00
Max K
069fb3d42e
Merge pull request #62550 from ClickHouse/ci_respect_sync_status_in_mq
CI: respect Sync status in the MQ
2024-04-11 14:44:10 +00:00
robot-clickhouse
671d2a8927 Automatic style fix 2024-04-11 14:33:25 +00:00
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
János Benjamin Antal
78c34916f9 Fix incorrect error when no special columns are specified 2024-04-11 13:44:23 +00: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