Commit Graph

101475 Commits

Author SHA1 Message Date
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
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
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
avogar
b5f99db6ac Merge branch 'improve-schema-inference-insert-select' of github.com:Avogar/ClickHouse into improve-schema-inference-insert-select 2022-11-11 12:50:47 +00:00
avogar
e83878493c Update settings history 2022-11-11 12:50:17 +00:00
Yatsishin Ilya
dee865ce78 Fix trailing \n from SQLancer status 2022-11-11 13:48:55 +01:00
avogar
66c0af1a1c Move test 2022-11-11 12:46:57 +00:00
Dale Mcdiarmid
fbe84e0853 Merge remote-tracking branch 'upstream/master' into git_analysis 2022-11-11 12:34:53 +00:00
Dale Mcdiarmid
e064fb38cc edits to github repo analysis 2022-11-11 12:34:23 +00:00
Amos Bird
444ab24792
Fix gtest 2022-11-11 20:12:14 +08:00
Alfonso Martinez
f24991fa56 Remove pushing a last 0 in FixedStrings 2022-11-11 13:02:30 +01:00
Raúl Marín
0c30325aa4 Went too far 2022-11-11 12:58:19 +01:00
Kruglov Pavel
4ecbcbf5e1
Merge branch 'master' into MaterializedMySQL_improvement_bug_fix 2022-11-11 12:54:02 +01:00
Kruglov Pavel
a42daf504c
Merge pull request #43086 from stigsb/savepoint-fix
Ignore SAVEPOINT queries in MaterializedMySQL
2022-11-11 12:53:05 +01:00
Raúl Marín
547cd71423 Address some sanitizer issues 2022-11-11 12:47:14 +01:00
Nikolai Kochetov
63d06c8b53
Merge pull request #42829 from ClickHouse/read-in-order-from-query-plan
Read-in-order over query plan
2022-11-11 12:15:20 +01:00
Raúl Marín
d4a0b76abf Fix compilation 2022-11-11 12:08:43 +01:00
Robert Schulze
cbe4e2b8ce
Merge pull request #42673 from bigo-sg/enable_max_splits
Add optional max_tokens argument for function splitByRegexp
2022-11-11 11:11:26 +01:00
Alfonso Martinez
5d53ec9da8 Cleaned and replace some Strings by using chars directly 2022-11-11 11:07:05 +01:00
Raúl Marín
54db7c6520 Enforce checking read output 2022-11-11 10:56:18 +01:00