Commit Graph

54407 Commits

Author SHA1 Message Date
Alexey Milovidov
a1d1f76f67
Merge pull request #60519 from ClickHouse/sync-with-private
Synchronize Access
2024-03-03 06:36:51 +03:00
Alexey Milovidov
6771e99d9f Merge branch 'master' into ddl_none_only_active 2024-03-03 03:09:24 +01: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
Anton Popov
1b9e6c936e better interfaces for virtual columns 2024-03-01 22:29:56 +00: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
Anton Popov
1a1e78cf63 temporary remove virtual column 2024-03-01 18:52:14 +00:00
Anton Popov
95611889dc fix tests 2024-03-01 18:44:33 +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
Robert Schulze
68181ab00f
Revert "Revert "Add toMillisecond function""
This reverts commit 5225fc6a14.
2024-03-01 13:14:44 +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
Alexander Gololobov
2dd83a09e3 No need to capture this 2024-03-01 13:40:09 +01:00
Nikita Mikhaylov
590c30a23a Update DiskObjectStorageTransaction.cpp 2024-03-01 13:40:09 +01:00
Alexander Gololobov
b45ff56e4d Do not check to and from files existence in metadata_storage because it does not see uncommitted changes 2024-03-01 13:40:09 +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
Nikolai Kochetov
9211495fed Merge branch 'master' into constant-folding-scalar-subqueries 2024-03-01 12:06:26 +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
Anton Popov
caf50f4ea1 fix test 2024-02-29 21:09:12 +00: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
Anton Popov
8a4e15536b refactoring of virtual columns 2024-02-29 18:01:54 +00: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
Joshua Hildred
f9c0c99f39 Fix issue with LibArchiveWriter setCompression method 2024-02-29 05:20:51 -08:00
Joshua Hildred
1eb4cdf0f8 Add unit test coverage for ArchiveReaders 2024-02-29 05:20:51 -08:00
Joshua Hildred
eb4ec0e871 Add support for reading and writing backups as a
tar archive using libarchive.
2024-02-29 05:20:51 -08:00
Raúl Marín
7e2b5efb29 Merge remote-tracking branch 'blessed/master' into argmin_optimization 2024-02-29 14:13:07 +01:00
Raúl Marín
f1132cfa1a Merge remote-tracking branch 'blessed/master' into parallel_replicas_cte_2 2024-02-29 14:11:46 +01:00
Igor Nikonov
2f4585f653 Merge remote-tracking branch 'origin/master' into fix-cluster-table-func-progress-bar 2024-02-29 13:11:11 +00:00
Igor Nikonov
c7ebe6b280 Merge remote-tracking branch 'origin/master' into cleanup-lazy-format-always 2024-02-29 13:09:55 +00:00
Igor Nikonov
a8ee493b67 Merge remote-tracking branch 'origin/master' into cleanup-random-progress-bar 2024-02-29 13:09:20 +00:00
Nikita Mikhaylov
225775f499 Merge branch 'master' of github.com:ClickHouse/ClickHouse into shabroo/master 2024-02-29 13:06:20 +00:00
Robert Schulze
ed655815fe
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-src 2024-02-29 12:58:53 +00:00
Robert Schulze
278ad6f491
Fixing tukey even more 2024-02-29 12:51:23 +00:00
Robert Schulze
562e483df4
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-hdr 2024-02-29 12:44:51 +00:00
Robert Schulze
6f582fcc1f
Fix build 2024-02-29 12:41:35 +00:00
Antonio Andelic
4dc0ce03b0 Merge branch 'master' into keeper-add-timeout-commit-log 2024-02-29 13:38:33 +01:00
Antonio Andelic
1fd54fb9e4 Merge branch 'master' into keeper-snapshot-detached 2024-02-29 13:38:13 +01:00
Michael Kolupaev
227e3b5806 Conflict 2024-02-29 12:28:32 +00:00
Michael Kolupaev
42437a2ae1 Userspace page cache (#53770)
* Userspace page cache

* Maybe it'll build this time, who knows.

* 'auto' went out of fashion, I guess

* Documentation, tsan workaround, metric 'UnreclaimableRss', disable page cache in the test that uses DatabaseOrdinary

* Moved CachedInMemoryReadBufferFromFile to object store level, changed settings, addressed other comments.

* Fix

* Another fix

* Fix restricted seek, fix ppc64le build

* Don't allow page cache with file cache

* Adjust tests a little

* Fix clang-tidy

* Conflicts

* Comments

* Maybe unbroke AsynchronousBoundedReadBuffer

* SettingsChangesHistory.h

* Fix warning in test
2024-02-29 12:28:32 +00:00
Robert Schulze
e760c082bf
More fixups for tukey 2024-02-29 12:23:17 +00:00
Alexander Tokmakov
15e1191f74
Revert "Userspace page cache (#53770)"
This reverts commit 7b55c61551.
2024-02-29 13:20:17 +01:00
Igor Nikonov
59c3bb768f Remove header 2024-02-29 12:19:27 +00:00
Igor Nikonov
6717b1b457 Merge remote-tracking branch 'origin/master' into cleanup-lazy-format-always 2024-02-29 12:07:19 +00:00
Robert Schulze
a9d356be4d
Restore src/Common/LoggingFormatStringHelpers.h 2024-02-29 11:50:01 +00:00
Antonio Andelic
75837152cb better test 2024-02-29 12:48:08 +01:00
Robert Schulze
117764e53c
Revert "Correct changes in LoggingFormatStringHelpers.h"
This reverts commit e27472c09d.
2024-02-29 11:33:26 +00:00
Robert Schulze
936c6bf5ae
Merge remote-tracking branch 'ClickHouse/master' into query_cache_minor_change 2024-02-29 11:30:05 +00:00
Robert Schulze
cfed36e8a9
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-02-29 11:29:15 +00:00
Robert Schulze
b7f1cb595e
Merge remote-tracking branch 'rschu1ze/master' into show-index-sorting 2024-02-29 11:28:29 +00:00
Robert Schulze
070f9d952f
Merge remote-tracking branch 'ClickHouse/master' into feature/increase_dns_cache_size 2024-02-29 11:27:59 +00:00
Michael Kolupaev
7b55c61551
Userspace page cache (#53770)
* Userspace page cache

* Maybe it'll build this time, who knows.

* 'auto' went out of fashion, I guess

* Documentation, tsan workaround, metric 'UnreclaimableRss', disable page cache in the test that uses DatabaseOrdinary

* Moved CachedInMemoryReadBufferFromFile to object store level, changed settings, addressed other comments.

* Fix

* Another fix

* Fix restricted seek, fix ppc64le build

* Don't allow page cache with file cache

* Adjust tests a little

* Fix clang-tidy

* Conflicts

* Comments

* Maybe unbroke AsynchronousBoundedReadBuffer

* SettingsChangesHistory.h

* Fix warning in test
2024-02-29 11:27:32 +00:00
Dmitry Novik
814691bf78
Merge pull request #52230 from JackyWoo/optimize_aggregators_of_group_by_keys
New analyzer: add eliminate min/max/any/anyLast aggregators  pass
2024-02-29 11:46:26 +01:00
Antonio Andelic
39041bde26 Add timeouts when waiting for commit logs 2024-02-29 11:06:41 +01:00
Smita Kulkarni
a168a84624 Merge branch 'master' into Fix_endpoint_for_azureblobstorage 2024-02-29 10:55:31 +01:00
Robert Schulze
e27472c09d
Correct changes in LoggingFormatStringHelpers.h 2024-02-29 09:47:44 +00:00
Robert Schulze
0b4622ebf6
Add more suppressions for utils 2024-02-29 09:45:20 +00:00
vdimir
5dd81f38fb
Merge pull request #59595 from ClickHouse/vdimir/analyzer/comute_alias_columns
Analyzer: compute ALIAS columns right after reading
2024-02-29 10:28:31 +01:00
Robert Schulze
665f048e05
Merge pull request #60481 from kitaisreal/cgroups-memory-usage-observer-cgroups-version-1-fix
Fix cgroups v1 rss parsing in CgroupsMemoryUsageObserver
2024-02-29 10:23:44 +01:00
Antonio Andelic
9e3355acef Remove snapshot_version 2024-02-29 10:11:38 +01:00
vdimir
09e0e64bc4
Merge pull request #60310 from ClickHouse/vdimir/hashed_dict_logs
Minor fixes for hashed dictionary
2024-02-29 09:58:09 +01:00
Antonio Andelic
0cb839af0b Merge branch 'master' into keeper-snapshot-detached 2024-02-29 09:47:32 +01:00
Smita Kulkarni
5d68c9f046 Updated default value of endpoint_contains_account_name to true 2024-02-29 09:38:13 +01:00
Antonio Andelic
ad265f978d
Merge pull request #60442 from ClickHouse/keeper-disk-move-fix
Keeper: fix moving changelog files between disks
2024-02-29 09:24:07 +01:00
Antonio Andelic
049e46c500
Merge pull request #60477 from ClickHouse/fix-s3cluster
Correctly check keys in s3Cluster
2024-02-29 09:20:32 +01:00
taiyang-li
46f9fddc4d fix code style 2024-02-29 15:11:02 +08:00
taiyang-li
656412c93e fix failed uts 2024-02-29 15:03:59 +08:00
taiyang-li
f7d1739808 fix failed uts 2024-02-29 15:00:09 +08:00
Alexey Milovidov
414e6eb600 General sanity in function seriesOutliersDetectTukey 2024-02-29 06:30:28 +01:00
taiyang-li
f89cb57d02 fix failed ut 2024-02-29 12:32:27 +08:00
Yong Wang
fc58ccfa9e Fix_max_query_size_for_kql_compound_operato:
Fix the issue of max_query_size for kql compound operator like mv-expand
this fix another use case for PR 59626
2024-02-28 20:15:54 -08:00
Kirill Nikiforov
fe247cb64d rename dns_cache_max_size to dns_cache_max_entries 2024-02-29 06:03:44 +03:00
Kirill Nikiforov
b1db898747 increase default dns_cache_max_size to 1Mb 2024-02-29 06:03:30 +03:00
Alexey Milovidov
7c0ee5a783
Merge pull request #60198 from Avogar/variant-improvements
Fixes and improvements for Variant type
2024-02-29 03:27:22 +03:00
Robert Schulze
a1c164a758
Fix a bunch of clang-tidy warnings in headers 2024-02-28 23:43:12 +00:00
Alexey Milovidov
e6dffb1f2d
Merge pull request #60379 from rogeryk/improve-pretty-format
Improve pretty format if a block consists of a single numeric value and exceeds one million.
2024-02-29 02:20:42 +03:00
Alexey Milovidov
1c9bd029ea Synchronize parsers 2024-02-29 00:08:36 +01:00
Alexey Milovidov
a46cb36368 Fix build 2024-02-28 23:51:48 +01:00
Alexey Milovidov
c6d8cf2afa Fix build 2024-02-28 23:51:31 +01:00
Alexey Milovidov
9e826bb11c Fix build 2024-02-28 23:50:15 +01:00
Alexey Milovidov
704b32fdcd Fix build 2024-02-28 23:49:35 +01:00
Robert Schulze
3b18eb4f17
Fix clang-tidy in some headers 2024-02-28 22:47:34 +00:00
Alexey Milovidov
282c3b55f2 Synchronize small pieces 2024-02-28 23:47:33 +01:00
Alexey Milovidov
763bd22725 Synchronize metrics and Keeper 2024-02-28 23:43:03 +01:00
Alexey Milovidov
a02d78426a Synchronize Access 2024-02-28 23:34:15 +01:00
Alexey Milovidov
3749618ba1 Add a test 2024-02-28 23:28:46 +01:00
Alexey Milovidov
98be049e66 Fix bad error message 2024-02-28 23:08:29 +01:00
Alexey Milovidov
e1e66dc2b8
Merge pull request #60095 from ClickHouse/fix-inconsistent-formatting
Fix inconsistent formatting of queries
2024-02-29 00:41:40 +03:00
Nikita Mikhaylov
938976d8c3 Merge branch 'master' of github.com:ClickHouse/ClickHouse into shabroo/master 2024-02-28 21:40:43 +00:00
Alexey Milovidov
99f5fbaff2
Merge pull request #60508 from Algunenano/f59920
Decrease logging level for http retriable errors to Info
2024-02-29 00:00:31 +03:00
Alexander Tokmakov
25c82a5949
Merge pull request #57798 from kirillgarbar/modify-engine
Convert MergeTree tables to replicated on server restart if flag is set
2024-02-28 21:55:15 +01:00
Igor Nikonov
7077499064 PullingAsyncPipelineExecutor cleanup
lazy_format is used always
2024-02-28 20:53:41 +00:00
Robert Schulze
2ccaf954f6
Fix wacky primary key sorting in SHOW INDEX 2024-02-28 20:46:37 +00:00
Igor Nikonov
627aa62d21 Simple cleanup while fixing progress bar 2024-02-28 20:40:17 +00:00
Anton Popov
0ceeb13b7f refactoring of virtual columns 2024-02-28 19:58:55 +00:00
Robert Schulze
a58869303f
Added comment 2024-02-28 19:36:15 +00:00
Robert Schulze
d3b942cec5
Merge remote-tracking branch 'ClickHouse/master' into query_cache_minor_change 2024-02-28 19:35:31 +00:00
Robert Schulze
42f29c01cf
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-02-28 19:10:48 +00:00
Nikolai Kochetov
53714e6f7a Refactor StorageSystemOneBlock 2024-02-28 19:10:00 +00:00
Raúl Marín
b12245fdc5 Decrease logging level for http retriable errors to Info 2024-02-28 19:47:42 +01:00
Raúl Marín
4023e67ac5
Merge pull request #60138 from Algunenano/max_threads_sanity
Add sanity check for number of threads and block size
2024-02-28 19:05:55 +01:00
Raúl Marín
ac82d026ff Better readability 2024-02-28 18:45:13 +01:00
Kruglov Pavel
0c902f8d64
Fix style 2024-02-28 18:28:54 +01:00
Raúl Marín
2a644c8b08 Improvements based on PR review 2024-02-28 18:28:38 +01:00
Anton Popov
0fa22abb95 refactoring of virtual columns 2024-02-28 17:05:00 +00:00
Kruglov Pavel
a7eabbbe3a
Merge branch 'master' into variant-improvements 2024-02-28 17:38:54 +01:00
Maksim Kita
1e76ac8835 Fixed code review issues 2024-02-28 19:30:11 +03:00
Igor Nikonov
9bd633cdf6 Fix: *Cluster table functions progress bar 2024-02-28 16:28:28 +00:00
Alexey Milovidov
8a272ffd8f
Merge pull request #60466 from ClickHouse/HarryLeeIBM-hlee-ftsearch-test
Merge #57434
2024-02-28 19:27:54 +03:00
Igor Nikonov
ad8029d2fd Fix: progress bar for *Cluster table functions 2024-02-28 16:26:06 +00:00
Alexey Milovidov
d93d5c2a00
Merge pull request #60470 from ClickHouse/ClibMouse-bugfix/kql-distributed-tables
Merging #59674.
2024-02-28 19:24:14 +03:00
Alexey Milovidov
fe42d8ecfc
Merge pull request #60050 from ClickHouse/less-memory-usage-primary-key-2
Less memory usage in primary key, variant 2
2024-02-28 19:22:46 +03:00
Alexey Milovidov
b0ab0b37db
Merge pull request #60434 from ClickHouse/revert-60216-revert-59697-check-stack-size-in-parser
Revert "Revert "Check stack size in Parser""
2024-02-28 19:20:49 +03:00
Alexey Milovidov
1950a75bd4 Merge branch 'master' into fix-inconsistent-formatting 2024-02-28 17:10:29 +01:00
Dmitry Novik
d129bfd277 Merge remote-tracking branch 'origin/master' into optimize_aggregators_of_group_by_keys 2024-02-28 15:48:49 +00:00
Raúl Marín
2cea787f81 Merge remote-tracking branch 'blessed/master' into parallel_replicas_cte_2 2024-02-28 16:44:55 +01:00
Nikolai Kochetov
8dd08e9844
Merge pull request #59710 from GrigoryPervakov/master
Support sql created named collections in Kafka Storage for librdkafka settings
2024-02-28 16:38:56 +01:00
Kruglov Pavel
f86213ecb6
Cancel PipelineExecutor properly in case of exception in spawnThreads 2024-02-28 16:29:24 +01:00
Maksim Kita
1eb19eceaa CgroupsMemoryUsageObserver cgroups version 1 fix 2024-02-28 17:49:11 +03:00
Anton Popov
9f8ac76345 Merge remote-tracking branch 'upstream/master' into HEAD 2024-02-28 14:42:37 +00:00
taiyang-li
4beb6fdcb0 fix code stule 2024-02-28 22:39:49 +08:00
Robert Schulze
e02c083e60
Add convenience alias byteSlice for substring 2024-02-28 13:32:56 +00:00
Kruglov Pavel
f1b2dbaeb5
Merge pull request #60353 from Avogar/validate-nested-types-under-a-setting
Validate experimental and suspicious types inside nested types under a setting
2024-02-28 13:36:11 +01:00
Kruglov Pavel
2e4de1f5e8
Merge pull request #60419 from Avogar/fix-ub-setting
Fix undefined-behavior in case of too big max_execution_time setting
2024-02-28 13:32:39 +01:00
Raúl Marín
3920120260
Merge pull request #60453 from Algunenano/fix_preimagepass
Fix OptimizeDateOrDateTimeConverterWithPreimageVisitor with null arguments
2024-02-28 13:15:04 +01:00
Zhiguo Zhou
ae06e34ea9 Auto-vectorize DB::andFilters
DB::MergeTreeRangeReader::ReadResult::optimize adds the current
filter to the final one either via DB::combineFilters when both
filters have different sizes or otherwise via DB::andFilters, which
performs the logical AND operation (&&) to two UInt8 columns.

To vectorize DB::andFilters automatically, this commit performs NOT
operation to the operands twice so that the non-zeros are converted
to bool value of true (0x01) and the zeros to false (0x00), and via
this change the logical AND (&&) could be safely replaced with the
bitwise AND (&), which could be recognized and optimized by the
compiler.
2024-02-28 20:08:24 +08:00
Ilya Yatsishin
6473023ad5
Merge pull request #60359 from Avogar/fix-ipv6-hashing
Fix use-of-uninitialized-value and invalid result in hashing functions with IPv6
2024-02-28 15:32:57 +04:00
Robert Schulze
613e426484
Some fixups 2024-02-28 11:14:53 +00:00
vdimir
973c2536ff
fix 02911_support_alias_column_in_indices 2024-02-28 10:44:09 +00:00
Smita Kulkarni
a46d7c9191 Updated docs and addressed comments 2024-02-28 11:25:35 +01:00
Vitaly Baranov
926295f763
Merge pull request #60040 from vitlibar/use-multiple-threads-while-reading-metadata-for-restore
Use multiple threads while reading the metadata of tables to restore
2024-02-28 11:07:15 +01:00
taiyang-li
4f2ab335af fix some bugs 2024-02-28 17:07:49 +08:00
Antonio Andelic
c4ae61f6e6 Correctly check prefetch buffer 2024-02-28 09:58:47 +01:00
taiyang-li
28c4c8e821 Merge branch 'master' into opt_multiif_decimal 2024-02-28 16:00:43 +08:00
Antonio Andelic
f7abe7601e Abort on invalid snapshots 2024-02-28 08:54:54 +01:00
pufit
330a206470
Add definers for views (Attempt 2) (#60439) 2024-02-27 19:00:17 -05:00
Nikita Taranov
90c9ae1b22
Merge pull request #59448 from nickitat/insert_with_max_insert_threads_into_remote_tables
More parallel insert-select pipeline
2024-02-28 00:54:16 +01:00
Anton Popov
3cdd3495fd
Merge pull request #60435 from CurtizJ/return-back-58140
Revert "Revert "Add table function `mergeTreeIndex`""
2024-02-28 00:52:44 +01:00
Alexey Milovidov
8cf619bc03 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-inconsistent-formatting 2024-02-28 00:30:44 +01:00
Yakov Olkhovskiy
ad7715b2fa fix style 2024-02-27 23:12:29 +00:00
Yakov Olkhovskiy
d4b71748fc fix style 2024-02-27 22:38:41 +00:00
Alexey Milovidov
acbcffea13 Fix error 2024-02-27 23:33:16 +01:00
Alexey Milovidov
142a857281 Merge branch 'bugfix/kql-distributed-tables' of github.com:ClibMouse/ClickHouse into ClibMouse-bugfix/kql-distributed-tables 2024-02-27 23:31:25 +01:00
Yakov Olkhovskiy
802db19e3b dedicated FunctionSecretArgumentsFinder for TreeNode, refactoring of FunctionSecretArgumentsFinder 2024-02-27 20:42:02 +00:00
Alexey Milovidov
9ea7ff231b
Merge pull request #60448 from ClickHouse/clang-19
Update to clang-19
2024-02-27 23:38:08 +03:00
Nikolai Kochetov
1b79c0a381 Fixing tests. 2024-02-27 19:42:49 +00:00
Alexey Milovidov
2ab722214c Merge branch 'hlee-ftsearch-test' of github.com:HarryLeeIBM/ClickHouse into HarryLeeIBM-hlee-ftsearch-test 2024-02-27 20:29:46 +01:00
Blargian
abbe596a2d Fix style check 2024-02-27 19:57:25 +01:00
Blargian
426a68ca23 Fix style check 2024-02-27 19:43:00 +01:00
Pervakov Grigorii
d3b82ab7c1 Support sql created named collections in Kafka Storage for librdkafka settings 2024-02-27 18:36:36 +00:00
Blargian
8b8dcf01b6 Add toMillisecond 2024-02-27 19:32:38 +01:00
Smita Kulkarni
ca05557659 Fix typo 2024-02-27 19:16:36 +01:00
Nikolai Kochetov
dd458932c9 Try to avoid calculation of scalar subqueries for CREATE TABLE. 2024-02-27 17:46:13 +00:00
Smita Kulkarni
414c8da128 Fix build 2024-02-27 18:09:21 +01:00
Vitaly Baranov
0df2a645cd Rename after_each_task_callback. 2024-02-27 17:41:09 +01:00
Alexey Milovidov
0f3c9963d1 Merge branch 'master' of github.com:ClickHouse/ClickHouse into revert-60216-revert-59697-check-stack-size-in-parser 2024-02-27 17:30:32 +01:00
Raúl Marín
f8ff15a023
Merge pull request #60429 from Algunenano/fix_unlimited_keeper
Fix unrestricted reads from keeper
2024-02-27 17:28:15 +01:00
Antonio Andelic
f6d35cf4b1 Merge branch 'master' into keeper-snapshot-detached 2024-02-27 16:44:06 +01:00