Commit Graph

121732 Commits

Author SHA1 Message Date
Alexey Milovidov
e5d3e348ce
Merge pull request #52635 from hendrik-m/table-names-as-string-literal
Allow writing table name as a string literal
2023-08-04 20:09:59 +03:00
Kruglov Pavel
d4441fed5e
Merge pull request #52862 from Avogar/local-assert
Fix possible assert in ~PushingAsyncPipelineExecutor in clickhouse-local
2023-08-04 19:09:07 +02:00
Alexey Milovidov
6f88fc282b
Merge branch 'master' into count-distinct-if 2023-08-04 19:04:36 +03:00
Victor Krasnov
a2f48e5bb3 Merge branch 'master' into ADQM-985 2023-08-04 19:02:18 +03:00
Ilya Yatsishin
0f63a90206
Merge branch 'master' into create-index-unique-noop 2023-08-04 17:53:57 +02:00
kssenii
0f427cbdea Fix 02722_database_filesystem/s3/hdfs with analyzer 2023-08-04 17:36:45 +02:00
Daniel Pozo Escalona
ed43d6f780
Merge branch 'master' into s3_request_throttling_on_backups 2023-08-04 16:57:47 +02:00
kssenii
53d9de0997 Fix rare race condition with key prefix directory cleanup 2023-08-04 16:34:05 +02:00
Alexey Milovidov
376eeeb842
Fix test_zookeeper_config (#52988)
* Fix `test_zookeeper_config`

* Update tests/integration/test_zookeeper_config/test.py

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>

* Update tests/integration/test_zookeeper_config/test.py

* Update test.py

---------

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-08-04 17:18:50 +03:00
Vitaly Baranov
f55fe91d8b Throw an exception if wrong default path is going to be used. 2023-08-04 16:13:27 +02:00
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
Anton Popov
991abde851 fix reading of empty Nested(Array(...)) 2023-08-04 13:10:50 +00: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