Commit Graph

142096 Commits

Author SHA1 Message Date
Michael Kolupaev
0fd52c36c6
Merge pull request #61632 from bigo-sg/opt_string_ascii
Process string functions XXXUTF8 'asciily' if input strings are all ascii chars
2024-05-13 22:13:01 +00:00
divanik
6ec868a3df Add schema inference test 2024-05-13 20:04:21 +00:00
Kseniia Sumarokova
562027055e
Update 03145_non_loaded_projection_backup.sh 2024-05-13 21:53:55 +02:00
kssenii
cab2c160fe Fix log level 2024-05-13 21:39:34 +02:00
Raúl Marín
61fb090850 Merge remote-tracking branch 'blessed/master' into micro_analyzer 2024-05-13 20:46:48 +02:00
Sema Checherinda
d8856b06d8 add unit tests, add new counter AddressesBanned 2024-05-13 20:34:45 +02:00
Nikolai Kochetov
7e5fc0d61d Fix #63653 2024-05-13 18:05:59 +00:00
Nikolai Kochetov
ebd0865fb0
Merge pull request #62922 from ClickHouse/more-cases-for-group-by-use-nulls
group_by_use_nulls strikes back
2024-05-13 18:00:33 +00:00
avogar
4be7f1f9df Don't randomize some settings in 02941_variant_type_* tests to avoid timeouts 2024-05-13 17:26:15 +00:00
Kseniia Sumarokova
1c527e86aa
Update test.py 2024-05-13 19:16:05 +02:00
Maxim Alexeev
9c2e1bfce6 fixed review 2024-05-13 19:39:45 +03:00
Raúl Marín
68e76aefc1 Better asserts in ColumnString.h 2024-05-13 18:25:32 +02:00
Raúl Marín
c1a03eca6f Add missing explicit instantiations of ColumnUnique 2024-05-13 18:22:59 +02:00
p1rattttt
0bd39b86d5
Merge branch 'ClickHouse:master' into external_cross_join 2024-05-13 19:06:59 +03:00
Nikolai Kochetov
f89e05c15b
Update 03151_analyzer_view_read_only_necessary_columns.sql 2024-05-13 18:05:26 +02:00
Anton Ivashkin
58c53fa50b Move some logic to HostResolver::Record methods 2024-05-13 18:03:32 +02:00
Anton Ivashkin
22f1c197e5 Test for HostResolver fail_count 2024-05-13 18:03:32 +02:00
Anton Ivashkin
87785e1c38 Set failed only for single record in HostResolver 2024-05-13 18:03:32 +02:00
Anton Ivashkin
08a2d192c5 Fix HostResolver behavior on fail 2024-05-13 18:03:32 +02:00
kssenii
4b270e9078 Add a test 2024-05-13 17:15:26 +02:00
Yarik Briukhovetskyi
b5f7e48c16
empty commit 2024-05-13 17:11:06 +02:00
Nikolai Kochetov
bd8cad1d8e Fix fuzzed analyzer_join_with_constant query 2024-05-13 15:10:51 +00:00
Alexander Tokmakov
8bb24e6a36
Update InterpreterCreateQuery.cpp 2024-05-13 17:00:14 +02:00
Alexander Tokmakov
7ffd71d77b
Update InterpreterCreateQuery.cpp 2024-05-13 16:17:18 +02:00
Kruglov Pavel
67cf40810a
Merge pull request #63690 from mneedham/patch-3
Explain map insertion order
2024-05-13 13:49:39 +00:00
Alexander Tokmakov
997f2742d7 fix test 2024-05-13 15:46:25 +02:00
Igor Nikonov
7b043b9d9a Merge remote-tracking branch 'origin/master' into pr-simple-cleanup 2024-05-13 13:33:55 +00:00
Nikolai Kochetov
e59a515f1b Add a test with Nested and replicated database. 2024-05-13 13:23:41 +00:00
Dmitry Novik
2458defd01 Analyzer: Forbid WINDOW redefinition 2024-05-13 15:16:35 +02:00
Antonio Andelic
449aacb3d0
Correct 2024-05-13 15:08:52 +02:00
Antonio Andelic
2b38b8a97b
Correct byte count 2024-05-13 14:49:26 +02:00
Dmitry Novik
5e1a3b5601
Update src/Interpreters/InterpreterSelectQueryAnalyzer.cpp 2024-05-13 14:48:33 +02:00
Igor Nikonov
aff8bea1e6 selectRangesToRead() simple cleanup 2024-05-13 12:47:19 +00:00
divanik
dc8f8a9a18 Resolve several issues 2024-05-13 12:37:03 +00:00
Nikolai Kochetov
bb9652998b Another attemtp. 2024-05-13 12:26:10 +00:00
Mikhail f. Shiryaev
baffd31423
Fix typos 2024-05-13 14:21:15 +02:00
Mikhail f. Shiryaev
dab1e5002e
Upgrade the runner version to the latest 2024-05-13 14:21:14 +02:00
Mikhail f. Shiryaev
599c512e0b
Patch runner helpers and check the exit code for attempts 2024-05-13 14:21:13 +02:00
Mikhail f. Shiryaev
cbf02f69d5
Add a fallback for autoupdate if GH actions runner fails to start 2024-05-13 14:21:13 +02:00
Mikhail f. Shiryaev
ee49e237da
Clean github runner's temporary _work derectory between runs 2024-05-13 14:21:12 +02:00
Mikhail f. Shiryaev
b74ce036fa
Make init-network.sh sourceable, tune runner's tailscale hostname 2024-05-13 14:21:11 +02:00
Maksim Kita
fefd071ec7 Fixed tests 2024-05-13 15:20:02 +03:00
divanik
faef8807d2 Resolve conflicts 2024-05-13 12:04:06 +00:00
divanik
d468a0a577 Add archives reading support to s3 2024-05-13 12:00:15 +00:00
Azat Khuzhin
599fce53e3 Fix compiling FunctionsConversion.cpp (by properly passing -g0)
CI reports [1]:

    May 11 20:27:25 FAILED: src/CMakeFiles/dbms.dir/Functions/FunctionsConversion.cpp.o
    May 11 20:27:25 prlimit --as=10000000000 --data=5000000000 --cpu=1800 /usr/bin/sccache /usr/bin/clang++-17 --target=riscv64-linux-gnu --sysroot=/build/cmake/linux/../../contrib/sysroot/linux-riscv64 -DANNOYLIB_MULTITHREADED_BUILD -DBOOST_ASIO_HAS_STD_INVOKE_RESULT=1 -DBOOST_ASIO_STANDALONE=1 -DBOOST_TIMER_ENABLE_DEPRECATED=1 -DCONFIGDIR=\"\" -DDUMMY_BACKTRACE -DENABLE_ANNOY -DENABLE_MULTITARGET_CODE=1 -DENABLE_USEARCH -DHAVE_BZLIB_H=1 -DHAVE_CONFIG_H -DHAVE_FUTIMESAT=1 -DHAVE_ICONV=1 -DHAVE_LIBLZMA=1 -DHAVE_LIBZSTD=1 -DHAVE_LIBZSTD_COMPRESSOR=1 -DHAVE_LINUX_FS_H=1 -DHAVE_LINUX_TYPES_H=1 -DHAVE_LZMA_H=1 -DHAVE_STRUCT_STAT_ST_MTIM_TV_NSEC=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_ZLIB_H=1 -DHAVE_ZSTD_H=1 -DINCBIN_SILENCE_BITCODE_WARNING -DLIBSASL_EXPORTS=1 -DLZ4_DISABLE_DEPRECATE_WARNINGS=1 -DLZ4_FAST_DEC_LOOP=1 -DMAJOR_IN_SYSMACROS=1 -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -DPLUGINDIR=\"\" -DPOCO_ENABLE_CPP11 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DSASLAUTHD_CONF_FILE_DEFAULT=\"\" -DSNAPPY_CODEC_AVAILABLE -DSTD_EXCEPTION_HAS_STACK_TRACE=1 -DUSE_CLICKHOUSE_THREADS=1 -DWITH_COVERAGE=0 -DWITH_GZFILEOP -DZLIB_COMPAT -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -I/build/build_docker/includes/configs -I/build/src -I/build/build_docker/src -I/build/build_docker/src/Core/include -I/build/base/base/.. -I/build/build_docker/base/base/.. -I/build/contrib/cctz/include -I/build/contrib/re2 -I/build/base/pcg-random/. -I/build/contrib/libfiu/libfiu -I/build/contrib/libssh/include -I/build/build_docker/contrib/libssh/include -I/build/contrib/miniselect/include -I/build/contrib/zstd/lib -I/build/contrib/pocketfft -I/build/contrib/libarchive-cmake -I/build/contrib/libarchive/libarchive -I/build/build_docker/contrib/cyrus-sasl-cmake -I/build/contrib/lz4/lib -isystem /build/contrib/llvm-project/libcxx/include -isystem /build/contrib/llvm-project/libcxxabi/include -isystem /build/contrib/libunwind/include -isystem /build/contrib/libdivide-cmake/. -isystem /build/contrib/libdivide -isystem /build/contrib/jemalloc-cmake/include -isystem /build/contrib/llvm-project/llvm/include -isystem /build/build_docker/contrib/llvm-project/llvm/include -isystem /build/contrib/abseil-cpp -isystem /build/contrib/croaring/cpp -isystem /build/contrib/croaring/include -isystem /build/contrib/sparsehash-c11 -isystem /build/contrib/incbin -isystem /build/contrib/cityhash102/include -isystem /build/contrib/boost -isystem /build/base/poco/Net/include -isystem /build/base/poco/Foundation/include -isystem /build/base/poco/NetSSL_OpenSSL/include -isystem /build/base/poco/Crypto/include -isystem /build/contrib/openssl-cmake/linux_riscv64/include -isystem /build/contrib/openssl/include -isystem /build/base/poco/Util/include -isystem /build/base/poco/JSON/include -isystem /build/base/poco/XML/include -isystem /build/contrib/replxx/include -isystem /build/contrib/fmtlib-cmake/../fmtlib/include -isystem /build/contrib/magic_enum/include -isystem /build/contrib/double-conversion -isystem /build/contrib/dragonbox/include -isystem /build/contrib/zlib-ng -isystem /build/build_docker/contrib/zlib-ng-cmake -isystem /build/contrib/pdqsort -isystem /build/contrib/xz/src/liblzma/api -isystem /build/contrib/aws/src/aws-cpp-sdk-core/include -isystem /build/build_docker/contrib/aws-cmake/include -isystem /build/contrib/aws/generated/src/aws-cpp-sdk-s3/include -isystem /build/contrib/aws-c-auth/include -isystem /build/contrib/aws-c-common/include -isystem /build/contrib/aws-c-io/include -isystem /build/contrib/aws-crt-cpp/include -isystem /build/contrib/aws-c-mqtt/include -isystem /build/contrib/aws-c-sdkutils/include -isystem /build/contrib/azure/sdk/core/azure-core/inc -isystem /build/contrib/azure/sdk/identity/azure-identity/inc -isystem /build/contrib/azure/sdk/storage/azure-storage-common/inc -isystem /build/contrib/azure/sdk/storage/azure-storage-blobs/inc -isystem /build/contrib/snappy -isystem /build/build_docker/contrib/snappy-cmake -isystem /build/contrib/libbcrypt -isystem /build/contrib/msgpack-c/include -isystem /build/build_docker/contrib/liburing/src/include-compat -isystem /build/build_docker/contrib/liburing/src/include -isystem /build/contrib/liburing/src/include -isystem /build/contrib/fast_float/include -isystem /build/contrib/librdkafka-cmake/include -isystem /build/contrib/librdkafka/src -isystem /build/build_docker/contrib/librdkafka-cmake/auxdir -isystem /build/contrib/cppkafka/include -isystem /build/contrib/nats-io/src -isystem /build/contrib/nats-io/src/adapters -isystem /build/contrib/nats-io/src/include -isystem /build/contrib/nats-io/src/unix -isystem /build/contrib/libuv/include -isystem /build/contrib/krb5/src/include -isystem /build/build_docker/contrib/krb5-cmake/include -isystem /build/contrib/NuRaft/include -isystem /build/base/poco/MongoDB/include -isystem /build/base/poco/Redis/include -isystem /build/contrib/icu/icu4c/source/i18n -isystem /build/contrib/icu/icu4c/source/common -isystem /build/contrib/capnproto/c++/src -isystem /build/contrib/avro/lang/c++/api -isystem /build/contrib/google-protobuf/src -isystem /build/contrib/s2geometry/src -isystem /build/contrib/s2geometry-cmake -isystem /build/contrib/AMQP-CPP/include -isystem /build/contrib/AMQP-CPP -isystem /build/contrib/sqlite-amalgamation -isystem /build/contrib/rocksdb/include -isystem /build/contrib/libpqxx/include -isystem /build/contrib/libpq -isystem /build/contrib/libpq/include -isystem /build/contrib/libstemmer_c/include -isystem /build/contrib/wordnet-blast -isystem /build/contrib/lemmagen-c/include -isystem /build/contrib/ulid-c/include -isystem /build/contrib/simdjson/include -isystem /build/contrib/rapidjson/include -isystem /build/contrib/consistent-hashing -isystem /build/contrib/annoy/src -isystem /build/contrib/FP16/include -isystem /build/contrib/robin-map/include -isystem /build/contrib/SimSIMD-map/include -isystem /build/contrib/usearch/include --gcc-toolchain=/build/cmake/linux/../../contrib/sysroot/linux-riscv64 -fdiagnostics-color=always -Xclang -fuse-ctor-homing -Wno-enum-constexpr-conversion -fsized-deallocation  -gdwarf-aranges -pipe -fasynchronous-unwind-tables -ffile-prefix-map=/build=. -ftime-trace -falign-functions=32 -ffp-contract=off  -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-pie -std=c++23   -D OS_LINUX -Werror -Wno-deprecated-declarations -Wno-poison-system-directories -nostdinc++ -MD -MT src/CMakeFiles/dbms.dir/Functions/FunctionsConversion.cpp.o -MF src/CMakeFiles/dbms.dir/Functions/FunctionsConversion.cpp.o.d -o src/CMakeFiles/dbms.dir/Functions/FunctionsConversion.cpp.o -c /build/src/Functions/FunctionsConversion.cpp
    May 11 20:27:25 sccache: warning: The server looks like it shut down unexpectedly, compiling locally instead

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/63632/e795e0e028d45b654e099dee136a44e7ac5ed627/clickhouse_special_build_check/report.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-13 13:53:44 +02:00
Mark Needham
13b2980761
Explain map insertion order 2024-05-13 11:59:47 +01:00
Yarik Briukhovetskyi
df9961f266
rename function 2024-05-13 12:46:21 +02:00
Maksim Kita
b8c719f866 Analyzer view read only necessary columns 2024-05-13 13:41:47 +03:00
Antonio Andelic
e65dd3d939 Cancel S3 reads properly when parallel reads are used 2024-05-13 12:36:29 +02:00
Vitaly Baranov
6c0450f8ff
Merge pull request #62685 from azat/yaml-cpp-merge-key
Bump yaml-cpp for YAML Merge Key support
2024-05-13 09:49:25 +00:00