Commit Graph

121839 Commits

Author SHA1 Message Date
Antonio Andelic
569adafd9a Split tests based on type 2023-08-04 10:33:25 +00:00
Alexander Tokmakov
e71f20891f
Merge pull request #53044 from ClickHouse/revert-52155-database-filesystem-remove-catch
Revert "Remove try/catch from DatabaseFilesystem"
2023-08-04 13:31:30 +03:00
Alexander Tokmakov
aa9ab58994
Update 01114_database_atomic.sh (#53043) 2023-08-04 13:31:15 +03:00
Alexander Tokmakov
0b312f541a
Revert "Remove try/catch from DatabaseFilesystem" 2023-08-04 13:29:28 +03:00
robot-ch-test-poll4
34b8872118
Merge pull request #52947 from ClickHouse/analyzer-fix-with-resolve
Analyzer: fix WITH clause resolving
2023-08-04 12:29:01 +02:00
vdimir
1142180302
upd tests/analyzer_tech_debt.txt 2023-08-04 10:09:36 +00:00
vdimir
a16c764b26
fix build in Planner/CollectSets.cpp 2023-08-04 10:07:43 +00:00
alesapin
109b0197d6
Merge pull request #52984 from ClickHouse/remove-test_host_regexp_multiple_ptr_records_concurrent
Remove `test_host_regexp_multiple_ptr_records_concurrent`, CC @arthurpassos
2023-08-04 11:58:19 +02:00
Val Doroshchuk
3d7bf0626c MaterializedMySQL: Add tests to alter named collections 2023-08-04 11:50:53 +02:00
vdimir
8050edaff6
style convertFieldToTypeStrict 2023-08-04 09:45:13 +00:00
vdimir
caa9dc5d82
Fix hashing for set literals in analyzer 2023-08-04 09:45:13 +00:00
vdimir
079c6783a2
Update decimal_in tests for analyzer 2023-08-04 09:45:12 +00:00
vdimir
0032eb9ab7
Fix IN with decimal in analyzer 2023-08-04 09:45:08 +00:00
Alexey Gerasimchuck
60103812d6 tests update 2023-08-04 09:43:06 +00:00
Val Doroshchuk
3cea474ccf MaterializedMySQL: Fix the infinite loop in ReadBuffer::read
This fixes https://github.com/ClickHouse/ClickHouse/issues/33549

The infinite loop caused because sometimes the pos of ReadBuffer overflows the end.

It happens f.e. when `MySQLPacketPayloadReadBuffer::nextImpl` might return empty buffer,
because `in.nextIfAtEnd();` could not read more bytes and thus no bytes available (pos == end).
It might happen when a network error or the connection to MySQL was closed or killed.
This leads to empty `working_buffer` but successful returning from the func.
And check `if (in.eof())` from `MySQLBinlogEventReadBuffer::nextImpl()` fails and also causes empty its `working_buffer` and successul return.

At the end `payload.ignore(1)` and `payload.read(c)` produces the infinite loop since it is not eof() and ++pos overflows the end of the buffer.

Should be tested by `test_mysql_kill*` from test.py
2023-08-04 11:34:31 +02:00
Kseniia Sumarokova
1795ba65e1
Merge pull request #52971 from valbok/utf-dml-test
MaterializedMySQL: Add tests for unquoted utf8 column names in DML
2023-08-04 11:27:55 +02:00
Kseniia Sumarokova
39916f15eb
Merge branch 'master' into utf-dml-test 2023-08-04 11:26:43 +02:00
Elena Torró
9279d1e331 Update setting's description 2023-08-04 11:26:13 +02:00
Elena Torró
58bea8d067 Format 's3_upload_part_size_multiply_parts_count_threshold' info 2023-08-04 11:23:41 +02:00
robot-ch-test-poll2
c556ad96f6
Merge pull request #52948 from ClickHouse/refactor-ci-config
Refactor CI_CONFIG
2023-08-04 11:10:12 +02:00
alesapin
4390129511
Merge pull request #52989 from ClickHouse/relax_test
Remove assertion from test_no_ttl_merges_in_busy_pool
2023-08-04 11:00:56 +02:00
Antonio Andelic
d4d93331dd Merge branch 'master' into add-reading-from-archives 2023-08-04 09:00:20 +00:00
alesapin
23c355821a
Merge pull request #53007 from ClickHouse/disable_test_with_tsan
Fix flaky test
2023-08-04 10:59:57 +02:00
Antonio Andelic
8e7eb7f3fa Fix tests 2023-08-04 08:59:55 +00:00
Kseniia Sumarokova
af610062ec
Merge pull request #52962 from canhld94/fix_mysql_password_leak
Fix password leak in show create mysql table
2023-08-04 10:57:59 +02:00
SmitaRKulkarni
def587701b
Merge pull request #52855 from ClickHouse/Fix_flaky_azure_blob_storage_tests
Fix flaky tests in test_merge_tree_azure_blob_storage & test_storage_azure_blob_storage
2023-08-04 09:59:30 +02:00
Alexander Gololobov
f2700b0c30
Merge pull request #52965 from azat/tests/01293_client_interactive_vertical_multiline
tests: fix 01293_client_interactive_vertical_multiline flakiness (increase timeout)
2023-08-04 09:57:41 +02:00
Alexander Gololobov
936dd5cd4d
Merge branch 'master' into tests/01293_client_interactive_vertical_multiline 2023-08-04 09:53:24 +02:00
Azat Khuzhin
94fcae58b9 clickhouse-keeper-client: fix version parsing for set command
Previously:

    / :) set /test foo 1
    DB::Exception: Bad get: has UInt64, requested Int64

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-08-04 09:50:45 +02:00
Azat Khuzhin
eda396eb7c Fix completion for clickhouse-keeper-client
Previously some symbols had been counted as word breakers, and this
breaks the completion since after such symbol the completion will start
from scratch.

One of the most annoying was the "-" sign.

But actually all those word breakers that is used for SQL completion is
not required for keeper client, so let's leave only necessary.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-08-04 09:24:32 +02:00
Alexey Gerasimchuck
be067e0ddf removed no-parallel 2023-08-04 06:25:31 +00:00
Alexey Gerasimchuck
24cdaf305d Reduced test flakiness 2023-08-04 06:09:29 +00:00
robot-clickhouse
e8017d7af0
Merge pull request #42019 from ClickHouse/more-checks-in-thread-status
Add more checks into ThreadStatus ctor.
2023-08-04 05:56:28 +02:00
Vitaly Baranov
75b553bf08
Merge pull request #52402 from vitlibar/disable-fs-cache-for-backups
Disable updating fs cache during backup/restore.
2023-08-04 01:22:24 +02:00
Vitaly Baranov
587877dba3
Merge branch 'master' into disable-fs-cache-for-backups 2023-08-04 01:15:23 +02:00
Vitaly Baranov
0af043459a
Merge pull request #52660 from vitlibar/remove-unnecessary-temp-context-access
Remove creation of a unnecessary temporary ContextAccess on login
2023-08-04 01:08:12 +02:00
Alexey Gerasimchuck
1e7daca85b Added new tests for session_log plus bugfix 2023-08-03 22:06:33 +00:00
hendrik-m
b53084ce43 fix style 2023-08-03 22:07:05 +02:00
Alexey Milovidov
eb546dd6b3
Merge branch 'master' into add-test-for-throw 2023-08-03 23:02:21 +03:00
Alexey Milovidov
95f5d2f37f
Merge pull request #52155 from ClickHouse/database-filesystem-remove-catch
Remove try/catch from DatabaseFilesystem
2023-08-03 23:02:01 +03:00
Nikita Mikhaylov
0d40a45c76
Merge pull request #53008 from ClickHouse/docker-server-no-inline
Do not use inline cache in server images
2023-08-03 21:42:31 +02:00
Nikita Mikhaylov
a8285ddfe5
Merge pull request #53013 from ClickHouse/nikitamikhaylov-patch-1
Add a test to broken tests (Analyzer)
2023-08-03 21:42:06 +02:00
hendrik-m
72e6b1d2d4 use tryReadQuotedStringInto 2023-08-03 21:12:20 +02:00
hendrik-m
921b1eecb5 revert changes of clickhouse local to clickhouse-local 2023-08-03 21:12:20 +02:00
Nikita Mikhaylov
8a7870f250
Add a test to broken tests (Analyzer) 2023-08-03 20:24:29 +02:00
pufit
14a8ced906 Fix default port 2023-08-03 12:29:31 -04:00
Alexander Tokmakov
968c79cf3f
Merge pull request #52956 from ClickHouse/fixes_for_databases
Fix some issues with databases
2023-08-03 19:13:41 +03:00
Mikhail f. Shiryaev
ca67576720
Do not use inline cache in server images 2023-08-03 18:06:00 +02:00
alesapin
49f76b8600 Fix flaky test 2023-08-03 18:02:32 +02:00
Kseniia Sumarokova
68b48a0bc0
Merge pull request #50063 from KevinyhZou/minor_improve_hdfs_read_buffer
Minor improve HDFS ReadBuffer for read end of file
2023-08-03 17:55:48 +02:00