Commit Graph

54313 Commits

Author SHA1 Message Date
robot-ch-test-poll3
580f0f02d3
Merge pull request #60728 from ClickHouse/remove-old-code-5
Remove old code
2024-03-04 14:46:10 +01:00
Antonio Andelic
9f5fe176ad Catch exceptions on finalize 2024-03-04 14:42:11 +01:00
Jordi Villar
1da1bbeae2 Set streams to 1 when using insert_deduplication_token 2024-03-04 14:35:57 +01:00
Raúl Marín
7a851bece3 Update tzdata to 2024a 2024-03-04 14:15:15 +01:00
avogar
ddf0dd7eb8 Fix crash when using input() in INSERT SELECT JOIN 2024-03-04 12:19:47 +00:00
Raúl Marín
f212c9c230 Fix crash in arrayEnumerateRanked 2024-03-04 13:14:13 +01:00
Yarik Briukhovetskyi
033b9624b4
Merge branch 'ClickHouse:master' into fix_int_div_decimal_with_datetime 2024-03-04 12:56:17 +01:00
beetelbrox
e8f4e4eb77 Fix formatting 2024-03-04 12:54:55 +01:00
zvonand
41ff818a20 fix toStartOfInterval 2024-03-04 12:53:41 +01:00
Alexander Tokmakov
2e64b6722f
Revert "Synchronize parsers" 2024-03-04 11:42:21 +01:00
Igor Nikonov
815e3db6f5 Merge remote-tracking branch 'origin/master' into use-minmax-indices-always-first 2024-03-04 10:09:44 +00:00
Antonio Andelic
83c1c537d5 Execute requests in order 2024-03-04 10:48:50 +01:00
beetelbrox
229945cdd2 Fix whitespace 2024-03-04 10:32:45 +01:00
Han Fei
f07f438fe6
Merge pull request #60259 from bigo-sg/hash_join_bug_59625
Resolve #59625: improper filter setting
2024-03-04 17:32:26 +08:00
beetelbrox
53e0d01d5e Do not send metadata headers on unsupported multipartoperations 2024-03-04 10:28:27 +01:00
Antonio Andelic
e1e92e5547
Merge pull request #60544 from ClickHouse/keeper-add-timeout-commit-log
Keeper fix: add timeouts when waiting for commit logs
2024-03-04 09:53:35 +01:00
Alexey Milovidov
43e0a1b708 Remove nonsense from SQL/JSON 2024-03-04 05:59:02 +01:00
lgbo-ustc
aca219773b Merge remote-tracking branch 'origin/master' into hash_join_bug_59625 2024-03-04 10:51:26 +08:00
Alexey Milovidov
7609856cd5 Fix another error 2024-03-04 03:06:27 +01:00
Alexey Milovidov
9a5085a4c3 Fix buffer overflow in CompressionCodecMultiple 2024-03-04 02:56:22 +01:00
Alexey Milovidov
fc6f3c8399 Live view's life is close to the end 2024-03-04 00:49:22 +01:00
Alexey Milovidov
da2481c5c8 Merge remote-tracking branch 'origin/master' into remove-old-code-5 2024-03-04 00:12:03 +01:00
Alexey Milovidov
cbf5443585 Remove old code 2024-03-04 00:11:55 +01:00
Alexey Milovidov
6a6da52507 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sync-with-private-2 2024-03-03 23:01:14 +01:00
Alexey Milovidov
de4bd63a7d
Merge pull request #60522 from ClickHouse/sync-with-private-3
Synchronize parsers
2024-03-04 01:00:44 +03:00
Alexey Milovidov
b7169d68e3
Merge pull request #60691 from ClickHouse/fix-parse-date-time-best-effort-syslog
Fix questionable behavior in the `parseDateTimeBestEffort` function.
2024-03-04 00:58:38 +03:00
Alexey Milovidov
fe50f5ddf6 Make String a supertype for strings and enums 2024-03-03 22:49:54 +01:00
Alexey Milovidov
356e8cae39
Merge pull request #60710 from ClickHouse/speed-up-unit-tests
Improve unit tests
2024-03-03 23:56:17 +03:00
Alexey Milovidov
5703786f5a
Merge pull request #60709 from ClickHouse/remove-test-column-object
Remove unit test for ColumnObject
2024-03-03 23:55:52 +03:00
Alexey Milovidov
772cf60de1 Edit SettingsChangesHistory 2024-03-03 21:42:04 +01:00
Alexey Milovidov
e6fd4658f4 Sync documentation 2024-03-03 20:44:23 +01:00
Alexey Milovidov
6f3bad904b Mark one setting as obsolete 2024-03-03 20:42:44 +01:00
serxa
34cf2a1671 Fix scheduler fairness test 2024-03-03 17:27:37 +00:00
Alexey Milovidov
091f4c3e35
Merge pull request #60689 from azat/system.parts-no-uuid-fix
Fix system.parts for non-Atomic/Ordinary database engine (i.e. Memory)
2024-03-03 19:55:00 +03:00
Alexey Milovidov
fa724311ae
Merge pull request #60708 from azat/fix-invalid-storage-metadata-error
Fix "Invalid storage definition in metadata file" for parameterized views
2024-03-03 19:45:01 +03:00
Alexey Milovidov
7e63a051d6 Merge branch 'master' into fix-parse-date-time-best-effort-syslog 2024-03-03 17:33:44 +01:00
Alexey Milovidov
064689ee79 Merge branch 'master' into sync-with-private-3 2024-03-03 17:30:19 +01:00
Alexey Milovidov
0e62ed1e54 Improve unit tests 2024-03-03 17:25:25 +01:00
Alexey Milovidov
dff1bf3358 Remove unit test for ColumnObject 2024-03-03 17:17:49 +01:00
Alexey Milovidov
0208828d3f
Merge pull request #60535 from ClickHouse/changelog-24.2
General sanity in function `seriesOutliersDetectTukey`
2024-03-03 19:09:04 +03:00
Azat Khuzhin
eb711bd522 Fix "Invalid storage definition in metadata file" for parameterized views
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-03 16:02:35 +01:00
Azat Khuzhin
707200d2a4 Fix system.parts for non-Atomic/Ordinary database engine (i.e. Memory)
Previously the code assumes that only Ordinary do not have UUID, while
this is not true, Memory (at least) does not has it as well.

One of the major users of Memory engine is clickhouse-local.

v2: check UUID instead of database engine
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-03 10:27:06 +01:00
Alexey Milovidov
adeccecba9 Fix build 2024-03-03 05:40:19 +01:00
Alexey Milovidov
c411149364 Merge branch 'master' into sync-with-private-2 2024-03-03 04:42:14 +01:00
Alexey Milovidov
fc7e66accb Fix build 2024-03-03 04:41:44 +01:00
Alexey Milovidov
75ecc6bdbf Merge branch 'master' into sync-with-private-3 2024-03-03 04:37:37 +01:00
Alexey Milovidov
a1d1f76f67
Merge pull request #60519 from ClickHouse/sync-with-private
Synchronize Access
2024-03-03 06:36:51 +03:00
Alexey Milovidov
c292a911f5 Merge branch 'master' into sync-with-private 2024-03-03 02:07:20 +01:00
Alexey Milovidov
60be9f30a2
Merge pull request #60518 from ClickHouse/fix-bad-error-message
Fix bad error message
2024-03-03 04:06:44 +03:00
Alexey Milovidov
d15f7b2158 Fix questionable behavior in the parseDateTimeBestEffort function 2024-03-03 01:42:59 +01:00
Alexey Milovidov
1f1e0f082a
Merge branch 'master' into changelog-24.2 2024-03-03 03:27:28 +03:00
Igor Nikonov
491a4e8d4b Merge remote-tracking branch 'origin/master' into use-minmax-indices-always-first 2024-03-02 21:31:28 +00:00
Alexey Milovidov
3938d7156a Merge branch 'master' into fix-for-local-object-storage 2024-03-02 19:44:12 +01:00
Yakov Olkhovskiy
bae4783fe9
Merge pull request #54508 from UnamedRus/topk-statistics-count-errors
Add mode fot topK/topKWeighed function to also include count/error statistics
2024-03-02 11:54:55 -05:00
Alexey Milovidov
3883cdbf00 Merge branch 'master' into fix-bad-error-message 2024-03-02 03:18:50 +01:00
Alexey Milovidov
c362bbc9ca
Merge pull request #60390 from ClickHouse/redirect-handlers
Allow configuring HTTP redirect handlers for clickhouse-server
2024-03-02 05:15:31 +03:00
Alexey Milovidov
5dfe708de0
Merge pull request #60605 from ClickHouse/24.3-prepare
Update version after release
2024-03-02 04:56:21 +03:00
Yarik Briukhovetskyi
57482de0f0
Update FunctionBinaryArithmetic.h 2024-03-02 01:16:47 +01:00
Igor Nikonov
420d98295d Fix: reorder indices only if necessary 2024-03-01 23:34:43 +00:00
Nikita Taranov
4735eb3ab4 wait for pool jobs in case of exception on scheduling 2024-03-02 00:02:00 +01:00
Nikita Taranov
bcd3ad01de
Merge pull request #55809 from amosbird/alt-51399
Improve the performance of serialized aggregation method when involving multiple [nullable] columns
2024-03-01 22:44:56 +01:00
Yakov Olkhovskiy
aa42d5a88d separate FunctionSecretArgumentsFinder for AST and TreeNode to avoid binary bloat due to linkage dependencies 2024-03-01 20:58:22 +00:00
Igor Nikonov
754ae8792d Always apply first minmax index among available skip indices 2024-03-01 19:31:15 +00:00
yariks5s
0b10612c86 fix 2024-03-01 17:42:57 +00:00
Igor Nikonov
a28385966c
Merge pull request #60513 from ClickHouse/cleanup-random-progress-bar
Simple cleanup while fixing progress bar
2024-03-01 16:51:46 +01:00
UnamedRus
912b8baf57
Merge branch 'ClickHouse:master' into topk-statistics-count-errors 2024-03-02 00:43:29 +09:00
vdimir
47aa33408b
Resubmit "Analyzer: compute ALIAS columns right after reading"
This reverts commit 8141e1c3d1, reversing
changes made to fb099bbd62.
2024-03-01 14:53:02 +00:00
Raúl Marín
0dcaf3f2bb Merge remote-tracking branch 'blessed/master' into parallel_replicas_cte_2 2024-03-01 15:50:58 +01:00
Nikolai Kochetov
2811b24a47 Fixing build 2024-03-01 14:42:46 +00:00
Nikita Mikhaylov
4fd64a696b
Merge pull request #56942 from shabroo/master
Emit a warning in clickhouse-client if Ordinary database engine is used
2024-03-01 15:42:28 +01:00
Nikolai Kochetov
af5dae58ca Merge branch 'master' into refactor-system-one-block 2024-03-01 13:42:00 +00:00
Igor Nikonov
ae7f780ce4
Merge pull request #60491 from ClickHouse/fix-cluster-table-func-progress-bar
Fix: progress bar for *Cluster table functions
2024-03-01 14:12:59 +01:00
Alexander Tokmakov
5225fc6a14
Revert "Add toMillisecond function" 2024-03-01 13:59:03 +01:00
Antonio Andelic
8607e74966
Merge pull request #60537 from ClickHouse/keeper-snapshot-detached
Keeper improvement: abort during startup if an invalid snapshot is detected
2024-03-01 13:36:09 +01:00
Nikolai Kochetov
447f0817d5 Fixing build 2024-03-01 12:08:51 +00:00
Raúl Marín
77752a63c7 Merge remote-tracking branch 'blessed/master' into parallel_replicas_cte_2 2024-03-01 12:48:23 +01:00
Raúl Marín
885952a03b
Merge pull request #58640 from Algunenano/argmin_optimization
ArgMin / ArgMax / any / anyLast / anyHeavy optimization
2024-03-01 12:45:58 +01:00
Nikolai Kochetov
258d8ab162
Merge pull request #60041 from kitaisreal/parts-splitter-invalid-ranges-for-the-same-part
PartsSplitter invalid ranges for the same part
2024-03-01 12:45:43 +01:00
Robert Schulze
af6755f241
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-hdr 2024-03-01 11:45:21 +00:00
Robert Schulze
0231422ce7
Merge remote-tracking branch 'rschu1ze/master' into show-index-sorting 2024-03-01 11:41:21 +00:00
Robert Schulze
2e256b4c17
Merge pull request #60500 from allmazz/feature/increase_dns_cache_size
Rename dns_cache_max_size to dns_cache_max_entries
2024-03-01 12:38:07 +01:00
Robert Schulze
6d89455525
Merge pull request #60523 from rschu1ze/clang-tidy-src
Fix a bunch of clang-tidy warnings in headers
2024-03-01 12:37:48 +01:00
Raúl Marín
512f0d233e
Merge pull request #60577 from Algunenano/format_print
Don't output number tips for date types
2024-03-01 12:07:28 +01:00
Robert Schulze
44c3de1a0b
Merge pull request #60281 from Blargian/54746_to_millisecond_function
Add `toMillisecond` function
2024-03-01 11:34:20 +01:00
Robert Schulze
3a5c9b627b
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-src 2024-03-01 10:31:55 +00:00
Robert Schulze
39457cd5ac
Merge remote-tracking branch 'ClickHouse/master' into feature/increase_dns_cache_size 2024-03-01 10:29:46 +00:00
Robert Schulze
ed215a293a
Merge pull request #60494 from rschu1ze/byteSlice
Add convenience alias `byteSlice` for `substring`
2024-03-01 11:23:22 +01:00
Robert Schulze
0986d80a1c
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-03-01 10:10:30 +00:00
Robert Schulze
52b1fc6db9
Minor fixes 2024-03-01 10:06:54 +00:00
Robert Schulze
dade55fc19
Merge remote-tracking branch 'ClickHouse/master' into query_cache_minor_change 2024-03-01 10:02:53 +00:00
SmitaRKulkarni
89fff6852a
Merge pull request #60251 from ClickHouse/Fix_endpoint_for_azureblobstorage
Azure Blob Storage : Fix issues endpoint and prefix
2024-03-01 10:23:49 +01:00
Antonio Andelic
5104029f62
Merge pull request #59535 from josh-hildred/tar_support
Add support for reading and writing backups as tar archives
2024-03-01 10:01:59 +01:00
李扬
0820fd49e9
Merge branch 'ClickHouse:master' into opt_multiif_decimal 2024-03-01 10:32:17 +08:00
Yakov Olkhovskiy
7d5b5a094d
don't move from capture - it is used repeatedly 2024-02-29 18:50:25 -05:00
Alexey Milovidov
ac4cbe3d12 Update autogenerated version to 24.3.1.1 and contributors 2024-02-29 22:08:31 +01:00
Alexey Milovidov
930846a42d Merge remote-tracking branch 'origin' into changelog-24.2 2024-02-29 21:57:28 +01:00
Blargian
6594219943 Fix style-check 2024-02-29 20:52:30 +01:00
Julia Kartseva
891689a415
Merge pull request #60196 from azat/preliminary-filters-fix
Fix actions execution during preliminary filtering (PK, partition pruning)
2024-02-29 10:17:05 -08:00
Kruglov Pavel
1b8ae25153
Use cancel instead of finish in case of exception 2024-02-29 18:16:05 +01:00
Blargian
f1c9b1abcd Fix millisecond calculation 2024-02-29 18:05:49 +01:00
Raúl Marín
b7c884660a Merge remote-tracking branch 'blessed/master' into parallel_replicas_cte_2 2024-02-29 17:51:29 +01:00
Raúl Marín
28820dad82
Merge pull request #60498 from ZhiguoZh/20240228-andfilter-opt
Auto-vectorize DB::andFilters
2024-02-29 17:02:09 +01:00
Robert Schulze
29cd994302
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-hdr 2024-02-29 16:01:33 +00:00
Robert Schulze
6e5d6ad1c6
Merge remote-tracking branch 'ClickHouse/master' into query_cache_minor_change 2024-02-29 16:00:25 +00:00
Robert Schulze
efb0e638c0
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-02-29 15:59:14 +00:00
Robert Schulze
be47036e3a
Merge remote-tracking branch 'rschu1ze/master' into show-index-sorting 2024-02-29 15:58:18 +00:00
Robert Schulze
4ee1aa8c7c
Fixing more headers 2024-02-29 15:40:30 +00:00
Kirill Nikiforov
f11f784c38 Merge remote-tracking branch 'origin/master' into feature/increase_dns_cache_size 2024-02-29 18:35:42 +03:00
Antonio Andelic
c944e2e817 Fix 2024-02-29 15:47:57 +01:00
Yarik Briukhovetskyi
38bf7cfb59
Merge pull request #60004 from yariks5s/fix_datetime64_scale_conversion
Fix scale conversion for DateTime64
2024-02-29 15:45:54 +01:00
Raúl Marín
37ffab494a Don't output number tips for date types 2024-02-29 15:26:17 +01:00
Amos Bird
a2027db50d
Fix build after rebase master 2024-02-29 22:26:02 +08:00
Maksim Kita
dbc7631ab1 PartsSplitter invalid ranges for the same part fix 2024-02-29 17:15:22 +03:00
Smita Kulkarni
bb7453a339 Merge branch 'master' into Fix_endpoint_for_azureblobstorage 2024-02-29 15:05:17 +01:00
Antonio Andelic
359885ef94 Fix tidy build 2024-02-29 14:55:23 +01:00
Amos Bird
e289ba10a1
Fix 2024-02-29 21:48:16 +08:00
Amos Bird
db7adcfca9
Address review comments 2024-02-29 21:48:16 +08:00
Amos Bird
3b04f5c605
Improve the performance of serialized aggregation method when involving multiple [nullable] columns. 2024-02-29 21:48:15 +08:00
Michael Kolupaev
cc893ad33c Merge remote-tracking branch 'origin/master' into pc2 2024-02-29 13:30:04 +00:00
Alexander Tokmakov
2dedfd6cf9
Revert "Analyzer: compute ALIAS columns right after reading" 2024-02-29 14:22:07 +01:00
Joshua Hildred
58a8658528 Use std::array and std::any_of 2024-02-29 05:20:53 -08:00
Joshua Hildred
fe67293533 Add support for lzma 2024-02-29 05:20:53 -08:00
Joshua Hildred
ca9a6f809f add support for .tar.zst and tar.xz 2024-02-29 05:20:53 -08:00
Joshua Hildred
e6134bbb7b Address review comments 2024-02-29 05:20:52 -08:00
josh-hildred
f34ef716f0 Update src/IO/Archives/LibArchiveWriter.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
josh-hildred
1ce6256479 Update src/IO/Archives/LibArchiveWriter.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
josh-hildred
0fe15f0a22 Update src/IO/Archives/LibArchiveWriter.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
josh-hildred
5963b67dff Update src/IO/Archives/LibArchiveWriter.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
josh-hildred
6b32271b88 Update src/IO/Archives/LibArchiveWriter.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
josh-hildred
f145b494c0 Update src/IO/Archives/LibArchiveWriter.h
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
josh-hildred
84a3a05eb4 Update src/IO/Archives/LibArchiveReader.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
Joshua Hildred
f7ab6b9e37 Move tar compression extension definitions 2024-02-29 05:20:52 -08:00
Joshua Hildred
c02502b6f1 Removed unused error code 2024-02-29 05:20:52 -08:00
Joshua Hildred
92b446a552 Add support for tar archive compression 2024-02-29 05:20:52 -08:00
Joshua Hildred
c3118ca742 Address review comments 2024-02-29 05:20:52 -08:00
josh-hildred
714fdeb906 Update src/IO/Archives/LibArchiveWriter.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
josh-hildred
84814f2a0c Update src/IO/Archives/LibArchiveWriter.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
josh-hildred
f94b5e95b2 Update src/IO/Archives/LibArchiveReader.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
josh-hildred
e085b0fcf0 Update src/IO/Archives/IArchiveWriter.h
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-02-29 05:20:52 -08:00
Joshua Hildred
5fdeebf785 Fix parameter naming 2024-02-29 05:20:51 -08:00
Joshua Hildred
2e2b89f9aa Fix whitespace 2024-02-29 05:20:51 -08:00
Joshua Hildred
ef7a66b542 Update error messages and error handling 2024-02-29 05:20:51 -08:00
Joshua Hildred
d0776e5d2a Fixes tidy issue and error formating for test 2024-02-29 05:20:51 -08:00
Joshua Hildred
dc74cebe4e Fix formating 2024-02-29 05:20:51 -08:00
Joshua Hildred
c53021f55e Fix formating 2024-02-29 05:20:51 -08:00
Joshua Hildred
48ad506fe3 Cleaned up the uses of the libarchive structs 2024-02-29 05:20:51 -08:00
josh-hildred
4c1ac01e25 Update src/IO/Archives/LibArchiveReader.cpp
Co-authored-by: ltrk2 <107155950+ltrk2@users.noreply.github.com>
2024-02-29 05:20:51 -08:00
Joshua Hildred
ac6d74334c Address review comments 2024-02-29 05:20:51 -08:00
Joshua Hildred
e1fc5c8e48 Add archive unit tests 2024-02-29 05:20:51 -08:00
Joshua Hildred
3c77237dc4 getAllFiles now uses correct StreamInfo 2024-02-29 05:20:51 -08:00