Commit Graph

142197 Commits

Author SHA1 Message Date
Alexey Milovidov
2a9795f4e3 Minor changes 2024-05-19 10:45:19 +02:00
Alexey Milovidov
500475f2b8 Add a test 2024-05-19 10:45:05 +02:00
Robert Schulze
b405f934e4
Merge pull request #64024 from rschu1ze/throw-for-invalid-types
Deserialize untrusted binary inputs in a safer way
2024-05-19 07:13:52 +00:00
Alexey Milovidov
714420fc67 Speed up Set index a little 2024-05-19 09:00:35 +02:00
Alexey Milovidov
c940928bb5
Merge pull request #64091 from azat/fix-sanitizers-bump-clang
Fix sanitizers build by updating llvm/clang that includes fix for it
2024-05-19 08:42:05 +02:00
Azat Khuzhin
81a0c63928 Fix unwind on SIGSEGV on aarch64 (due to small stack for signal)
Only SIGSEGV uses alternative stack (sigaltstack()), which is very
small, 16K, and for aarch64 it is likely not enough for unwinding
(likely due to lots of registers on this platform):

    (gdb) bt
    #0  libunwind::CFI_Parser<libunwind::LocalAddressSpace>::parseFDEInstructions (addressSpace=..., fdeInfo=..., cieInfo=..., upToPC=<optimized out>, arch=4, results=<optimized out>) at ./contrib/libunwind/src/DwarfParser.hpp:561

And this is:

    554       case DW_CFA_remember_state: {
    555         // Avoid operator new because that would be an upward dependency.
    556         // Avoid malloc because it needs heap allocation.
    557         PrologInfoStackEntry *entry =
    558             (PrologInfoStackEntry *)_LIBUNWIND_REMEMBER_ALLOC(
    559                 sizeof(PrologInfoStackEntry));
    560         if (entry != NULL) {
    561           entry->next = rememberStack.entry;
    ^^^
    562           entry->info = *results;
    563           rememberStack.entry = entry;
    564         } else {
    565           return false;
    566         }
    567         _LIBUNWIND_TRACE_DWARF("DW_CFA_remember_state\n");
    568         break;
    569       }

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-19 08:11:53 +02:00
Azat Khuzhin
6ed515554b Revert "CI: disable ARM integration test cases with libunwind crash" 2024-05-19 08:11:53 +02:00
Max K
4e4d078786 return sync pr status to upstream from FinishCheck job 2024-05-18 20:36:04 +02:00
alesapin
3878155b19
Merge pull request #64072 from ClickHouse/try_to_fix_cross_compilation_for_grpc
Try to fix grpc for aarch64 crosscompilation
2024-05-18 18:28:21 +00:00
Max K
d5eac97d45 remove update_mergeable_check_from_ci.py 2024-05-18 19:53:06 +02:00
Max K
e3329a10f9 CI: mergeable check redesign 2024-05-18 18:25:48 +02:00
alesapin
086e5d73a4 Followup 2024-05-18 18:03:55 +02:00
Azat Khuzhin
3743b4a2ed Fix sanitizers build by updating llvm/clang that includes fix for it
Rebuild for clang 18.1.3, that contains a workaround [1] for sanitizers
issue [2]:

    $ git tag --contains  c2a57034eff048cd36c563c8e0051db3a70991b3 | tail -1
    llvmorg-18.1.3

 [1]: c2a57034ef
 [2]: https://github.com/ClickHouse/ClickHouse/issues/64086

Since right now version is not enough:

    $ docker run --rm -it clickhouse/test-util llvm-nm-18 --version
    llvm-nm, compatible with GNU nm
    Ubuntu LLVM version 18.1.2
      Optimized build.

But I don't see any fix for TSan, only MSan, but let's try.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-18 16:43:19 +02:00
alesapin
2983941ab8 Fix build for openssl
(cherry picked from commit 7efd5d3ab62024619e26dc6c3e28d50bffc98d70)
2024-05-18 16:35:15 +02:00
Azat Khuzhin
e885e9957e tests: fix expected error for 03036_reading_s3_archives
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-18 14:24:15 +02:00
Alexey Milovidov
5f938c9c2d
Merge pull request #64056 from jrdi/fix-rmt-is-deleted-docs
Improve ReplacingMergeTree is_deleted documentation
2024-05-18 07:28:22 +02:00
Alexey Milovidov
cde1b82ebd Print number tips in case of LowCardinality and Nullable 2024-05-18 06:42:59 +02:00
Alexey Milovidov
a2d9a32652
Merge pull request #63733 from qiangxuhui/qiangxuhui-loongarch64
Initial support for loongarch64
2024-05-18 05:26:26 +02:00
Alexey Milovidov
58e863f034
Merge pull request #64066 from ClickHouse/alexey-milovidov-patch-8
Add `ch-ui`
2024-05-18 05:16:09 +02:00
Alexey Milovidov
cafd074e0a Prevent stack overflow in Fuzzer and Stress test 2024-05-18 05:11:18 +02:00
Alexey Milovidov
8562d8595a This log message is better in Trace 2024-05-18 04:40:37 +02:00
Yohann Jardin
349f9eeeee harmonize h3PointDist* error messages 2024-05-18 00:29:22 +02:00
alesapin
24892b151a Try to fix grpc for aarch64 crosscompilation
(cherry picked from commit f3fbf532e0d4d7616f51a9c3d5087cf7b2e6d7d5)
2024-05-17 22:55:12 +02:00
Mikhail f. Shiryaev
8980e3bb40
Merge pull request #64062 from ClickHouse/style-mimetype-fallback
Files without shebang have mime 'text/plain' or 'inode/x-empty'
2024-05-17 20:35:12 +00:00
vdimir
e5ad196317
Merge pull request #62346 from ClickHouse/vdimir/analyzer_comapre_columns
Analyzer: Fix validateAggregates for tables with different aliases
2024-05-17 20:00:04 +00:00
Alexey Milovidov
71d33baf0e
Update gui.md 2024-05-17 21:45:44 +03:00
Alexey Milovidov
b9f2a9dece Merge branch 'master' of github.com:ClickHouse/ClickHouse into libunwind-fix-crash 2024-05-17 20:44:30 +02:00
Alexey Milovidov
e37447d1f5
Merge pull request #64064 from ClickHouse/revert-64020-patch-1
Revert "Update gui.md - Add ch-ui to open-source available tools."
2024-05-17 20:43:37 +02:00
Alexey Milovidov
f8693017fb
Revert "Update gui.md - Add ch-ui to open-source available tools." 2024-05-17 21:43:24 +03:00
Alexey Milovidov
b9d539d0f7 Merge branch 'master' into libunwind-fix-crash 2024-05-17 20:33:22 +02:00
Alexey Milovidov
e39d8c001f
Merge pull request #63923 from ClickHouse/update-datasketches
Update Datasketches
2024-05-17 20:30:41 +02:00
Alexey Milovidov
8e838c2805
Merge pull request #59183 from azat/mv/extended-syntax-for-inner-table
Fix passing projections/indexes/primary key from columns list from CREATE query into inner table of MV
2024-05-17 20:21:08 +02:00
Alexey Milovidov
8236ff1cd8
Merge pull request #64020 from caioricciuti/patch-1
Update gui.md - Add ch-ui to open-source available tools.
2024-05-17 20:05:31 +02:00
Alexey Milovidov
bd9709adee
Merge pull request #64022 from ClickHouse/fix-analyzer
Fix a typo in Analyzer
2024-05-17 20:02:13 +02:00
Alexander Tokmakov
4b0df53c51
Merge pull request #63945 from ClickHouse/require-batched-jobs
Fix bug when `Required check [1/3]` is not included in Mergeable Check
2024-05-17 17:51:44 +00:00
Mikhail f. Shiryaev
38787c429f
Merge pull request #62652 from ianton-ru/fix-host-resolver-fail
Fix HostResolver behavior on fail
2024-05-17 17:37:42 +00:00
Mikhail f. Shiryaev
d6a16b81ed
Files without shebang have mime 'text/plain' or 'inode/x-empty' 2024-05-17 19:30:18 +02:00
Igor Nikonov
7e2c5c4eef Merge remote-tracking branch 'origin/master' into pr-plan-rewrite 2024-05-17 16:27:21 +00:00
Jordi Villar
16889ff032 Rollback doc example 2024-05-17 18:03:51 +02:00
Jordi Villar
acba6fd7a2 Fix typo 2024-05-17 17:57:24 +02:00
Jordi Villar
a2c040111c Improve ReplacingMergeTree is_deleted documentation 2024-05-17 17:47:35 +02:00
Igor Nikonov
d8ddabeb35 Cleanup read() in MT/RMT 2024-05-17 14:55:15 +00:00
Igor Nikonov
f990bb2a21 Fix: 02784_parallel_replicas_automatic_decision 2024-05-17 14:44:40 +00:00
Azat Khuzhin
85aa8b71a4 Fix searching for libclang_rt.builtins.*.a on FreeBSD
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-17 16:15:33 +02:00
Igor Nikonov
b8d8b76dd5 Fix 2024-05-17 13:59:39 +00:00
Nikolay Degterinsky
7f79d4f669
Merge pull request #64038 from Blargian/patch-4
[Docs] Fix small `in.md` formatting issues
2024-05-17 13:55:53 +00:00
Raúl Marín
226de66d36 Add missing settings to recoverLostReplica 2024-05-17 13:33:14 +00:00
Mikhail f. Shiryaev
2b2d2ce270
Merge pull request #64039 from ClickHouse/new-release-create-branch-only
Do not create new release in release branch automatically
2024-05-17 13:19:27 +00:00
Yarik Briukhovetskyi
44c134c657
Merge pull request #64034 from Pazitiff9/patch-1
Correction of a typo in table.md
2024-05-17 13:09:46 +00:00
Mikhail f. Shiryaev
803a52ba94
Do not create new release in release branch automatically 2024-05-17 14:50:34 +02:00