Commit Graph

43572 Commits

Author SHA1 Message Date
Antonio Andelic
3b7f6a4324
Merge pull request #50796 from ClickHouse/keeper-add-api-version-config
Add feature flags for Keeper API
2023-06-30 09:20:52 +02:00
Sema Checherinda
2a1f34e3f9
Merge branch 'master' into no-finalize-WriteBufferFromOStream 2023-06-30 08:01:05 +02:00
Manas Alekar
3c4491b706 Ignore APPEND and TRUNCATE modifiers if file does not exist. 2023-06-29 14:31:40 -07:00
Alexey Milovidov
cf60f45885
Merge branch 'master' into add-test-43358 2023-06-29 23:14:08 +03:00
Alexey Milovidov
9a9f992489
Merge branch 'master' into no-finalize-WriteBufferFromOStream 2023-06-29 23:13:32 +03:00
Alexey Milovidov
068b2b6ab9
Merge branch 'master' into vdimir/test_alter_moving_garbage_51342 2023-06-29 23:12:25 +03:00
Alexey Milovidov
2474fc0b9f
Merge branch 'master' into qemu-chroot-fixes 2023-06-29 22:38:09 +03:00
Alexey Milovidov
b6a37fbf18
Merge branch 'master' into many-fixes-2 2023-06-29 22:36:33 +03:00
kssenii
7a98e2b1cd Merge remote-tracking branch 'upstream/master' into min-file-segment-size 2023-06-29 19:36:13 +02:00
kssenii
f12c257dc9 Fix 2023-06-29 19:25:46 +02:00
Alexander Tokmakov
a28728b7e5 Update DatabaseReplicatedWorker.cpp
(cherry picked from commit 43fc1af1b3)
2023-06-29 19:04:49 +02:00
Ilya Yatsishin
fe43b4d62f
Merge pull request #51499 from ClickHouse/qoega-patch-5
Fix segfault in MathUnary
2023-06-29 18:23:33 +02:00
Kseniia Sumarokova
65ecf79a0f
Update getOrCreateDiskFromAST.cpp 2023-06-29 17:52:59 +02:00
Kseniia Sumarokova
4b9fa5bab3
Merge branch 'master' into minor-fix-cache 2023-06-29 17:06:08 +02:00
kssenii
44246363e2 Fix test 2023-06-29 15:37:36 +02:00
Vitaly Baranov
0cccba62cf Support getHexUIntLowercase() with CityHash_v1_0_2::uint128 parameter. 2023-06-29 15:29:37 +02:00
Kseniia Sumarokova
2a4cfeb01b
Add comment 2023-06-29 15:27:40 +02:00
vdimir
4581526af7
Remove has_null_map template parameter from hash join 2023-06-29 13:24:55 +00:00
vdimir
c43acc6f90
better fix 2023-06-29 13:19:04 +00:00
Alexander Tokmakov
bac126fe3e fix 2023-06-29 15:11:02 +02:00
vdimir
f1d6954637
Fix logical error in ANTI join with NULL 2023-06-29 13:09:55 +00:00
kssenii
b56d1602e8 Invalidate opened file cache when removing file 2023-06-29 14:25:13 +02:00
Alexander Tokmakov
66b6f61aa8
Merge pull request #51563 from ClickHouse/tavplubix-patch-6
Try to fix deadlock in ZooKeeper client
2023-06-29 15:03:04 +03:00
Kseniia Sumarokova
f73d878632
Update src/Disks/getOrCreateDiskFromAST.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2023-06-29 13:31:41 +02:00
Ilya Yatsishin
32d00dc88f
Merge branch 'master' into qoega-patch-5 2023-06-29 13:30:47 +02:00
kssenii
306ca66eb4 Fix 2023-06-29 13:11:22 +02:00
kssenii
4ba334c983 Review fix 2023-06-29 13:01:31 +02:00
Vitaly Baranov
fb6243ec9d
Merge pull request #51040 from vitlibar/reorder-part-checksum-halves
Show halves of checksums in correct order
2023-06-29 12:04:51 +02:00
xiaolei565
d3d3a215ed
Merge branch 'master' into xuelei_dev 2023-06-29 17:37:56 +08:00
Antonio Andelic
6e1aec6e0b
Merge branch 'master' into keeper-add-api-version-config 2023-06-29 11:36:49 +02:00
Alexey Milovidov
efb901245b
Merge branch 'master' into ft-thread-scheduling-stacktrace 2023-06-29 11:38:54 +03:00
Igor Nikonov
18cb040342
Merge pull request #51540 from ClickHouse/fix_hash_dict_detach_thread
Fix FATAL: query context is not detached from thread group
2023-06-29 10:36:03 +02:00
Igor Nikonov
a8aa6b55d1
Merge branch 'master' into fix_hash_dict_detach_thread 2023-06-29 10:35:09 +02:00
Igor Nikonov
def0adf8f4
Merge branch 'master' into many-fixes-2 2023-06-29 10:33:59 +02:00
Alexey Milovidov
a4d7e48bc9
Merge branch 'master' into resubmit-51149 2023-06-29 11:07:01 +03:00
Alexey Milovidov
0c697b920f Remove the usage of Analyzer setting in the client 2023-06-29 06:58:53 +02:00
Alexey Milovidov
b6ca956480
Merge branch 'master' into qemu-chroot-fixes 2023-06-29 07:52:08 +03:00
Yuriy Chernyshov
19676e3a92
Merge branch 'master' into update-re2 2023-06-29 00:40:31 +02:00
Alexander Tokmakov
b27cf4e7ba fix 2023-06-29 00:15:45 +02:00
Alexander Tokmakov
45232770e0
Try to fix deadlock in ZooKeeper client 2023-06-29 00:41:23 +03:00
Alexander Tokmakov
296f9968c0 fix 2023-06-28 23:20:02 +02:00
xiaolei565
9f7df81a5c
Merge branch 'master' into xuelei_dev 2023-06-29 04:52:15 +08:00
Mikhail f. Shiryaev
f728f97350
Add cgroupsv2 for getCGroupLimitedCPUCores 2023-06-28 22:19:44 +02:00
Yakov Olkhovskiy
8854f05a75 style fix 2023-06-28 19:53:49 +00:00
Robert Schulze
5b78b3903b
Fix logical error in tupleElement() 2023-06-28 18:35:33 +00:00
Robert Schulze
bf54fb4caa
tupleElement(): Return default value for out-of-bounds-index
Makes the actual and the documented behavior consistent.
2023-06-28 18:35:32 +00:00
Robert Schulze
eea3c39959
Cosmetics 2023-06-28 18:35:27 +00:00
Nikolai Kochetov
e78f3389b7
Merge branch 'master' into fix-creating-set-for-storage-fuzz 2023-06-28 19:27:50 +02:00
robot-ch-test-poll4
aa514dc846
Merge pull request #50551 from ClickHouse/fix-ip-aggregate-state
Fix backward compatibility for IP types hashing in aggregate functions
2023-06-28 19:24:04 +02:00
kssenii
39f8b92e24 Allow to add disk name for custom disk 2023-06-28 19:05:35 +02:00
Igor Nikonov
56354b7251 Fix yet another place 2023-06-28 16:55:22 +00:00
Alexander Tokmakov
372f5786c4 more optimal REPLACE_RANGE with zero-copy 2023-06-28 18:44:54 +02:00
kssenii
1d78bafa82 Flexible drop cache 2023-06-28 18:44:47 +02:00
Alexander Tokmakov
594ec09edf fix missing metadata_version.txt 2023-06-28 18:19:16 +02:00
Vitaly Baranov
5570863676
Merge branch 'master' into reorder-part-checksum-halves 2023-06-28 17:25:34 +02:00
Sema Checherinda
ecea5da70c
Merge branch 'master' into no-finalize-WriteBufferFromOStream 2023-06-28 17:04:25 +02:00
Igor Nikonov
0b19c1832a Fix: detach from thread group 2023-06-28 14:15:03 +00:00
Alexey Milovidov
3006113e4d
Merge branch 'master' into add-test-43358 2023-06-28 17:05:51 +03:00
Ilya Yatsishin
fe6031e480
Merge branch 'master' into qoega-patch-5 2023-06-28 16:02:38 +02:00
Alexey Milovidov
a399431977
Update StoragePolicy.cpp 2023-06-28 16:40:57 +03:00
kssenii
15f64a7cb9 Add some checks 2023-06-28 15:27:10 +02:00
Kseniia Sumarokova
5a1bbe5a8d
Update CachedOnDiskReadBufferFromFile.cpp 2023-06-28 14:05:14 +02:00
xuelei
112310e98f fix storage policy prompt display error 2023-06-28 19:17:53 +08:00
xuelei
2707d06645 Merge branch 'master' of https://ghproxy.com/https://github.com/xiaolei565/ClickHouse into xuelei_dev 2023-06-28 18:39:34 +08:00
Nikolai Kochetov
a029105fd5 Fix duplicate storage set logical error. 2023-06-28 10:35:19 +00:00
Nikita Mikhaylov
b8b0fd3abf
Slightly better code around packets for parallel replicas (#51451) 2023-06-28 12:30:15 +02:00
Kseniia Sumarokova
0c1f24db77
Add a comment (#51517)
* Add a comment

* Update DatabaseCatalog.cpp
2023-06-28 13:13:16 +03:00
Alexey Milovidov
e3189e29f7 Allow running in a stripped chroot 2023-06-28 11:56:11 +02:00
vdimir
e2241b8c7c
Merge branch 'grace_hash_join_debug_2306' into many-fixes-2 2023-06-28 09:35:20 +00:00
Sema Checherinda
1596b09dc2 add missing finalize calls 2023-06-28 10:51:54 +02:00
Alexander Tokmakov
0d6c7ffb30 Merge remote-tracking branch 'ch/evillique-patch-1' into many-fixes-2 2023-06-28 10:45:11 +02:00
Alexey Milovidov
7e6d606b1c Remove bad code and fix a bug 2023-06-28 10:41:39 +02:00
xuelei
68ac4d8cc9 fix storage policy prompt display error 2023-06-28 16:31:57 +08:00
Antonio Andelic
eff1cc0e5d
Remove unused errorcode 2023-06-28 10:20:33 +02:00
Antonio Andelic
be852d554b Use magic_enum for values 2023-06-28 07:45:20 +00:00
robot-clickhouse-ci-1
73fb47e81f
Merge pull request #51479 from kssenii/delay-shutdown-of-temporary-database
Delay shutdown of system and temporary databases
2023-06-28 06:20:46 +02:00
Yakov Olkhovskiy
6e769237a7 added setting 'enable_job_stack_trace', default is off 2023-06-28 01:39:06 +00:00
Nikita Taranov
e2f20ea0e2 fix 2023-06-28 00:30:51 +02:00
Alexander Tokmakov
1ed104417a fix race between executeMetadataAlter and initializeReplication
(cherry picked from commit 1d47783e85)
2023-06-27 23:24:02 +02:00
Nikita Taranov
13854e5259 impl 2023-06-27 21:09:00 +02:00
Nikita Mikhaylov
95d569e563
Merge pull request #51480 from vitlibar/fix-memory-leakage-in-compression-codec-deflate-qpl
Fix memory leakage in CompressionCodecDeflateQpl
2023-06-27 21:00:40 +02:00
serxa
7583da9b38 fix 2023-06-27 18:48:54 +00:00
Alexander Tokmakov
f5327e79bb fix a logical error on mutation 2023-06-27 20:18:38 +02:00
Nikita Mikhaylov
48e8475511
Merge pull request #51484 from kssenii/try-data-race-in-bounded-read-buffer
Fix race in BoundedReadBuffer
2023-06-27 19:51:09 +02:00
Ilya Yatsishin
d3b8b454f8
Fix segfault in MathUnary 2023-06-27 19:19:58 +02:00
vdimir
0b6d367bdb
Parts mover: lock between getActiveContainingPart and swapActivePart 2023-06-27 17:14:49 +00:00
serxa
40f721ae4f fix possible race on shutdown wait 2023-06-27 17:14:33 +00:00
Sema Checherinda
d6f1e4b527
Merge branch 'master' into no-finalize-WriteBufferFromOStream 2023-06-27 19:02:27 +02:00
Nikita Mikhaylov
c22b1d3612
Merge pull request #51485 from kssenii/fix-flaky-unit-test
Fix flaky unit test
2023-06-27 18:46:12 +02:00
Sema Checherinda
fe97021929 add missing finalize calls in buffers 2023-06-27 16:54:14 +02:00
kssenii
b8866e0128 Fix flaky unit test 2023-06-27 16:11:51 +02:00
kssenii
648b647f5f Fix race 2023-06-27 15:54:06 +02:00
Vitaly Baranov
89de7a64eb Fix memory leakage in CompressionCodecDeflateQpl. 2023-06-27 15:06:31 +02:00
kssenii
46a69829ff Delay shutdown of system and temporary databases 2023-06-27 15:05:15 +02:00
Igor Nikonov
d4c8021f80 Extend consistency check for ColumnObject
+ check that there arer subcolumns when there are rows
2023-06-27 12:41:21 +00:00
Nikita Mikhaylov
d24c5ab01f
Merge branch 'master' into fix-ip-aggregate-state 2023-06-27 14:11:26 +02:00
Nikita Mikhaylov
dc0dc227e0
Merge pull request #51455 from ClickHouse/many-fixes
Many fixes
2023-06-27 13:57:17 +02:00
Kseniia Sumarokova
817a62b7cf
Merge branch 'master' into minor-changes-cached-buffer 2023-06-27 13:02:37 +02:00
Kseniia Sumarokova
6b06cbe106
Merge branch 'master' into add-checks-for-intersecting-ranges 2023-06-27 12:55:26 +02:00
Vitaly Baranov
1ae51ffa7b
Merge branch 'master' into fix-using-locks-in-process-list 2023-06-27 12:19:02 +02:00
Antonio Andelic
efbe01b6bb Merge branch 'master' into keeper-add-api-version-config 2023-06-27 10:11:04 +00:00
SmitaRKulkarni
dcf581a985
Merge pull request #50936 from ClickHouse/Fix_race_azure_blob_storage_iterator
Fix race azure blob storage iterator
2023-06-27 09:27:45 +02:00
Alexey Milovidov
8c38d10bb4 A fix for clang-17 2023-06-27 05:49:03 +02:00
Alexey Milovidov
b5635887c3 Merge remote-tracking branch 'origin/refactor-subqueries-for-in' into many-fixes 2023-06-27 05:39:44 +02:00
Alexey Milovidov
19c054ea21 Merge branch 'fix-using-locks-in-process-list' of github.com:vitlibar/ClickHouse into many-fixes 2023-06-27 05:37:05 +02:00
Alexey Milovidov
ccbcbe3349 Merge remote-tracking branch 'origin/tavplubix-patch-6' into many-fixes 2023-06-27 05:33:29 +02:00
Alexey Milovidov
a686833f8e Merge branch 'fix-logical-error-address-to-line-with-inlines' into many-fixes 2023-06-27 05:26:05 +02:00
Alexey Milovidov
4615aaacb6 Merge branch 'revert-50951' into many-fixes 2023-06-27 05:23:46 +02:00
Alexey Milovidov
d996dba7c3 Merge branch 'fix-msan-lower-upper' into many-fixes 2023-06-27 05:20:45 +02:00
Alexey Milovidov
b67a621af5 Merge branch 'disable-compile-expressions' into many-fixes 2023-06-27 05:20:29 +02:00
Alexey Milovidov
1d55be0bdc Merge branch 'replace-trycatch' of github.com:rschu1ze/ClickHouse into many-fixes 2023-06-27 05:19:06 +02:00
Alexey Milovidov
e81b418137 Merge branch 'remove-siphash64-reference-keyed' into many-fixes 2023-06-27 05:16:37 +02:00
Alexey Milovidov
93884f4d34 Merge branch 'generic-transform' into many-fixes 2023-06-27 05:16:16 +02:00
Vitaly Baranov
c01d5ed004 Fix after review. 2023-06-27 00:27:51 +02:00
kssenii
72e407eb06 Better 2023-06-26 20:40:18 +02:00
kssenii
01607f0b32 Add check for intersecting ranges 2023-06-26 20:21:25 +02:00
Robert Schulze
61136680e4
Update src/Common/StringSearcher.h
Co-authored-by: ltrk2 <107155950+ltrk2@users.noreply.github.com>
2023-06-26 20:05:58 +02:00
Robert Schulze
1ed33b1936
Update src/Common/StringSearcher.h
Co-authored-by: ltrk2 <107155950+ltrk2@users.noreply.github.com>
2023-06-26 19:22:46 +02:00
Robert Schulze
d8cee8a34c
Fix style 2023-06-26 19:00:25 +02:00
kssenii
a1eb27ce30 Update log message 2023-06-26 18:12:41 +02:00
Kseniia Sumarokova
4da82d10d0
Update gtest_lru_file_cache.cpp 2023-06-26 17:57:46 +02:00
Robert Schulze
45c263cbb5
Replace try/catch logic in hasTokenOrNull() by sth more lightweight 2023-06-26 15:06:58 +00:00
Robert Schulze
fae545ae5c
Merge pull request #51132 from rschu1ze/inefficient-query-cache
Fix ineffective query cache for SELECTs with subqueries
2023-06-26 16:54:54 +02:00
Sema Checherinda
047f656980 add explicit finalize calls 2023-06-26 15:04:50 +02:00
lgbo-ustc
179a7ce202 debug 2023-06-26 20:43:19 +08:00
Nikolai Kochetov
4bfe75ce81
Merge branch 'master' into set-index-nullable-atoms 2023-06-26 14:34:42 +02:00
kssenii
7d8d19d800 Add test 2023-06-26 14:31:05 +02:00
Alexander Tokmakov
eb649873b3
Unify merge predicate (#51344)
* unify merge predicate

* Update BaseDaemon.cpp
2023-06-26 13:48:21 +03:00
Alexander Tokmakov
e92035072b
Update MergeTreeTransaction.cpp 2023-06-26 13:44:09 +03:00
kssenii
1f60a6ed4e Fix 2023-06-26 12:34:11 +02:00
Sema Checherinda
ae08fb2019 no finalize in d-tor WriteBufferFromOStream 2023-06-26 12:02:09 +02:00
Alexey Milovidov
8e6f665585 Fix build 2023-06-26 05:57:38 +02:00
Alexey Milovidov
b8e6bd3299
Merge branch 'master' into refactor-subqueries-for-in 2023-06-26 06:05:12 +03:00
Alexey Milovidov
477b707ff1 Revert "Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix"
This reverts commit 6bbd0d144d, reversing
changes made to 74cb79769b.
2023-06-26 02:02:24 +02:00
Nikolay Degterinsky
4b02d83999
Merge pull request #50950 from alekar/improve-outfile
Address some usability issues with INTO OUTFILE usage.
2023-06-25 18:40:55 +02:00
Vitaly Baranov
f1f0daa654 Show halves of checksums in "system.parts", "system.projection_parts" and error messages in the correct order. 2023-06-25 17:17:56 +02:00
Yakov Olkhovskiy
cc3d27c0a3 clang-tidy fix 2023-06-25 15:14:29 +00:00
Alexey Milovidov
071cd58be8 Fix "logical error" in addressToLineWithInlines 2023-06-25 08:31:02 +02:00
Yakov Olkhovskiy
535fef97d5 clang-tidy fix 2023-06-25 04:44:21 +00:00
Alexey Milovidov
650e80663c Fix MSan report in lowerUTF8/upperUTF8 2023-06-25 05:59:02 +02:00
Alexey Milovidov
d84a4626b0 Disable "compile_expressions" setting by default 2023-06-25 03:22:59 +02:00
Yakov Olkhovskiy
71678f64b1
Merge pull request #49759 from ClickHouse/cast-ipv6-to-ipv4
Allow to cast IPv6 to IPv4 for address in proper mapping block
2023-06-24 17:33:15 -04:00
Alexey Milovidov
3ed86867f8 Remove sipHash128ReferenceKeyed 2023-06-24 23:06:13 +02:00
Yuriy Chernyshov
3e6654a1fe
Merge branch 'master' into update-re2 2023-06-24 22:34:44 +02:00
Yakov Olkhovskiy
e0485778f5 style fix 2023-06-24 19:37:00 +00:00
Yakov Olkhovskiy
f11e1c25ee added to fatal errors handler, added comments 2023-06-24 17:24:54 +00:00
Alexander Gololobov
18bab6fee9
Merge pull request #51347 from ClickHouse/speedup_datelut_init
Speedup DateLUT initialization
2023-06-24 13:57:35 +02:00
Vitaly Baranov
3711430d9f Rename member fields of CityHash_v1_0_2::uint128: "first" -> "low64", "second" -> "high64". 2023-06-24 12:25:56 +02:00
Alexey Milovidov
2c69cff589
Merge branch 'master' into set-index-nullable-atoms 2023-06-24 10:18:20 +03:00
Alexey Milovidov
a7febd1c13 Backward compatibility 2023-06-24 08:28:23 +02:00
Alexey Milovidov
ed3ead3493 Add support for Nullable 2023-06-24 07:23:17 +02:00
Alexey Milovidov
3746e274b8 Support empty arrays 2023-06-24 07:23:15 +02:00
Alexander Gololobov
dfc1afab62 Better naming and comments 2023-06-24 07:14:21 +02:00
Alexey Milovidov
cb2d395410 Add generic implementation of function transform 2023-06-24 06:52:28 +02:00
Alexey Milovidov
396eb70426 Remove garbage from function transform 2023-06-24 05:49:12 +02:00
Alexey Milovidov
786987a29a Remove garbage from function transform 2023-06-24 05:49:12 +02:00
robot-clickhouse-ci-1
c66ff09627
Merge pull request #51253 from kssenii/delete-non-evictable-feature
Delete feature do_not_evict_index_and_mark_files in fs cache
2023-06-24 02:37:52 +02:00
Yakov Olkhovskiy
be17a81792 recursively collect call stacks on job scheduling and add all stack traces to exceptions printout 2023-06-24 00:12:31 +00:00
Vitaly Baranov
fad07bf4b8 Fix using locks in ProcessList. 2023-06-23 23:49:51 +02:00
Alexander Gololobov
8243b624e9 Speedup DateLUT initialization 2023-06-23 23:33:45 +02:00
Alexander Tokmakov
878000025d
Merge pull request #51297 from ClickHouse/fix-metadata-loading
Fix metadata loading test
2023-06-23 21:45:21 +03:00
Nikolai Kochetov
598da6207e Use inNull and add a comment. 2023-06-23 15:49:37 +00:00
Alexey Milovidov
305e3d1f66
Merge pull request #50704 from rschu1ze/qc-materialize-query
Query Cache: Try to fix bad cast from ColumnConst to ColumnVector<char8_t>
2023-06-23 18:01:00 +03:00
Yakov Olkhovskiy
09806bc363
Merge branch 'master' into cast-ipv6-to-ipv4 2023-06-23 10:53:46 -04:00
Alexey Milovidov
945a119fc6
Merge pull request #51287 from ClickHouse/remove-live-view-alter
Remove ALTER of LIVE VIEW
2023-06-23 16:44:53 +03:00
Sema Checherinda
977cd03cf2
Merge branch 'master' into memory-leak 2023-06-23 15:35:53 +02:00
Anton Popov
43fd4a83ca
Merge branch 'master' into better-reporting-broken-parts 2023-06-23 14:57:23 +02:00
Robert Schulze
cc3398159e
Restore Azure build on ARM (#51288) 2023-06-23 14:35:51 +02:00
Smita Kulkarni
b5ad349c4f Removed unwanted atomic variables to non atomic 2023-06-23 14:34:24 +02:00
Robert Schulze
43c97d76bf
Merge pull request #44149 from zvonand/zvonand-implicit-tz
Session time zones
2023-06-23 14:28:49 +02:00
Alexey Milovidov
75ef844f99
Fix long test functions_bad_arguments (#51310)
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-23 13:51:40 +02:00
alesapin
eaf95306ed
Add random sleep for zero copy (#51282)
* Add small sleep for zero copy replication merges and mutations

* Update src/Storages/MergeTree/MergeFromLogEntryTask.cpp

Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>

* Update src/Storages/MergeTree/MergeFromLogEntryTask.cpp

Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>

* Update src/Storages/MergeTree/MutateFromLogEntryTask.cpp

Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>

* Update src/Storages/MergeTree/MergeFromLogEntryTask.cpp

Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>

* Update src/Storages/MergeTree/MutateFromLogEntryTask.cpp

* Fix darwin build

---------

Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-23 13:49:07 +02:00
Han Fei
3a697544c9
Merge pull request #51272 from ClickHouse/Update_check_for_parameterized_view
Updated check for parameterized view
2023-06-23 12:57:07 +02:00
kssenii
fbc1a80ebe Merge remote-tracking branch 'upstream/master' into min-file-segment-size 2023-06-23 12:52:29 +02:00
Nikolai Kochetov
e44b544ac0
Merge pull request #51301 from ClickHouse/fix-fuzz-actions-dag
Fix fuzzer failure in ActionsDAG
2023-06-23 12:30:34 +02:00
Vitaly Baranov
1ec5304957
Fix multiple writing of same file to backup (#51299)
* Fix writing the same file multiple times to backup.

* Add test.

---------

Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-23 12:11:18 +02:00
Alexander Tokmakov
d57a6061ed
Merge pull request #51284 from ClickHouse/fix_check_table_structure
Disable table structure check for secondary queries from Replicated db
2023-06-23 13:04:33 +03:00
Smita Kulkarni
db8120722f Separated functionality of Iterator into GlobIterator and KeysIterator, added test for filter by file 2023-06-23 12:00:20 +02:00
Nikolai Kochetov
efcf8d6389
Merge pull request #51266 from kssenii/less-loggers
Avoid too many calls to Poco::Logger::get
2023-06-23 09:56:26 +02:00
robot-ch-test-poll1
6261ef19d0
Merge pull request #50324 from ClibMouse/feature/quantile-timing-big-endian-support
Implement endianness-independent serialization for quantileTiming
2023-06-23 08:07:23 +02:00
Alexey Milovidov
9945118dbe
Merge pull request #51260 from ClickHouse/urlfree
Fix use-after-free in StorageURL when switching URLs
2023-06-23 08:13:35 +03:00
Alexey Milovidov
5c5d5ea08f
Merge pull request #48775 from tonickkozlov/tonickkozlov/22.3-unexpected-dictionary-load-behaviour
Report loading status for executable dictionaries correctly
2023-06-23 06:20:47 +03:00
Alexey Milovidov
c958a1a77b Fix fuzzer failure in ActionsDAG 2023-06-23 01:23:25 +02:00
Alexey Milovidov
550784e6a0 Support clang-17 2023-06-23 01:08:51 +02:00
Alexey Milovidov
4e34d568b8
Merge pull request #51231 from liuneng1994/fix_core_dump_when_compile_expression
Fix core dump when compile expression
2023-06-23 01:28:35 +03:00
Alexey Milovidov
f14391faaa Change log level 2023-06-23 00:06:27 +02:00
Anton Popov
241d711264 better expception message 2023-06-22 22:03:40 +00:00
Alexey Milovidov
b5b2a2a41a Fix "metadata loading" test 2023-06-22 23:57:37 +02:00
Nikita Taranov
fb7d23f245 fix build 2023-06-22 23:54:25 +02:00
Alexander Tokmakov
220520c516 fix 2023-06-22 21:45:10 +02:00
Alexander Tokmakov
158cfe9c74
Merge pull request #51265 from ClickHouse/tavplubix-patch-7
Ugly hotfix for "terminate on uncaught exception" in WriteBufferFromOStream
2023-06-22 22:39:35 +03:00
Nikolai Kochetov
f226397fa3 Fix check. 2023-06-22 19:21:08 +00:00
Sema Checherinda
2b01711565 fix assert in test, revert debug message 2023-06-22 21:06:53 +02:00
Alexey Milovidov
369ad0aea3 Remove ALTER of LIVE VIEW 2023-06-22 20:32:29 +02:00
Alexander Tokmakov
3afb0933a5 Merge branch 'master' into fix_trash_in_disks 2023-06-22 20:27:57 +02:00
Nikolai Kochetov
75391afbd8 Fix typo. 2023-06-22 18:16:48 +00:00
Nikolai Kochetov
ba4b5c3350 Fix stupid bug. 2023-06-22 18:15:16 +00:00
Andrey Zvonov
3d385be9cb
Update Settings.h 2023-06-22 20:56:50 +03:00
Alexander Tokmakov
8afb8bf13a disable table structure check for secondary queries from Replicated db 2023-06-22 19:06:28 +02:00
Michael Kolupaev
2498170253 Fix use-after-free in StorageURL when switching URLs 2023-06-22 16:24:12 +00:00
ltrk2
a89bfb9ec5 Revert back to value type as requested 2023-06-22 08:59:44 -07:00
Andrey Zvonov
d4316c7189
Merge branch 'master' into zvonand-implicit-tz 2023-06-22 17:23:20 +02:00
kssenii
dd49f4a565 Remove key 2023-06-22 17:07:52 +02:00
Sergei Trifonov
f35faa4b8f
Merge pull request #51245 from ClickHouse/fix-flaky-asyncloader-stop
fix flaky `AsyncLoader` destructor
2023-06-22 17:00:47 +02:00
Sergei Trifonov
ad1eda4a33
Merge pull request #51237 from ClickHouse/refactor-settings-enums
Introduce settings enum field with auto-generated values list
2023-06-22 16:35:57 +02:00
Nikolai Kochetov
22e49748b5 Cleanup. 2023-06-22 14:23:04 +00:00
Smita Kulkarni
3c7d749d2c Added check of StorageView before checking parameterized view to fix seg fault when materialized view is used with brackets 2023-06-22 14:47:04 +02:00
Sema Checherinda
d0bb985061 fix other classes based on SinkToStorage 2023-06-22 14:33:25 +02:00
Anton Popov
ee68e85d31 better reporting of broken parts 2023-06-22 12:25:45 +00:00
Alexander Tokmakov
0ffeecde6a
Merge branch 'master' into tavplubix-patch-6 2023-06-22 14:59:06 +03:00
Alexander Tokmakov
35c5483ad2
Update WriteBufferFromOStream.cpp 2023-06-22 14:56:20 +03:00
Robert Schulze
a9f1393862
Make the fix more minimal 2023-06-22 11:46:27 +00:00
Robert Schulze
a1c131c0da
Query Cache: Try to fix bad cast from ColumnConst to ColumnVector<char8_t>
Resolves #49445

The query cache buffers query result chunks and eventually squashes
them before insertion into the cache. Here, squashing failed because not
all chunks were of the same type. Looks like chunks of the same
underlying type (e.g. UInt8) in a query result be of mixed const, sparse
or low-cardinality type. Fix this by always materializing the data
regardless of the compression. Strange thing is that the failing query
in the stress test (*) isn't able to reproduce the bug, and I haven't
managed to trigger the issue otherwise, so no test case is added.

(*) SELECT 1 UNION ALL SELECT 1 INTERSECT SELECT 1
    E.g. here: https://s3.amazonaws.com/clickhouse-test-reports/0/18817517ed6f8849e3d979e10fbb273e0edf0eaa/stress_test__debug_/fatal_messages.txt
2023-06-22 11:46:22 +00:00
kssenii
8ff8125ebd Better 2023-06-22 13:25:47 +02:00
kssenii
4fbf52f2de Less loggers 2023-06-22 13:08:53 +02:00
Alexander Tokmakov
6929a9b852
Update WriteBufferFromOStream.cpp 2023-06-22 14:01:28 +03:00
Sema Checherinda
95349a405b release buffers with exception context 2023-06-22 13:00:13 +02:00
Kseniia Sumarokova
b7ef782335
Merge pull request #51242 from kssenii/fix-possible-incorrect-elements-limit
Fix sometimes incorrect current_elements count in fs cache
2023-06-22 12:51:43 +02:00
Igor Nikonov
9d9c9ccaff
Merge pull request #51259 from ClickHouse/cache-eviction-improve-hot-path
FileCache: tryReserve() slight improvement
2023-06-22 12:41:01 +02:00
Anton Kozlov
0c440b9d6f Report loading status for executable dictionaries correctly 2023-06-22 10:28:13 +00:00
Nikolai Kochetov
a940031878 Merge branch 'master' into refactor-subqueries-for-in 2023-06-22 12:18:48 +02:00
Mikhail f. Shiryaev
02776b8a15
Merge pull request #51163 from ClickHouse/fasttest-ignore-chown-fail
Ignore errors for `chown` in fasttests
2023-06-22 09:51:57 +02:00
Alexander Gololobov
a604a1de0b
Merge pull request #51238 from ClickHouse/zookeeper_fail_on_get_api_version_error
Drop session if we fail to get Keeper API version
2023-06-22 08:06:50 +02:00
LiuNeng
bcdf5f37ee
Merge branch 'master' into fix_core_dump_when_compile_expression 2023-06-22 12:13:55 +08:00
Michael Kolupaev
c96a3a8b15 Unforget to pass callback to readBigAt() in ParallelReadBuffer 2023-06-21 17:14:19 -07:00
Alexey Milovidov
a050b9e9d9
Update FileCache.cpp 2023-06-22 01:28:52 +03:00
Igor Nikonov
e3b43c2b88 Move instead of copy 2023-06-21 21:54:44 +00:00
Igor Nikonov
ad0677147f Trying slightly improve eviction path
+ less copying of shared pointers
+ less indirection in overflow check
2023-06-21 21:48:58 +00:00
Nikolai Kochetov
0af028ab3f Refactor a bit more. 2023-06-21 20:55:27 +00:00
Sema Checherinda
23120c4467 fix build 2023-06-21 22:32:33 +02:00
Sema Checherinda
679f2c4aa4
Merge branch 'master' into memory-leak 2023-06-21 22:22:11 +02:00
Alexander Gololobov
333483bdce
Merge pull request #49181 from ClickHouse/get_rid_of_delete_on_destroy_marker
Deprecate delete-on-destroy.txt
2023-06-21 22:20:57 +02:00
Smita Kulkarni
5229544b55 Added function getCurrrentBatchAndScheduleNext to IObjectStorageIteratorAsync 2023-06-21 22:17:39 +02:00
Alexander Tokmakov
b7dd334d55
Merge branch 'master' into fix_trash_in_disks 2023-06-21 22:23:14 +03:00
Sema Checherinda
c2fa7a1030
Merge branch 'master' into memory-leak 2023-06-21 21:15:01 +02:00
Sema Checherinda
01de36f1fa
Merge pull request #50395 from CheSema/better-log
require `finalize()` call before d-tor for all writes buffers
2023-06-21 21:12:02 +02:00
Alexander Tokmakov
50ee424148 do not update digest during recovery 2023-06-21 21:07:59 +02:00
kssenii
78ea4feca0 Merge remote-tracking branch 'upstream/master' into delete-non-evictable-feature 2023-06-21 20:52:08 +02:00
Alexander Tokmakov
9240a82c64
Update DatabaseReplicated.cpp 2023-06-21 21:49:00 +03:00
kssenii
9aa4647f4f Delete feature 2023-06-21 20:48:12 +02:00
Sergei Trifonov
99c6bdca24
Merge branch 'master' into fix-flaky-asyncloader-stop 2023-06-21 20:43:42 +02:00
Alexander Tokmakov
9157314b2a fix 2023-06-21 20:29:32 +02:00
Kseniia Sumarokova
45d7f39566
Merge pull request #51222 from ClickHouse/kssenii-patch-7
Disable cache setting do_not_evict_index_and_mark_files
2023-06-21 20:17:33 +02:00
Anton Popov
022b85ba0b
Merge pull request #51164 from CurtizJ/better-check-part-with-cache
Better checking of data parts on disks with filesystem cache
2023-06-21 20:08:53 +02:00
kssenii
38466169c7 Better 2023-06-21 20:07:45 +02:00
Alexey Milovidov
c54433a1ac
Merge pull request #51131 from ClickHouse/nickitat-patch-11
Small fix in `MergeTreePrefetchedReadPool`
2023-06-21 20:31:49 +03:00
Alexey Milovidov
f0d93d5b60
Merge pull request #51199 from ClickHouse/empty_array_get_name
Avoid initializing DateLUT from emptyArray function registration
2023-06-21 20:29:28 +03:00
Alexey Milovidov
e87b9ee846
Update AsyncLoader.cpp 2023-06-21 20:25:10 +03:00
kssenii
3ce17fd570 Fix log message 2023-06-21 18:30:46 +02:00
kssenii
509a50f651 Merge remote-tracking branch 'origin/fix-possible-incorrect-elements-limit' into fix-possible-incorrect-elements-limit 2023-06-21 18:29:16 +02:00