Commit Graph

121724 Commits

Author SHA1 Message Date
Antonio Andelic
49ae853ae6 Fix sanitizer warnings 2023-08-04 13:57:18 +00:00
Vitaly Baranov
89c99e4a6d Revert extracting the root keeper path from the 'path' key in the configuration ('path' must be reserved for clickhouse-server). 2023-08-04 15:55:26 +02:00
Alexey Milovidov
b31358933b
Merge pull request #52954 from ClickHouse/fix-error-code
Fix wrong error code "BAD_GET"
2023-08-04 16:26:33 +03:00
pufit
d916601717
Merge branch 'master' into pufit/keeper-client-fix-defaults 2023-08-04 09:04:14 -04:00
pufit
fd0d3abdf7
Merge pull request #52957 from ClickHouse/evillique-patch-1
Fix config update in HTTP Header Filtering
2023-08-04 09:00:36 -04:00
pufit
30a7bda91a
Merge branch 'master' into clickhouse-keeper-client-completion-fix 2023-08-04 08:52:56 -04:00
pufit
b2055d466e
Merge pull request #53031 from azat/clickhouse-keeper-client-set-version-fix
clickhouse-keeper-client: fix version parsing for set command
2023-08-04 08:48:52 -04:00
Antonio Andelic
d2b6646fc2 Merge branch 'master' into add-reading-from-archives 2023-08-04 12:42:46 +00:00
János Benjamin Antal
087c35c23d Remove duplicated dialect setting value 2023-08-04 13:54:05 +02:00
alesapin
f37a63a8ca
Merge pull request #53042 from elenatorro/fix-minor-format-errors-in-s3-integration-docs
Fix description for 's3_upload_part_size_multiply_parts_count_threshold' setting
2023-08-04 13:47:43 +02:00
Vitaly Baranov
552331fd54 Use the same default paths for clickhouse_keeper (symlink) as for clickhouse_keeper (executable),
i.e. "/var/lib/clickhouse-keeper/.."
2023-08-04 13:38:21 +02:00
Alexander Tokmakov
0874b507df
remove obsolete no-upgrade-check tag (#52915) 2023-08-04 14:09:59 +03:00
kssenii
12ed37e99a Fix 2023-08-04 13:08:01 +02:00
Kruglov Pavel
cb46682199
Merge pull request #51806 from Avogar/formats-with-subcolumns
Support reading subcolumns from file/s3/hdfs/url/azureBlobStorage table functions
2023-08-04 13:03:25 +02:00
Kruglov Pavel
b1fe9ce8f7
Merge branch 'master' into formats-with-subcolumns 2023-08-04 13:01:12 +02:00
kssenii
4b8b78f220 Revert "Merge pull request #53044 from ClickHouse/revert-52155-database-filesystem-remove-catch"
This reverts commit e71f20891f, reversing
changes made to aa9ab58994.
2023-08-04 12:41:55 +02:00
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
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
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