Commit Graph

118849 Commits

Author SHA1 Message Date
Robert Schulze
3f744c1e14
Cosmetics: rename template parameter 2023-07-06 14:47:40 +00:00
Robert Schulze
7644f0b37c
Cosmetics: move code around 2023-07-06 14:44:06 +00:00
Dan Roscigno
b6b2830086
Merge pull request #51778 from RoryCrispin/docs-remove-async-ml-event-time
(docs) Remove async_metric_log event_time_microseconds
2023-07-06 10:33:17 -04:00
Alexey Milovidov
9314a5ee19 Merge remote-tracking branch 'origin/evillique-patch-2' into many-fixes-3 2023-07-06 16:24:22 +02:00
Alexey Milovidov
6d8434c702 Merge branch 'master' into many-fixes-3 2023-07-06 16:17:32 +02:00
Alexey Milovidov
1fa21700ad Merge remote-tracking branch 'origin/less-flaky-test_start_stop_moves' into many-fixes-3 2023-07-06 16:17:13 +02:00
Mikhail f. Shiryaev
6bbaade4a6
Update sccache, do not fail on connection error 2023-07-06 16:09:52 +02:00
Robert Schulze
5a6957d95e
Disable ThinLTO on non-Linux
Cross-compiling on Linux for Mac failed with CMake parameters
-DCMAKE_BUILD_TYPE=None -DENABLE_CLICKHOUSE_SELF_EXTRACTING=1
-DENABLE_TESTS=0 (see below). This happened e.g. in #51243.

The problem was that ThinLTO enabled/disabled depends on ENABLE_TESTS
(see the top-level CMakeLists.txt). If ENABLE_TESTS=0 then ThinLTO is
activated. On Linux, building/linking works with or without ThinLTO but
on Mac building/linking the self-extracting compressor binary doesn’t
work if ThinLTO is on. This is quite weird, as a workaround restrict
ThinLTO to Linux.

-------

[185/187] Linking CXX static library base/glibc-compatibility/libglibc-compatibility.a
[186/187] Linking CXX static library contrib/zstd-cmake/lib_zstd.a
[187/187] Linking CXX executable utils/self-extracting-executable/pre_compressor
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ubuntu/repo/ch4/build
[0/2] Re-checking globbed directories...
[108/108] Linking CXX executable utils/self-extracting-executable/pre_compressor
FAILED: utils/self-extracting-executable/pre_compressor
: && /usr/bin/clang++-16 --target=x86_64-apple-darwin -std=c++20 -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 -ffile-prefix-map=/home/ubuntu/repo/ch4=. -falign-functions=32 -mbranches-within-32B-boundaries -stdlib=libc++ -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 -Wn
o-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 -O2 -g -DNDEBUG -O3 -g -gdwarf-4  -flto=thin -fwhole-program-vtables -isysroot /home/ubuntu/repo/ch4/cmake/darwin/..
/toolchain/darwin-x86_64 -mmacosx-version-min=10.15 -Wl,-headerpad_max_install_names --ld-path=/home/ubuntu/cctools/bin/x86_64-apple-darwin-ld -rdynamic -Wl,-U,_inside_main  -flto=thin -fwhole-program-vtables utils/self-extracting-executable/CMakeFiles/pre_compressor.dir/compressor.cpp.o -o utils/self-extracting-executable/pre_compressor  contrib/zstd-cmake/lib_zstd.a  contrib/libcxx-cmake/libcxx.a  contrib/lib
cxxabi-cmake/libcxxabi.a  -nodefaultlibs  -lc -lm -lpthread -ldl && :
clang: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
ld: warning: ignoring file utils/self-extracting-executable/CMakeFiles/pre_compressor.dir/compressor.cpp.o, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0xDE 0xC0 0x17 0x0B 0x00 0x00 0x00 0x00 0x14 0x00 0x00 0x00 0x88 0x3E 0x03 0x00 )
ld: warning: ignoring file contrib/zstd-cmake/lib_zstd.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file contrib/libcxxabi-cmake/libcxxabi.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x23 0x31 0x2F 0x31 0x32 0x20 0x20 0x20 )
ld: warning: ignoring file contrib/libcxx-cmake/libcxx.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x23 0x31 0x2F 0x31 0x32 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
2023-07-06 13:07:02 +00:00
Rory Crispin
77d62f495b
Merge branch 'master' into docs-remove-async-ml-event-time 2023-07-06 13:38:20 +01:00
Alexander Tokmakov
52a26a6653
Merge pull request #51708 from velavokr/velavokr-issue-51292
#51292 added default_temporary_table_engine setting
2023-07-06 15:18:14 +03:00
Alexander Tokmakov
79b60458e6
Merge pull request #51774 from ClickHouse/less-flay-02481_async_insert_race_long
Making stateless tests with timeout less flaky
2023-07-06 15:08:29 +03:00
Alexander Tokmakov
537104e7cc
Merge branch 'master' into less-flay-02481_async_insert_race_long 2023-07-06 15:03:13 +03:00
xiaolei565
0c3ce1f634
Merge branch 'master' into xuelei_dev 2023-07-06 19:47:07 +08:00
Kseniia Sumarokova
52780e5ced
Merge pull request #50625 from kssenii/add-separate-access-for-use-named-collections
Add USE NAMED COLLECTION access type
2023-07-06 12:18:11 +02:00
Kseniia Sumarokova
e97e107bcc
Merge branch 'master' into add-separate-access-for-use-named-collections 2023-07-06 12:16:53 +02:00
Kseniia Sumarokova
5ac85f4fa8
Merge pull request #51822 from kssenii/minor-changes
Follow up to #51547
2023-07-06 12:10:50 +02:00
Kseniia Sumarokova
605e833576
Merge branch 'master' into minor-changes 2023-07-06 12:09:01 +02:00
Antonio Andelic
7281bda072 Merge branch 'master' into fix-flaky-keeper-map-test 2023-07-06 06:43:27 +00:00
Antonio Andelic
085f7caccf Move config changes after configure 2023-07-06 06:30:47 +00:00
Antonio Andelic
0b0ce5191c Merge branch 'master' into less-flaky-test_start_stop_moves 2023-07-06 06:17:29 +00:00
Antonio Andelic
af0de3d614 Small fixes 2023-07-06 06:17:11 +00:00
alekar
f37e08a945
Merge branch 'master' into fix-to-outfile 2023-07-05 21:25:21 -07:00
Feng Kaiyu
3db83b58b8
Merge branch 'ClickHouse:master' into master 2023-07-06 11:04:10 +08:00
xiaolei565
0e4192f590
Merge branch 'master' into xuelei_dev 2023-07-06 10:35:22 +08:00
Alexey Milovidov
38c163b066 Improve test 2023-07-06 03:43:59 +02:00
Alexey Milovidov
e2c9f86f39 Better usability of a test 2023-07-06 03:31:10 +02:00
Alexey Milovidov
64d5a85f6e Fix test_replicated_table_attach 2023-07-06 03:16:06 +02:00
Alexey Milovidov
5416b7b6df Fix incorrect log level = warning 2023-07-06 03:04:58 +02:00
Alexey Milovidov
2e454ef89e
Merge branch 'master' into disks-space-improvement 2023-07-06 03:58:45 +03:00
Alexey Milovidov
376c903da9
Merge pull request #51518 from ClickHouse/qemu-chroot-fixes
Allow running in a stripped chroot environment
2023-07-06 03:57:04 +03:00
Alexey Milovidov
d7782f6518 Merge branch 'fix_keyed_hash' of github.com:nickitat/ClickHouse into many-fixes-3 2023-07-06 02:47:51 +02:00
Alexey Milovidov
c8ff294f0c
Merge pull request #51623 from nickitat/remove_ch_log_comment
Remove `unset CLICKHOUSE_LOG_COMMENT` from tests
2023-07-06 03:44:28 +03:00
Alexey Milovidov
0ae7f6bc80
Merge branch 'master' into fix-text_log 2023-07-06 03:33:35 +03:00
Alexey Milovidov
82a80cf694 Merge branch 'tests/02050_client_profile_events' of github.com:azat/ClickHouse into many-fixes-3 2023-07-06 02:32:47 +02:00
Alexey Milovidov
db14b2c54f Remove useless logs 2023-07-06 02:16:38 +02:00
Alexey Milovidov
52927192af
Merge branch 'master' into add-test-42691 2023-07-06 02:52:30 +03:00
Alexey Milovidov
75d051dd55 Remove useless packages 2023-07-06 01:49:53 +02:00
Alexey Milovidov
b75a83d32d Merge remote-tracking branch 'origin/vdimir/anti_join_logical_error_51312' into many-fixes-3 2023-07-06 01:21:38 +02:00
Alexey Milovidov
85e7d40755
Merge branch 'master' into add-test-43358 2023-07-06 02:20:28 +03:00
Alexey Milovidov
698c49cd51
Update 02811_invalid_embedded_rocksdb_create.sql 2023-07-06 02:19:03 +03:00
Alexey Milovidov
98da25f1d3 Fix build 2023-07-06 01:17:41 +02:00
Alexey Milovidov
a2479fcafd
Merge pull request #49428 from nickitat/try_fix_hdfs_tests
Fix `BindException: Address already in use` in HDFS integration tests
2023-07-06 01:51:09 +03:00
Alexey Milovidov
2c592a6a2c
Merge pull request #51805 from ClickHouse/fix_for_parallel_replicas_and_empty_header
Fix for parallel replicas not completely disabled by granule count threshold
2023-07-06 01:46:52 +03:00
Alexey Milovidov
9cadcb16a3
Update 02811_parallel_replicas_prewhere_count.sql 2023-07-06 01:46:30 +03:00
Alexey Milovidov
b28fa1f054 Merge branch 'many-fixes-3' of github.com:ClickHouse/ClickHouse into many-fixes-3 2023-07-05 23:54:48 +02:00
Alexey Milovidov
9bcc85d60f Merge branch 'fix-drop-column-sparse' of github.com:CurtizJ/ClickHouse into many-fixes-3 2023-07-05 23:54:27 +02:00
Alexey Milovidov
7a593ed9a5
Merge pull request #51655 from rschu1ze/re2-absl
Minor follow-up to re2 update to 2023-06-02 (#50949)
2023-07-06 00:52:16 +03:00
Alexey Milovidov
d1a8d0590e
Merge branch 'master' into many-fixes-3 2023-07-06 00:46:11 +03:00
Alexey Milovidov
a3ae0cc385 Merge remote-tracking branch 'origin/fix_flaky_02210_processors_profile_log' into many-fixes-3 2023-07-05 23:45:49 +02:00
Alexey Milovidov
157ef96687
Merge branch 'master' into master 2023-07-06 00:43:07 +03:00