Commit Graph

139861 Commits

Author SHA1 Message Date
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
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 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
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
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
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