Commit Graph

142840 Commits

Author SHA1 Message Date
Azat Khuzhin
64a308013f Tune mmap_rnd_bits to workaround sanitizers issues
v1: vm.mmap_rnd_bits=28
v2: rebase with clang 18.1.6 + kernel.randomize_va_space=0
v3: leave only vm.mmap_rnd_bits=28 + use pre-run.sh (hope that it will
    be used), that way docker will not require --privileged and by some
    reason this breaks ASAN (though I cannot reproduce it)
v4: use actions/common_setup over init_runner.sh (it requires some
    manual deploy)
2024-05-19 22:37:16 +02:00
kssenii
ea774b673a Better test 2024-05-19 22:25:56 +02:00
kssenii
c2a613e94d Better 2024-05-19 22:08:36 +02:00
Robert Schulze
e8d66bf4d7
Cosmetics, pt. III 2024-05-19 19:16:24 +00:00
kssenii
93b11c57a0 Fix azure backup uploaded block size 2024-05-19 21:14:06 +02:00
alesapin
2765fd951c Properly support native copy for azure 2024-05-19 21:02:12 +02:00
Robert Schulze
08a3c16a5a
Cosmetics, pt. II 2024-05-19 18:53:51 +00:00
Robert Schulze
1293a0f795
Cosmetics, pt. I 2024-05-19 18:47:58 +00:00
pufit
61a8a9ee8c
Merge branch 'master' into pufit/63777-fix-sql-security-with-analyzer 2024-05-19 14:29:09 -04:00
Robert Schulze
d72cd45bd8
Merge remote-tracking branch 'ClickHouse/master' into add-serial-function 2024-05-19 18:04:18 +00:00
Robert Schulze
56e8027883
Improve comment 2024-05-19 17:53:06 +00:00
Robert Schulze
4a8e663b1a
Fix clang-tidy after clang-18 transition 2024-05-19 17:34:55 +00:00
Robert Schulze
83572b7f05
Trigger build 2024-05-19 17:23:52 +00:00
Max K
5698ef698d check overall wf status in mergeable check 2024-05-19 18:02:15 +02:00
Yakov Olkhovskiy
513900cb52 assume columns from projection are aggregates 2024-05-19 15:44:19 +00:00
Yohann Jardin
524f289f47 empty commit 2024-05-19 17:20:22 +02:00
avogar
29bc623147 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-data-type 2024-05-19 14:54:42 +00:00
Robert Schulze
f143ae6969
Fix build 2024-05-19 14:31:21 +00:00
Alexey Milovidov
a28309689f
Update MergeTreeIndexSet.h 2024-05-19 16:13:58 +03:00
Alexey Milovidov
11af3fd54f
Update MergeTreeIndexSet.cpp 2024-05-19 16:13:41 +03:00
pufit
bb0fcc9296 better tests 2024-05-19 08:33:37 -04:00
Igor Markelov
2ce4b7941f Merge branch 'master' into add-compression-sorts-optimization 2024-05-19 12:26:42 +00:00
avogar
75d163da12 Fix tests 2024-05-19 12:17:01 +00:00
Alexey Milovidov
e18fa68f3d
Update MergeTreeIndexSet.cpp 2024-05-19 15:00:14 +03:00
Alexey Milovidov
31f0b2f741
Update MergeTreeIndexSet.cpp 2024-05-19 14:52:51 +03:00
Alexey Milovidov
332ec7c51f
Update MergeTreeIndexSet.cpp 2024-05-19 14:28:04 +03:00
Robert Schulze
17ce449076
Move isAllASCII from UTF8Helpers to StringUtils 2024-05-19 09:39:48 +00:00
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/ 2024-05-19 09:39:36 +00:00
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
9969f9cf30
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-19 08:26:39 +00:00
Robert Schulze
f065128ef2
Fix style 2024-05-19 07:16:07 +00:00
Yakov Olkhovskiy
a67418bcc8 add NOT_AN_AGGREGATE exception for interpolate expression columns 2024-05-19 07:14:37 +00: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
Yakov Olkhovskiy
79b3f52dc5 only interpolate expression should be used for DAG 2024-05-18 23:18:41 +00:00
pufit
3a79b1facc fix test 2024-05-18 17:15:01 -04: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
pufit
9ba21335e4 fix test 2024-05-18 12:20:24 -04: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
Igor Markelov
5000d3d5fb Merge branch 'master' into add-compression-sorts-optimization 2024-05-18 12:25:49 +00: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