Commit Graph

109096 Commits

Author SHA1 Message Date
Han Fei
eeac1abaa5 add docs for setting async_insert_max_query_number 2023-02-21 17:49:52 +01:00
Mikhail f. Shiryaev
cd2ab02f22
Get rid of legacy DocsReleaseChecks 2023-02-21 17:34:16 +01:00
Dan Roscigno
b6612d2c18
fix anchor link 2023-02-21 11:24:39 -05:00
Alexander Tokmakov
9e2126fc1a
Merge pull request #46663 from ClickHouse/tavplubix-patch-5
Break Stress tests
2023-02-21 19:18:16 +03:00
Alexander Tokmakov
97e9df0148
Update stress 2023-02-21 19:10:44 +03:00
robot-clickhouse
af677c7dcd Automatic style fix 2023-02-21 16:08:13 +00:00
alesapin
1d4352d82a Fix integration test: terminate old version without wait 2023-02-21 17:01:19 +01:00
Kruglov Pavel
ef0d6becba
Merge branch 'master' into null-as-default-all-formats 2023-02-21 16:52:39 +01:00
Kseniia Sumarokova
3df7a10ac7
Update postgres_utility.py 2023-02-21 16:25:11 +01:00
Kseniia Sumarokova
655e7f29f7
Merge pull request #46595 from kssenii/update-rabbit-producer
Fix rabbitmq test
2023-02-21 16:18:55 +01:00
Salvatore Mesoraca
c83583e46b
ActionsDAG: do not change result of and() during optimization
Previously `and` results were inconsistent.
Some optimizations can try to simplify and completely remove a
single-argument `and`, replacing it with a cast to UInt8.
This works well for all numeric types except floats.
A float passed to `and` is normally interpreted as `bool` and
values between 0 and 1 are treated as 1.
The same value cast to an integer type will be truncated to 0.
2023-02-21 15:39:44 +01:00
chen
c1e611334a
Update s3Cluster.md 2023-02-21 21:53:44 +08:00
chen
254cb1119b
Update s3Cluster.md 2023-02-21 21:52:17 +08:00
Alexander Gololobov
2d4eae386a
Merge pull request #46613 from azat/systemd-service-timeout
Disable timeout logic for starting clickhouse-server from systemd service
2023-02-21 14:43:11 +01:00
Alexander Gololobov
5354b0d069
Merge pull request #46140 from ClickHouse/split_prewhere_dag
Split PREWHERE DAG into multiple read steps
2023-02-21 14:37:09 +01:00
Kseniia Sumarokova
a45480c11e
Merge pull request #46596 from ClickHouse/kssenii-patch-7
Fix meilisearch test flakyness
2023-02-21 14:23:07 +01:00
Kruglov Pavel
6a1621fcad
Fix flaky test 01710_normal_projections 2023-02-21 14:15:01 +01:00
Alexander Tokmakov
b5e6d74d48
More interesting settings for Stress Tests (#41534)
* Update stress

* fix

---------

Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-02-21 15:36:23 +03:00
Kseniia Sumarokova
843092e655
Merge pull request #46640 from ClickHouse/nickitat-patch-10
Fix typo in read prefetch
2023-02-21 13:32:49 +01:00
Kruglov Pavel
36870f0801
Merge pull request #46569 from ClickHouse/add-bug
Fix processing Const(LowCardinality) in arrayMap
2023-02-21 13:11:06 +01:00
Kruglov Pavel
2924e8e802
Merge pull request #46631 from bigo-sg/json_array_length
Add new function JSONArrayLength
2023-02-21 12:50:27 +01:00
Kseniia Sumarokova
1f3be929f7
Update ReadFromMergeTree.cpp 2023-02-21 12:50:26 +01:00
Igor Nikonov
2dfc0d008b Fix: remove redundant sorting optimization
+ incorrect sorting step removal in case of parent step has more than 1
  children
2023-02-21 11:48:28 +00:00
Alexander Gololobov
07e96aafda Test progress bar while filtering all rows in PREWHERE 2023-02-21 12:46:01 +01:00
Nikolay Degterinsky
51e9238950
Merge pull request #46577 from jus1096/master
Add description function
2023-02-21 12:31:35 +01:00
Nikita Taranov
593de3416b
Fix typo in read prefetch 2023-02-21 12:27:08 +01:00
Kseniia Sumarokova
09a979f106
Merge branch 'master' into update-rabbit-producer 2023-02-21 11:50:30 +01:00
Kseniia Sumarokova
17959538d8
Merge pull request #46619 from azat/fix-client-reconnect
Update 01565_reconnect_after_client_error to not expect explicit reconnect
2023-02-21 11:48:48 +01:00
Vladimir C
a791250a4a
Merge pull request #38614 from bharatnc/ncb/profile-events-partlog 2023-02-21 11:06:44 +01:00
Azat Khuzhin
19d0c929d6 Disable timeout logic for starting clickhouse-server from systemd service
After ClickHouse became systemd aware (#43400), it waits not more then
TimeoutStartSec (1m30sec by default), while before it simply ensures
that the process is there.

And likely 1m30sec can be not enough for some cluster, and this will
lead to endless restarts.

At first I've increased it to 10min, but there was a comment about that
this is not enough, and I agree with this.

But I'm not sure that using "inifinity" is a good option, but I cannot
think of any downsides of this.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 10:08:15 +01:00
Han Fei
3e4abe5800
Merge pull request #46600 from hanfei1991/hanfei/update-llvm-project
update llvm-project to fix gwp-asan
2023-02-21 10:06:32 +01:00
Azat Khuzhin
5cc183ac39 Fix timeouts in 01179_insert_values_semicolon
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 10:02:14 +01:00
Azat Khuzhin
367cf9e77c Fix 01179_insert_values_semicolon test
Back in #19925 a check for reading data after semicolon had been added,
but after #40474 it does not work, the test does not show the problem
because of timeout does not work without stdin before (a more generic
fix for timeouts in expect tests I will submit later).

To make this test works, the only type that I can found that will work
right now is DateTime64, other types does use peeking, or even if they
do, they will fail while parsing the query as SQL expression.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 10:02:14 +01:00
Azat Khuzhin
e169b36b88 Replace 01565_reconnect_after_client_error with 01565_query_loop_after_client_error
There is no need in explicit reconnect in case of client errors
(#19353), so just rewrite the test to ensure that everything works.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 08:31:06 +01:00
Azat Khuzhin
2a0cebfc49 Fix timeouts in 01565_reconnect_after_client_error
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 08:31:06 +01:00
Azat Khuzhin
d905969006 Fix 01565_reconnect_after_client_error test (wrong expect code for multi-line mode)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 08:31:06 +01:00
Jus
2945125a16
Update docs/ru/sql-reference/functions/other-functions.md
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-02-21 10:00:47 +04:00
taiyang-li
3eaad70b16 fix fast test 2023-02-21 12:31:02 +08:00
taiyang-li
eafac0f9a3 add docs 2023-02-21 11:17:44 +08:00
taiyang-li
6b5a102a5b add tests 2023-02-21 11:08:13 +08:00
taiyang-li
fcd3e44297 finish dev 2023-02-21 10:55:13 +08:00
robot-clickhouse
93aabf8c66 Automatic style fix 2023-02-21 02:06:16 +00:00
Dmitry Novik
573ce50403 Fix test 2023-02-21 01:44:10 +00:00
Dmitry Novik
16a9ac9118 Try to add test 2023-02-21 00:52:54 +00:00
Alexey Milovidov
c0b50c981a
Installation instructions in README 2023-02-21 02:53:36 +03:00
robot-clickhouse
abeb1c5ba8 Automatic style fix 2023-02-20 23:49:25 +00:00
Alexey Milovidov
f7df0fa0bf
Merge pull request #46582 from azat/tests/expect
Fix flakiness of expect tests for clickhouse-client by avoiding history overlap
2023-02-21 02:49:14 +03:00
Alexey Milovidov
d0d6306102 Fix coverity 2023-02-21 00:46:27 +01:00
Alexey Milovidov
4a2bd6e0aa Adapt a test 2023-02-21 00:43:10 +01:00
Alexey Milovidov
dc4b52e54e Adapt a test 2023-02-21 00:41:40 +01:00