Commit Graph

52734 Commits

Author SHA1 Message Date
Raúl Marín
a0222c0479 Fix problem detected by UBSAN 2024-02-01 11:46:59 +01:00
vdimir
a043227685
Fix ARRAY JOIN with subcolumns in analyzer 2024-02-01 10:36:31 +00:00
Maksim Kita
f62fdb86b8 Fixed tests 2024-02-01 12:51:50 +03:00
Maksim Kita
ecbea6f625 Updated implementation 2024-02-01 12:51:50 +03:00
Maksim Kita
88f1381739 Poco Logger small refactoring 2024-02-01 12:51:50 +03:00
Kseniia Sumarokova
b3418c506e
Update src/Storages/S3Queue/S3QueueSettings.h
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-01 10:28:33 +01:00
Konstantin Bogdanov
896c55dd98
Remove redundant dependency 2024-02-01 09:52:00 +01:00
Konstantin Bogdanov
6871d233e9
Adjust threadpool name 2024-02-01 09:52:00 +01:00
Konstantin Bogdanov
3de507b545
Update comment 2024-02-01 09:52:00 +01:00
Konstantin Bogdanov
5969668503
Concurrent table creation in DatabaseReplicated 2024-02-01 09:51:52 +01:00
Azat Khuzhin
8b26dd0b69 Fix stacktraces for binaries without debug symbols
During refactoring in #58610 it had been broken since itassumes that the
information about file is always available, otherwise it will not print
symbol name.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-01 09:32:59 +01:00
Julia Kartseva
bbaa08199a Introduce polling timeout for asynchronous queue
The current timeout for checking updates in the asynchronous queue is
equal to the timeout used for queue entry
(async_insert_busy_timeout_ms).
That means that, in the worst case, an entry spends twice the time of the
asynchronous timeout in the queue.
2024-02-01 08:27:41 +00:00
Antonio Andelic
2a582f4b18
Merge pull request #59439 from ClickHouse/fix-digest-calculation
Fix digest calculation in Keeper
2024-02-01 09:25:30 +01:00
Dmitry Novik
5b630ed745
Merge pull request #59399 from azat/build/format-fwd-decl
Forward declaration for PeekableReadBuffer
2024-02-01 09:15:07 +01:00
taiyang-li
d9820f9704 change as request 2024-02-01 11:13:26 +08:00
taiyang-li
ddc6aad8ff merge master 2024-02-01 10:58:33 +08:00
Alexey Milovidov
33f6940214 CLion says these headers are unused 2024-02-01 03:50:09 +01:00
kssenii
361b2f107b Allow to define a starting point for s3queue ordered mode 2024-01-31 21:28:18 +01:00
Antonio Andelic
08f91907dc Fix digest calculation 2024-01-31 16:08:22 +00:00
Alexander Gololobov
5947e5b5a8 Use retry settings and fault injection 2024-01-31 16:48:46 +01:00
Vitaly Baranov
a193e01c8f
Merge pull request #54737 from arenadata/ADQM-1150
Added maximum sequential login failures to the quota.
2024-01-31 16:06:17 +01:00
Dmitry Novik
572d47acc7 Remove logging 2024-01-31 14:43:06 +00:00
Dmitry Novik
0d21004218 WIP on StorageMerge 2024-01-31 13:50:15 +00:00
Raúl Marín
dad6ea0930
Merge pull request #59239 from Algunenano/parallel_replicas_cte
Disable parallel replicas JOIN with CTE (not analyzer)
2024-01-31 14:45:13 +01:00
Kruglov Pavel
4987708583
Merge pull request #59298 from Avogar/fix-getting-filename-from-read-buffers
Fix getting filename from read buffer wrappers
2024-01-31 14:34:07 +01:00
Kruglov Pavel
325419b096
Merge pull request #59398 from Avogar/variant-type-func
Add function variantType
2024-01-31 13:06:54 +01:00
Raúl Marín
f67bff12b7
Merge pull request #59148 from bigo-sg/improve_if_with_floating
Continue optimizing branch miss of if function when result type is float*/decimal*/int*
2024-01-31 12:42:06 +01:00
Nikolai Kochetov
7e722b52a9
Merge pull request #59003 from kitaisreal/revert-57519-revert-53562-group_sorted_array_function
Revert "Revert "Add new aggregation function groupArraySorted()""
2024-01-31 12:31:26 +01:00
Raúl Marín
f875151b97
Merge pull request #59379 from Algunenano/fix_translate_asserts
Add sanity checks for function return types
2024-01-31 11:56:11 +01:00
Kseniia Sumarokova
b20567a055
Merge pull request #59167 from ClickHouse/s3-queue-parallelize-ordered-mode
S3Queue: allow parallel & disrtibuted processing for ordered mode
2024-01-31 11:20:41 +01:00
Kseniia Sumarokova
caaafbcedb
Merge pull request #56864 from ClickHouse/broken-projections-better-handling
Do not consider data part as broken if projection is broken
2024-01-31 11:17:15 +01:00
Raúl Marín
d45b248f96
Merge pull request #59356 from Algunenano/fix_translate
Fix translate() with FixedString input
2024-01-31 11:14:53 +01:00
taiyang-li
dc7b9d8208 fix conflicts 2024-01-31 17:37:37 +08:00
taiyang-li
2ad7607bad opt if when input type is map 2024-01-31 17:33:47 +08:00
Dmitry Novik
ac17ad1e66
Merge pull request #59073 from ClickHouse/fix-analyzer-resolve-distr-id
Analyzer: Do not resolve remote table id on initiator
2024-01-31 09:08:30 +01:00
taiyang-li
a89890babe fix bug of quantileGK 2024-01-31 12:14:04 +08:00
taiyang-li
818fb9802a change as request 2024-01-31 11:48:02 +08:00
Alexey Gerasimchuck
076fb1de31 Updated the authentication failures counter logic 2024-01-30 23:52:33 +00:00
Nikita Taranov
1be8b61c5b add test 2024-01-30 21:52:32 +01:00
Igor Nikonov
d8a6e53d0b Use FQDN as host name by default for TCP
- instead of display_name setting value
2024-01-30 20:27:30 +00:00
Joanna Hulboj
2859ce4f1c Remove octal issues when parsing with input_format_values_interpret_expressions=0 2024-01-30 20:12:24 +00:00
Dmitry Novik
722f3db738 Merge remote-tracking branch 'origin/master' into storage-merge-aliases-analyzer 2024-01-30 19:50:01 +00:00
Nikita Taranov
17ab2674f4 impl 2024-01-30 20:35:10 +01:00
Kruglov Pavel
bd3bb05308
Fix 2024-01-30 20:32:59 +01:00
Kruglov Pavel
46432da743
Remove unneded file 2024-01-30 20:30:17 +01:00
Kruglov Pavel
8c69a6e28d
Fix build 2024-01-30 20:28:56 +01:00
Raúl Marín
4b5e992565 Fix problems 2024-01-30 19:34:01 +01:00
Raúl Marín
299c390d2b Add some fuzzing to ASTLiterals 2024-01-30 19:34:01 +01:00
Azat Khuzhin
010f1c6cb7 Forward declaration for PeekableReadBuffer
ReadHelpers.h is very common header and is the root cause of "recompile
everything".

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-01-30 19:24:19 +01:00
Alexander Gololobov
c348c4e828 Move ZooKeeperRetries.h to Common 2024-01-30 19:02:17 +01:00
avogar
584694ed51 Add function variantType 2024-01-30 18:01:12 +00:00
Alexey Milovidov
bb95790c83
Merge pull request #59393 from ClickHouse/24.2-prepare
Update version after release
2024-01-30 18:50:20 +01:00
Alexey Milovidov
4ddba907c8 Update autogenerated version to 24.2.1.1 and contributors 2024-01-30 18:49:28 +01:00
Alexander Gololobov
82c06ca294 Use ZooKeeperRetriesControl 2024-01-30 18:31:37 +01:00
Maksim Kita
600eae00cc Fixed code review issues 2024-01-30 19:50:18 +03:00
Alexander Gololobov
023b8cbd53 Retry disconnects and expired sessions 2024-01-30 17:47:11 +01:00
Maksim Kita
1c5b377b3a Fixed code review issues 2024-01-30 19:36:40 +03:00
Yarik Briukhovetskyi
5816424c2b
Merge pull request #59119 from AVMusorin/trailing-comma-tuples
Allow trailing commas in types with several items
2024-01-30 16:31:54 +01:00
kssenii
145f6a31cb Fix 2024-01-30 16:29:40 +01:00
Dmitry Novik
5a024dfc09
Merge pull request #59117 from ClickHouse/fix-analyzer-order-by-all
Followup 57875
2024-01-30 15:54:18 +01:00
Maksim Kita
948f3f1f62 Fixed style check 2024-01-30 17:15:29 +03:00
Maksim Kita
86a542b5c4 Updated implementation 2024-01-30 17:15:29 +03:00
Maksim Kita
20c1f0c18f Revert "Revert "Add new aggregation function groupArraySorted()"" 2024-01-30 17:15:29 +03:00
Raúl Marín
f79a402e6d Add sanity checks for function return types 2024-01-30 14:10:20 +01:00
Igor Nikonov
6624e34580 RemoteQueryExecutor constructors formatting 2024-01-30 13:06:47 +00:00
Igor Nikonov
416910db00 Remove unnecessary outer loop 2024-01-30 13:03:43 +00:00
Raúl Marín
b3483eede3 Fix translate() return type 2024-01-30 13:41:04 +01:00
Alexey Milovidov
fd959f0bd2
Merge pull request #59372 from ClickHouse/rename-ddsketch
Rename `quantileDDSketch` to `quantileDD`
2024-01-30 13:13:31 +01:00
Nikolai Kochetov
f11163fe36
Merge pull request #59347 from kitaisreal/loggers-build-loggers-fix
Loggers initialization fix
2024-01-30 13:07:47 +01:00
Kruglov Pavel
3105960fd8
Merge pull request #59352 from Avogar/fix-bad-attached-rabbitmq
Fix lazy initialization in RabbitMQ
2024-01-30 12:52:07 +01:00
Alexey Milovidov
8eac21c963 Merge branch 'master' of github.com:ClickHouse/ClickHouse into rename-ddsketch 2024-01-30 11:50:52 +01:00
Alexey Milovidov
798f655276 Rename quantileDDSketch to quantileDD 2024-01-30 11:49:56 +01:00
Raúl Marín
ccc4295542 More typos in settings 2024-01-30 11:35:14 +01:00
Jordi Villar
f984770223
Minor typos in Settings.h 2024-01-30 11:23:07 +01:00
Kseniia Sumarokova
e16aaa8d81
Merge branch 'master' into broken-projections-better-handling 2024-01-30 10:54:22 +01:00
Dmitry Novik
5a34641e91 Merge remote-tracking branch 'origin/master' into fix-analyzer-resolve-distr-id 2024-01-30 07:17:15 +00:00
Dmitry Novik
c339a74ac3
Merge pull request #59177 from ClickHouse/fix-analyzer-cte-resolve
Analyzer: Fix CTE name clash resolution
2024-01-30 08:13:38 +01:00
Alexey Milovidov
b7a8933b2c
Merge pull request #59319 from bigo-sg/improve_regexp_extract
Improve exception message of function regexp_extract
2024-01-30 08:13:14 +01:00
Alexey Milovidov
a286d500c3
Merge pull request #59124 from amosbird/dashboard-compress-state
Compress state of dashboard
2024-01-30 08:05:38 +01:00
Alexey Milovidov
5cf1242a72
Merge pull request #59293 from slvrtrn/reapply-net-read-write-mysql
Re-apply MySQL net write/read settings changeset
2024-01-30 06:37:09 +01:00
Alexey Milovidov
b4a5b6060e
Merge pull request #59341 from rschu1ze/non-string-concat-with-separator
Allow non-string arguments in `concatWithSeparator()`
2024-01-30 04:10:06 +01:00
Alexey Milovidov
35ea956255
Merge pull request #59295 from ClickHouse/fix_block_number
Fix `_block_number` column with non-default serializations and mutation
2024-01-30 04:07:09 +01:00
Alexey Milovidov
ac90637170
Merge pull request #59122 from arthurpassos/bring_back_attach_partition_pr
Revert revert attach partition PR
2024-01-30 04:02:31 +01:00
Alexey Milovidov
fe2b5cde05
Merge pull request #59338 from vitlibar/support-format-clause-in-backup-query
Support the FORMAT clause in BACKUP and RESTORE queries
2024-01-30 04:00:21 +01:00
Alexey Milovidov
de341a6d6e
Merge pull request #59351 from ClickHouse/fix-non-redy-set-system-tables
Fix not-ready set for system.tables
2024-01-30 03:59:18 +01:00
Alexey Milovidov
2a1cbc2db4
Merge pull request #59354 from CurtizJ/better-memory-usage-async-read
Slightly better memory usage in `AsynchronousBoundedReadBuffer`
2024-01-30 03:55:42 +01:00
Alexey Milovidov
50532c485f
Merge pull request #59340 from CurtizJ/lower-memory-usage-vertical-merges
Lower memory usage in vertical merges
2024-01-30 03:42:28 +01:00
taiyang-li
815c73f1e5 change as request 2024-01-30 10:41:42 +08:00
Alexey Gerasimchuck
b1d2c0d93a minor update 2024-01-29 23:56:54 +00:00
Alexey Gerasimchuck
559de083a3 Implemented failed login attempt counting using quota 2024-01-29 23:20:38 +00:00
Raúl Marín
dfc761ce5f
Merge pull request #59343 from ClickHouse/Fix_new_setting_for_azure
Fix upgrade check for new setting
2024-01-29 23:22:06 +01:00
Yarik Briukhovetskyi
5ba82eed81
Merge pull request #58841 from yariks5s/dictionary_table_exception_fix
Fixing exceptions when table/dictionary already exist
2024-01-29 22:41:06 +01:00
Anton Popov
182d1c08b8 slightly better memory usage in AsynchronousBoundedReadBuffer 2024-01-29 21:21:52 +00:00
Raúl Marín
1580f73795
Update SettingsChangesHistory.h 2024-01-29 21:53:05 +01:00
Raúl Marín
45776ea035
Update SettingsChangesHistory.h 2024-01-29 21:24:20 +01:00
avogar
3a5ba56c36 Fix lazy initialization in RabbitMQ, fix possible deadlock on insert into unitialized queue engine 2024-01-29 20:09:09 +00:00
Raúl Marín
5108393157 Merge remote-tracking branch 'blessed/master' into Fix_new_setting_for_azure 2024-01-29 21:09:00 +01:00
Alexey Milovidov
69a1935a3e
Merge pull request #59345 from Algunenano/sccache_fix
Fix sccache when building without coverage
2024-01-29 21:06:29 +01:00
Robert Schulze
7683b44bf6
Merge pull request #58961 from ClibMouse/seriesDecompose
Return baseline component from function `seriesDecomposeSTL()`
2024-01-29 20:41:09 +01:00
Robert Schulze
2cfcaf8ff4
Merge pull request #59040 from MochiXu/fix_remove_inverted_index_files
`DROP INDEX` of inverted index now removes all relevant files from persistence
2024-01-29 20:39:56 +01:00
Robert Schulze
8ddda0caf0
Merge pull request #59229 from rschu1ze/cleanup-msan-usage
Minor cleanup of msan usage
2024-01-29 20:39:06 +01:00
Robert Schulze
80066118d9
Merge pull request #59132 from HarryLeeIBM/hlee-arm64-hash
Fix aggregation issue in mixed x86_64 and ARM clusters
2024-01-29 20:37:52 +01:00
slvrtrn
e2476e9f89 Merge remote-tracking branch 'origin' into reapply-net-read-write-mysql 2024-01-29 20:11:17 +01:00
slvrtrn
7cef679f6d Address PR feedback 2024-01-29 20:11:02 +01:00
kssenii
df7d3b8a40 Allocate current shard number from keeper 2024-01-29 19:36:16 +01:00
Arthur Passos
15d04d0a78
Merge branch 'master' into bring_back_attach_partition_pr 2024-01-29 15:16:49 -03:00
Arthur Passos
516daadeef add static storage assert in datapartcloner 2024-01-29 15:16:00 -03:00
Nikolai Kochetov
d0143380d7 Fix not-ready set for system.tables 2024-01-29 17:53:59 +00:00
Raúl Marín
925582bec2
Merge branch 'master' into Fix_new_setting_for_azure 2024-01-29 18:27:22 +01:00
Raúl Marín
f22762fcdc
Merge pull request #59335 from kitaisreal/volume-constructor-improve-exception-message
IVolume constructor improve exception message
2024-01-29 18:25:57 +01:00
Maksim Kita
7892adc18b Add setting update_insert_deduplication_token_in_dependent_materialized_views to settings changes history 2024-01-29 20:18:25 +03:00
Maksim Kita
5b1919aff1 Loggers initialization fix 2024-01-29 20:11:14 +03:00
Raúl Marín
b88d0a2b15 Don't apply O2 on release builds 2024-01-29 17:34:11 +01:00
Raúl Marín
468c7cf835
Merge pull request #59329 from Algunenano/prefertch
Fix typo
2024-01-29 17:02:01 +01:00
Smita Kulkarni
621c3e8596 Fix upgrade check for new setting 2024-01-29 16:50:01 +01:00
Nikolai Kochetov
5b2648929b
Merge pull request #59273 from kitaisreal/atomic-logger
Added AtomicLogger
2024-01-29 16:49:18 +01:00
Vitaly Baranov
1f446f78b5 Fix parameter's name. 2024-01-29 16:24:16 +01:00
Robert Schulze
c2b7d2047e
Support arguments of arbitary type in function concatWithSeparator()
Follow-up to #56540
2024-01-29 14:11:21 +00:00
Anton Popov
d3cdc8826e lower memory usage in vertical merges 2024-01-29 14:06:46 +00:00
Robert Schulze
1aae7d7d95
Cosmetics: Rename variable 2024-01-29 13:35:19 +00:00
Robert Schulze
2191569d6b
Cosmetics: remove superfluous inline 2024-01-29 13:24:43 +00:00
Vitaly Baranov
9fa76bea7e Support FORMAT clause in BACKUP/RESTORE query. 2024-01-29 14:19:16 +01:00
Raúl Marín
a6de4a21a3 Merge remote-tracking branch 'blessed/master' into parallel_replicas_cte 2024-01-29 13:33:22 +01:00
Maksim Kita
5affd6af2e IVolume constructor improve exception message 2024-01-29 15:32:22 +03:00
Yarik Briukhovetskyi
9f2093df75
Restart CI 2024-01-29 12:54:29 +01:00
Nikolai Kochetov
a51aa7b668
Merge pull request #59238 from kitaisreal/update-insert-deduplication-token-in-dependent-materialized-views
Added setting update_insert_deduplication_token_in_dependent_materialized_views
2024-01-29 12:52:06 +01:00
kssenii
d0ea5392db Fix storing iterated keys 2024-01-29 12:36:32 +01:00
kssenii
ef252d8376 Validate settings with keeper, add a test 2024-01-29 12:36:00 +01:00
Raúl Marín
ab2b12ba9f Fix typo 2024-01-29 11:40:12 +01:00
Kruglov Pavel
6858d2f4ca
Merge pull request #58047 from Avogar/variant-data-type
Implement Variant data type
2024-01-29 11:36:08 +01:00
Kseniia Sumarokova
6903957414
Merge pull request #59001 from ClickHouse/Add_configurable_write_retry_azure
Add settings max_unexpected_write_error_retries for Azure Blob Storage
2024-01-29 10:48:17 +01:00
Kseniia Sumarokova
a29ab8f29c
Merge pull request #59170 from azat/disks/s3-plain-improvements
Small improvements for tables on write-once (s3_plain)/read-only (web) disks
2024-01-29 10:44:37 +01:00
Kseniia Sumarokova
0f88da5fd4
Merge pull request #59275 from ClickHouse/Avogar-patch-1
Fix abort in iceberg metadata on bad file paths
2024-01-29 10:35:34 +01:00
alesapin
b864b122fa Merge branch 'master' into fix_block_number 2024-01-29 10:19:43 +01:00
taiyang-li
7aea3847db improve exception message of function regexp_extract 2024-01-29 11:54:19 +08:00
taiyang-li
49fc8a7099 Merge branch 'master' into improve_if_with_floating 2024-01-29 11:02:05 +08:00
Alexey Milovidov
2cb2bcfbc3
Merge pull request #59315 from ClickHouse/support-backups-for-compressed-memory-tables
Support backups for compressed in-memory tables
2024-01-29 01:50:41 +01:00
Alexey Milovidov
a7483ec10b
Merge pull request #59242 from rschu1ze/dont-force-libssh-on-me
Make libssh build dependent on `-DENABLE_LIBRARIES`
2024-01-29 00:02:03 +01:00
Alexey Milovidov
caded18be5
Merge pull request #59290 from CurtizJ/lower-memory-usage
Lower memory usage after reading from `MergeTree` tables
2024-01-29 00:00:02 +01:00
Alexey Milovidov
aec3f28ccb Support backups for compressed in-memory tables 2024-01-28 23:06:50 +01:00
Alexey Milovidov
8326f5ffb7
Merge pull request #59308 from ClickHouse/fix-async-loader-stop
Fix deadlock in `AsyncLoader::stop()`
2024-01-28 22:18:00 +01:00
Arthur Passos
0bbfef884c
Merge branch 'ClickHouse:master' into bring_back_attach_partition_pr 2024-01-28 17:43:38 -03:00
serxa
aa6c7e78be fix deadlock in AsyncLoader::stop() 2024-01-28 15:47:17 +00:00
Anton Popov
ef133bfd47 Merge remote-tracking branch 'upstream/master' into lower-memory-usage 2024-01-28 15:07:44 +00:00
avogar
92db86b829 Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-data-type 2024-01-28 14:33:49 +00:00
Kruglov Pavel
29700fbad1
Fix special build 2024-01-28 15:33:27 +01:00
Alexey Milovidov
267b077038 Merge remote-tracking branch 'origin/master' into remove-kql 2024-01-28 14:24:26 +01:00
Alexey Milovidov
e0f0b21e90 Remove KQL 2024-01-28 14:24:13 +01:00
Alexey Milovidov
29d54dab55
Merge pull request #59288 from azat/rmt/drop-update-zk
Use fresh ZooKeeper client on DROP (to have higher chances on success)
2024-01-28 13:16:21 +01:00
Maksim Kita
5165fb7286 Fixed build 2024-01-28 13:55:44 +03:00