Commit Graph

101830 Commits

Author SHA1 Message Date
Alexey Milovidov
a4797d372f
Merge branch 'master' into ubuntu-cruft 2022-11-13 05:12:32 +01:00
Alexey Milovidov
c2ddef897f
Update Dockerfile.ubuntu 2022-11-13 07:12:25 +03:00
Alexey Milovidov
dee11f11a1 Add a test 2022-11-13 05:07:05 +01:00
Alexey Milovidov
f5270a6ebe A workaround for LLVM bug, https://github.com/llvm/llvm-project/issues/58633 2022-11-13 04:51:46 +01:00
Alexey Milovidov
045fd06510 Clarifications 2022-11-13 04:30:43 +01:00
Alexey Milovidov
ddc01fd05e Add a test 2022-11-13 04:24:51 +01:00
Alexey Milovidov
7aec54b95a Clarifiactions 2022-11-13 04:19:32 +01:00
Alexey Milovidov
c06bff6615 More praise for heroes 2022-11-13 04:12:58 +01:00
Alexey Milovidov
90643aeba1 Clarifiactions 2022-11-13 04:10:20 +01:00
Alexey Milovidov
884603cc5b Clarifiactions 2022-11-13 04:08:17 +01:00
Alexey Milovidov
3096534d6a Clarifiactions 2022-11-13 04:07:29 +01:00
Alexey Milovidov
9e8fca3b42 Update test 2022-11-13 03:59:10 +01:00
Alexey Milovidov
ba05b7dd2c Add documentation for AsynchronousMetrics 2022-11-13 03:36:20 +01:00
Alexey Milovidov
5a0b7b2947 Add documentation for AsynchronousMetrics 2022-11-13 02:59:01 +01:00
Alexander Gololobov
661c5cd0ae
fixed type 2022-11-12 23:58:09 +01:00
Igor Nikonov
b806ee6b7e Merge remote-tracking branch 'origin/master' into igor/keeper_fault_injection_in_stress_test 2022-11-12 21:05:10 +00:00
Igor Nikonov
1b7b878520 don't randomize keeper fault injection setting for inserts 2022-11-12 21:04:01 +00:00
Dale Mcdiarmid
c2a3d83197 fix link 2022-11-12 20:20:35 +00:00
Dale Mcdiarmid
b5428f535e fix 2022-11-12 20:19:29 +00:00
Joanna Hulboj
42de468665 Fixed unexpected behaviour of Interval types with subquery and casting 2022-11-12 19:47:06 +00:00
Alexey Milovidov
6599016aec Fix annoying messages in AsynchronousMetrics 2022-11-12 19:09:45 +01:00
Alexey Milovidov
c9d4598962 Fix annoying messages in AsynchronousMetrics 2022-11-12 19:09:37 +01:00
Alexey Milovidov
b8c877db29 Fix annoying messages in AsynchronousMetrics 2022-11-12 19:07:28 +01:00
Alexey Milovidov
e4a6f2a8e1 Fix the indent field in the git-import tool 2022-11-12 18:54:48 +01:00
Azat Khuzhin
f2260ab724 Add a test for unavalable web server and web disk
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-12 13:25:10 +01:00
Azat Khuzhin
de5d777ca2 tests/integration: add ability not to retry server start
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-12 13:20:51 +01:00
Alexander Gololobov
4ad8e2974d Simplify the logic by just adding ORDER BY list to SELECT 2022-11-12 12:58:53 +01:00
Azat Khuzhin
1510adeca9 Fix retries for web disk
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-12 12:45:19 +01:00
Azat Khuzhin
4bb7832f63 Handle 404 errors as non fatal during obtaining list from web disk
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-12 12:37:26 +01:00
Azat Khuzhin
fd7635dc26 Introduce HTTPException
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-12 12:37:26 +01:00
Azat Khuzhin
d28411f68b Do not suppress exceptions in web disk
Before this patch it is possible that web disk will suppress it and
instead of got an exception during read you will get just zero records:

    2022.10.28 15:18:30.739698 [ 10663 ] {} <Error> ReadWriteBufferFromHTTP: HTTP request to `http://127.0.0.1:8080/store/a3e/a3e65e1f-5fd4-47ed-9dbd-307f2586b52d/detached/.index` failed at try 1/1 with bytes read: 0/unknown. Error: Connection refused. (Current backoff wait is 100/1600 ms)
    2022.10.28 15:18:30.841210 [ 10663 ] {} <Trace> DiskWeb: Cannot load disk metadata. Error: Poco::Exception. Code: 1000, e.code() = 111, Connection refused (version 22.11.1.1...

Here this exception received on initialization, from server context,
i.e. w/o query context and that's why it hadn't throw, and eventually
you will just zero records:

    SELECT *
    FROM data_from_web

    Query id: ee544a5e-3c67-4fb4-8f14-f8e4a082b237

    Ok.

    0 rows in set. Elapsed: 0.019 sec.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-12 12:37:26 +01:00
Yakov Olkhovskiy
60d116729c adjustments for progress option 2022-11-12 02:55:26 +00:00
Alexander Gololobov
0e031f93e9 Properly fill ORDER BY ast to find all required columns during mutation 2022-11-12 00:17:28 +01:00
Alexander Gololobov
86f0194964 A test to update columns that are used in projection 2022-11-12 00:16:48 +01:00
Maksim Kita
ebde28bc50
Merge pull request #43118 from kitaisreal/analyzer-aggregation-crash-fix
Analyzer aggregation crash fix
2022-11-12 01:15:22 +03:00
Ilya Yatsishin
b9f2ae6c24
Merge pull request #43114 from qoega/trailing-newline-sqlancer-status 2022-11-11 21:56:12 +01:00
Igor Nikonov
0208fff321 Randomize keeper fault injection settings in stress tests 2022-11-11 18:45:15 +00:00
Igor Nikonov
b12ebab65c Enable keeper fault injection and retries for insert queries in
funcntional tests
2022-11-11 18:07:15 +00:00
Igor Nikonov
ee5756b5b4
Merge pull request #43122 from ClickHouse/revert-43116-revert-42607-igor/insert_zk_retries_retry
Revert "Revert " Keeper retries during insert (clean)""
2022-11-11 18:22:38 +01:00
Raúl Marín
5a3f324311 Try adding compatibility on write instead of on read 2022-11-11 18:12:34 +01:00
Dmitry Novik
31794284cb
Merge pull request #43105 from ClickHouse/overcommit-test
Rewrite tests for memory overcommit
2022-11-11 17:34:53 +01:00
Nikolai Kochetov
505af344c4
Merge pull request #42612 from FArthur-cmd/UTC_timestamp
Add functions for PowerBI connect
2022-11-11 17:27:29 +01:00
Alexander Tokmakov
dbf64e2712 fix 2022-11-11 17:23:40 +01:00
xiedeyantu
5504f3af9b fix skip_unavailable_shards does not work using s3Cluster table function 2022-11-12 00:03:36 +08:00
kssenii
616da1f695 Review fixed, style check fix 2022-11-11 16:50:02 +01:00
avogar
28c090f7a5 Fix decimal math overflow in parsing datetime with 'best effort' algorithm 2022-11-11 15:42:53 +00:00
avogar
5ec748c664 Fix function if in case of NULL and const Nullable arguments 2022-11-11 14:49:49 +00:00
Azat Khuzhin
ddfea23804 Do not include libcxx library for C
If you will have the same header in both libraries you may have some
tricky failures.

And there is at least one header that exists in both: stdatomic.h

Right now there is a workaround for this header, that allows to use C++
version of this header for C - the workaround is called "set
_LIBCPP_COMPILER_CLANG_BASED not only for CXX" [1] and use include_next
[2].

  [1]: 9a457ab3c6/include/__config (L39)
  [2]: 9a457ab3c6/include/stdatomic.h (L223-L231)

However #42730 changes this, and now it fails to compile because of this.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-11 14:43:14 +01:00
Dale Mcdiarmid
b010645c91 play links 2022-11-11 13:40:10 +00:00
serxa
ad377b357f fix backup tests 2022-11-11 13:24:43 +00:00