Commit Graph

45412 Commits

Author SHA1 Message Date
János Benjamin Antal
7c7b0e2f51
Merge pull request #52864 from ClickHouse/remove-duplicated-dialect-setting
Remove duplicated dialect setting value
2023-08-07 11:01:46 +02:00
Alexey Gerasimchuck
7dbc0d3510
Merge branch 'master' into ADQM-1011 2023-08-07 18:54:16 +10:00
Raúl Marín
30d1452bbc Compatibility with clang-17 2023-08-07 10:48:24 +02:00
SmitaRKulkarni
75f81bdc44
Merge pull request #50795 from ClickHouse/azure_table_function_cluster
Table function azureBlobStorageCluster
2023-08-07 09:16:52 +02:00
Alexey Gerasimchuck
a5a7a121c0
Merge branch 'master' into ADQM-1011 2023-08-07 16:29:21 +10:00
Duc Canh Le
ed2a1d7c9b select required columns when getting join 2023-08-07 03:15:20 +00:00
flynn
e235edd774
Merge branch 'master' into concept 2023-08-07 10:24:25 +08:00
jiyoungyoooo
25a0079ad9
Merge branch 'master' into working 2023-08-06 18:00:54 -07:00
Alexey Gerasimchuck
da0c013b16
Merge branch 'master' into ADQM-1011 2023-08-07 07:44:57 +10:00
Antonio Andelic
182c92109b
Merge branch 'master' into add-reading-from-archives 2023-08-06 20:12:04 +02:00
Alexey Milovidov
7886e06217
Merge pull request #46051 from ucasfl/count-distinct-if
Continue of #42008, rewrite countDistinctIf with count_distinct_implementation
2023-08-06 19:31:44 +03:00
flynn
fcd79e49b9
Merge branch 'master' into concept 2023-08-06 21:43:26 +08:00
Antonio Andelic
53a60ba37a Merge branch 'master' into add-reading-from-archives 2023-08-06 10:22:05 +00:00
Antonio Andelic
cafa5ef2f3 Merge branch 'master' into add-reading-from-archives 2023-08-06 10:21:47 +00:00
jiyoungyoooo
146e5d4538
Merge branch 'master' into working 2023-08-05 22:41:10 -07:00
Tanay Tummalapalli
fd58809207 Fix description for filtering sets in full_sorting_merge join
The description of the `ReadHeadBalancedProcessor` and
`FilterBySetOnTheFlyTransform` was the same as the
`CreatingSetsOnTheFlyTransform` in an `EXPLAIN PIPELINE`
when using `full_sorting_merge`.
2023-08-06 07:53:28 +05:30
Alexey Gerasimchuck
476d5b7b2b
Merge branch 'master' into ADQM-1011 2023-08-06 10:57:54 +10:00
Alexey Milovidov
5d063e5960
Merge pull request #52974 from danipozo/s3_request_throttling_on_backups
Make it possible to throttle S3 requests on backups
2023-08-06 02:52:00 +03:00
Alexey Gerasimchuck
b65a86c530
Merge branch 'master' into ADQM-1011 2023-08-06 07:29:40 +10:00
Jiyoung Yoo
608b5ace36 Additional fix for issue#40220 2023-08-05 12:17:53 -07:00
Jiyoung Yoo
da2cb99c12 Fix for issue #40220
improve error message for table function remote
2023-08-05 12:17:53 -07:00
Antonio Andelic
1d793e69f2 Fix 2023-08-05 17:06:44 +00:00
Vitaly Baranov
80254c4034
Merge pull request #52861 from vitlibar/clickhouse-keeper-same-default-paths
Use the same default paths for clickhouse_keeper (symlink) as for clickhouse_keeper (executable)
2023-08-05 13:49:02 +02:00
Alexey Gerasimchuck
c2f94101e9
Merge branch 'master' into ADQM-1011 2023-08-05 20:35:45 +10:00
Alexey Milovidov
f309c88085
Merge branch 'master' into pqstat 2023-08-05 13:35:13 +03:00
Alexey Milovidov
5641954dfb
Merge pull request #53064 from ClickHouse/zstdfin
Fix ZstdDeflatingWriteBuffer truncating the output sometimes
2023-08-05 13:35:04 +03:00
Alexey Milovidov
6588a479af
Merge branch 'master' into pqstat 2023-08-05 13:34:48 +03:00
Ilya Yatsishin
390c97cdae
Merge pull request #52320 from ClickHouse/create-index-unique-noop 2023-08-05 10:45:06 +02:00
robot-ch-test-poll4
ce36a3cba0
Merge pull request #51537 from ClickHouse/vdimir/tmp_storage_cache_msg
Add info about acquired space in cache to not enough space error
2023-08-05 07:26:28 +02:00
Alexey Milovidov
fa49607073
Merge pull request #52159 from ClickHouse/add-test-for-throw
Add a test that clickhouse-client or local do not throw/catch on startup
2023-08-05 03:24:32 +03:00
Alexey Milovidov
70630a273a
Merge branch 'master' into readBinary-specializations 2023-08-05 03:16:29 +03:00
Alexey Milovidov
447987deea
Merge branch 'master' into revert-revert-of-db-filesystem-fix 2023-08-05 03:07:44 +03:00
Alexey Milovidov
e89bd2932c
Merge branch 'master' into vdimir/join_filter_set_sparse 2023-08-05 00:49:52 +03:00
pufit
e0576a4f59
Merge pull request #53029 from azat/clickhouse-keeper-client-completion-fix
Fix completion for clickhouse-keeper-client
2023-08-04 17:48:45 -04:00
Yarik Briukhovetskyi
22052381d9
Merge branch 'master' into add_arrays 2023-08-04 23:17:06 +02:00
Michael Kolupaev
4ed86fea2f Fix Parquet stats for Float32 and Float64 2023-08-04 21:01:07 +00:00
Alexey Milovidov
e6c3224dfd
Merge pull request #50848 from LiuYangkuan/issue_#50808
Allow using cluster, clusterAllReplicas, remote, and remoteSecure without table name
2023-08-04 23:56:05 +03:00
Michael Kolupaev
9a128fa554 Fix ZstdDeflatingWriteBuffer truncating the output sometimes 2023-08-04 20:47:45 +00:00
Kseniia Sumarokova
166ac7a8be
Merge pull request #53047 from kssenii/fix-logical-error-in-cache
Fix cache related logical error in stress tests
2023-08-04 22:27:55 +02:00
Alexey Milovidov
7f4ce7697b
Merge branch 'master' into vdimir/tmp_storage_cache_msg 2023-08-04 23:11:28 +03:00
SmitaRKulkarni
1e3ae89161
Merge branch 'master' into azure_table_function_cluster 2023-08-04 21:39:32 +02:00
flynn
9b8f87e9ac
Merge branch 'master' into concept 2023-08-05 02:41:55 +08:00
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
Yarik Briukhovetskyi
50039210d4
Update FunctionBinaryArithmetic.h 2023-08-04 17:27:10 +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
yariks5s
21b4f82873 fixed fast and style check 2023-08-04 14:28:58 +00:00
Antonio Andelic
49ae853ae6 Fix sanitizer warnings 2023-08-04 13:57:18 +00: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
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
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
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
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
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
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
a16c764b26
fix build in Planner/CollectSets.cpp 2023-08-04 10:07:43 +00: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
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
Elena Torró
9279d1e331 Update setting's description 2023-08-04 11:26:13 +02:00
Antonio Andelic
d4d93331dd Merge branch 'master' into add-reading-from-archives 2023-08-04 09:00:20 +00: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
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
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
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
hendrik-m
72e6b1d2d4 use tryReadQuotedStringInto 2023-08-03 21:12:20 +02: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
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
Yarik Briukhovetskyi
da7f71d761
Update FunctionBinaryArithmetic.h 2023-08-03 17:20:16 +02:00
yariks5s
e9872d0e72 fixed issues 2023-08-03 14:44:14 +00:00
vdimir
13d5ef9164
Convert sparse to full in CreateSetAndFilterOnTheFlyStep 2023-08-03 14:43:03 +00:00
avogar
f0eb22ac5f Fix build for S3Queue 2023-08-03 14:20:19 +00:00
Alexey Milovidov
a7eddd6ffb
Merge branch 'master' into issue_#50808 2023-08-03 16:09:40 +03:00
robot-clickhouse-ci-1
6b330e30b0
Merge pull request #52961 from arenadata/ADQM-1077
Added peak_memory_usage to clickhouse-client final progress message
2023-08-03 14:52:29 +02:00
Anton Popov
92cb5e9ae3
Merge pull request #52687 from alkorgun/fix-named-collections-on-cluster-23.7
Fix named collections on cluster 23.7
2023-08-03 14:50:28 +02:00
Alexey Milovidov
29d386fec2
Merge branch 'master' into count-distinct-if 2023-08-03 15:36:11 +03:00
Alexey Milovidov
86f9c120d7 Merge branch 'master' into more-checks-in-thread-status 2023-08-03 14:34:31 +02:00