Commit Graph

121927 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
Yarik Briukhovetskyi
e7dbe50ad7
Update FunctionBinaryArithmetic.h 2023-08-04 15:54:44 +02:00
Yarik Briukhovetskyi
777e575b31
Update src/Functions/FunctionBinaryArithmetic.h
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-08-04 15:27: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
Mikhail f. Shiryaev
3c85590af4
Merge branch 'master' into only-debug-upgrade-check 2023-08-04 14:48:47 +02:00
yariks5s
ded98144cb Merge branch 'add_arrays' of github.com:yariks5s/ClickHouse into add_arrays 2023-08-04 12:43:10 +00:00
yariks5s
699be8ce71 changed suggestions 2023-08-04 12:43:02 +00:00
Antonio Andelic
d2b6646fc2 Merge branch 'master' into add-reading-from-archives 2023-08-04 12:42:46 +00:00
János Benjamin Antal
c874e5955b Remove upgrade checks with sanitizers 2023-08-04 12:33:11 +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
Duc Canh Le
8aaa46ca90 StorageJoin: do not create clone hash join with all columns 2023-08-04 11:07:33 +00: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
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