Commit Graph

80151 Commits

Author SHA1 Message Date
kssenii
38ca791465 Fix 2021-12-25 22:00:28 +03:00
kssenii
c4db4309c2 Better 2021-12-25 21:47:16 +03:00
alexey-milovidov
0a55fa3dc2
Revert "Grouping sets dev" 2021-12-25 20:30:31 +03:00
alexey-milovidov
6c3b3bd0c5
Merge pull request #33168 from ClickHouse/fix-clang-tidy
Fix clang-tidy
2021-12-25 20:28:20 +03:00
Alexey Milovidov
12a851b85c Add simple tool to visualize flaky tests 2021-12-25 20:21:30 +03:00
kssenii
e663cb4574 Fix detaching-attaching table with schema 2021-12-25 19:51:55 +03:00
freedomDR
1d8ddffa78 add test 2021-12-25 16:44:12 +00:00
kssenii
688cffb8be Update postgres doc 2021-12-25 16:37:44 +03:00
alexey-milovidov
f9d961d46d
Merge pull request #33164 from azat/fix-test_async_drain_connection
Fix test_async_drain_connection flakiness
2021-12-25 16:23:17 +03:00
Kruglov Pavel
22dbaec11a
Merge pull request #33142 from Avogar/fix-s3-write
Don't allow to write into S3 if path contains globs
2021-12-25 16:07:38 +03:00
Alexey Milovidov
f78678dc3f Great simplification of test 01622_defaults_for_url_engine 2021-12-25 16:01:35 +03:00
Alexey Milovidov
fa25a95273 Fix clang-tidy 2021-12-25 15:41:07 +03:00
Roman Bug
2ce3c6c91d Update RU translation. 2021-12-25 14:52:15 +03:00
alexey-milovidov
795564ee1b
Merge pull request #33161 from ClickHouse/fix-test-02098
Fix Date32 test
2021-12-25 12:26:27 +03:00
Roman Bug
c434432878
Update docs/en/operations/settings/settings.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-12-25 12:18:22 +03:00
Roman Bug
19038b0afd
Update docs/en/operations/settings/settings.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-12-25 12:18:17 +03:00
Azat Khuzhin
42ab02a810 Fix test_async_drain_connection flakiness
Sometimes [1] 5 seconds is not enough, since drain_timeout is 3 seconds,
and 2 seconds sometimes is not enough to do other things, especially
under sanitizers:

    E           Code: 159. DB::Exception: Received from 172.16.1.2:9000. DB::Exception: Timeout exceeded: elapsed 5.019254094 seconds, maximum: 5. Stack trace:

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/0/826f7cb0f53e20e67ef52800cb735bb88a6de658/integration_tests__thread__actions__[4/4].html
2021-12-25 11:55:57 +03:00
Azat Khuzhin
da211909e9 tests/integration: refactor test_async_drain_connection 2021-12-25 11:55:57 +03:00
Yatian Xu
3fa78c5642 test case for metrics: StorageBufferBytes 2021-12-25 00:43:45 -08:00
Yatian Xu
2e151a278d correct table name 2021-12-25 00:03:23 -08:00
Yatian Xu
02362a35b4 add test case for metrics: StorageBufferBytes 2021-12-25 00:02:02 -08:00
taiyang-li
a88b2975c0 inject into system.build_options 2021-12-25 15:45:50 +08:00
alexey-milovidov
c583ea7e6b
Merge pull request #32484 from Algunenano/libcxx13_take2
libc++ 13 compatibility
2021-12-25 10:14:12 +03:00
Alexey Milovidov
555ae50c4e Fix Date32 test 2021-12-25 10:11:31 +03:00
alexey-milovidov
1c6359f6a6
Merge pull request #33160 from ClickHouse/cleanup-trash
Cleanup trash from Kafka, HDFS and Azure
2021-12-25 10:01:31 +03:00
alexey-milovidov
4d99f1016d
Merge pull request #33146 from CurtizJ/fix-column-sparse
Fix functions with sparse arguments in case when result type doesn't support sparse serialization
2021-12-25 06:28:19 +03:00
alexey-milovidov
47d50c3bd1
Merge pull request #33140 from kssenii/azure-tests-fix
Fix azure blob storage tests failures
2021-12-25 06:25:26 +03:00
alexey-milovidov
0b6c1b5110
Merge pull request #33153 from azat/fix-shared-hermetic-build-pie
Fix shared hermetic builds on Arch linux
2021-12-25 06:24:14 +03:00
alexey-milovidov
1dcd3f9403
Merge pull request #33154 from azat/fix-ccache-heavy-builds
Fix ccache with ENABLE_CHECK_HEAVY_BUILDS (ccache 4.0 and 4.1 only affected)
2021-12-25 06:23:58 +03:00
alexey-milovidov
26a735c52f
Merge pull request #32984 from Avogar/bool-type
Improve Bool data type
2021-12-25 06:22:54 +03:00
Alexey Milovidov
f03cb4c762 Cleanup trash from Kafka and HDFS 2021-12-25 06:10:59 +03:00
alexey-milovidov
d15da636f6
Update ReadBufferFromAzureBlobStorage.cpp 2021-12-25 05:57:15 +03:00
alexey-milovidov
bcd4df789d
Update WriteBufferFromAzureBlobStorage.cpp 2021-12-25 05:56:15 +03:00
alexey-milovidov
f2075fac64
Update ReadBufferFromAzureBlobStorage.cpp 2021-12-25 05:55:49 +03:00
alexey-milovidov
81b1804f3e
Merge pull request #33144 from den-crane/patch-51
Doc. refresh zh/ru/ja on_time doc
2021-12-25 05:52:27 +03:00
Yatian Xu
565a38a2e3 fix incorrect metric: StorageBufferBytes 2021-12-24 17:49:59 -08:00
Azat Khuzhin
83074c06bf Fix ccache with ENABLE_CHECK_HEAVY_BUILDS (ccache 4.0 and 4.1 only affected)
Before this patch ccache 4.0/4.1 has not been working correctly with
ENABLE_CHECK_HEAVY_BUILDS, this was because of mixing
CMAKE_CXX_COMPILER_LAUNCHER/CMAKE_C_COMPILER_LAUNCHER and
RULE_LAUNCH_LINK/RULE_LAUNCH_COMPILE.

Fixes: #28845
2021-12-25 00:06:32 +03:00
Azat Khuzhin
6651bc7dc8 Fix shared hermetic builds on Arch linux
On Arch linux clang uses PIE by default, and so it requires Scrt1.o:

    $ /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 --gcc-toolchain=/src/ch/clickhouse/cmake/linux/../../contrib/sysroot/linux-x86_64 -std=c++20 ... -o base/base/tests/dump_variable ...
    clang version 13.0.0
    Target: x86_64-unknown-linux-gnu
    Thread model: posix
    InstalledDir: /usr/bin
    Found candidate GCC installation: /src/ch/clickhouse/cmake/linux/../../contrib/sysroot/linux-x86_64/lib/gcc/x86_64-linux-gnu/9
    Selected GCC installation: /src/ch/clickhouse/cmake/linux/../../contrib/sysroot/linux-x86_64/lib/gcc/x86_64-linux-gnu/9
    Candidate multilib: .;@m64
    Selected multilib: .;@m64
     "/usr/bin/ld.lld" --sysroot=/src/ch/clickhouse/cmake/linux/../../contrib/sysroot/linux-x86_64/x86_64-linux-gnu/libc -pie -export-dynamic --eh-frame-hdr -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o base/base/tests/dump_variable Scrt1.o ...
             ^^^^^^^
2021-12-24 23:43:12 +03:00
kssenii
b4420cfa3e Fix 2021-12-24 22:51:36 +03:00
alesapin
20c0599751
Merge pull request #33151 from ClickHouse/add_pretty_print
Debugging PR info
2021-12-24 21:47:20 +03:00
alesapin
9687f1603a Better 2021-12-24 21:34:24 +03:00
alesapin
d154c1c17a
Merge pull request #33150 from ClickHouse/add_pretty_print
Better jepsen
2021-12-24 21:27:21 +03:00
alesapin
a7752eb144 Better jepsen workflow 2021-12-24 21:26:06 +03:00
alesapin
bd7f5ea50f Better 2021-12-24 21:22:29 +03:00
alesapin
7318248136
Merge pull request #33149 from ClickHouse/add_pretty_print
Better pr info for unknown events
2021-12-24 21:03:23 +03:00
alesapin
46569e7a5b Better 2021-12-24 21:02:40 +03:00
alesapin
b10114a034
Merge pull request #33148 from ClickHouse/add_pretty_print
Add pretty print unknow event
2021-12-24 20:58:23 +03:00
alesapin
9d83b904de Add pretty print unknow event 2021-12-24 20:57:32 +03:00
alexey-milovidov
888a5532a6
Merge pull request #33134 from ClickHouse/musl-check-2
Prepare ClickHouse to be built with musl-libc
2021-12-24 19:44:47 +03:00
Anton Popov
c37f1c40be fix functions with sparse arguments 2021-12-24 19:39:50 +03:00