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
kssenii
b007c9f194
Review comments
2023-06-21 18:28:14 +02:00
Dmitry Novik
bb97332599
Merge pull request #50441 from Algunenano/parallel_replicas_analyzer
...
Support parallel replicas with the analyzer
2023-06-21 17:28:06 +02:00
Kseniia Sumarokova
d18da7098a
Update LRUFileCachePriority.cpp
2023-06-21 17:25:09 +02:00
serxa
1f901f4ec4
fix
2023-06-21 15:18:49 +00:00
serxa
c5ade1c8fc
fix flaky AsyncLoader
destructor
2023-06-21 15:16:18 +00:00
Alexander Gololobov
17a95a54e1
Merge pull request #51118 from ClickHouse/sys_zookeep_more_parallel_get
...
Make more parallel get requests to ZooKeeper in system.zookeeper
2023-06-21 17:07:21 +02:00
Sergei Trifonov
dfa39e2e7b
Merge branch 'master' into refactor-settings-enums
2023-06-21 16:48:14 +02:00
serxa
89f19fc912
fix values indexing
2023-06-21 14:47:47 +00:00
liuneng
3224e49757
fix
2023-06-21 22:46:41 +08:00
kssenii
b723f9e7bf
Fix sometimes not correct current_elements_num
2023-06-21 16:45:52 +02:00
Alexander Tokmakov
76e3d1e7b6
Revert "Fix a crash in s3 and s3Cluster functions"
2023-06-21 17:10:20 +03:00
Alexander Gololobov
6ebeb93a1a
Drop session if we fail to get API version
2023-06-21 16:05:48 +02:00
serxa
3157f29a46
introduce settings enum field with auto-generated values list
2023-06-21 13:25:10 +00:00
Kseniia Sumarokova
5c38231a14
One more profile event for fs cache ( #51223 )
2023-06-21 15:18:25 +02:00
liuneng
e650a6094a
fix core dump when compile expression
2023-06-21 20:28:27 +08:00
Alexander Gololobov
a708adecee
Pass element type as param to ctor
2023-06-21 14:04:45 +02:00
Alexander Tokmakov
318ac807c7
Merge branch 'master' into fix_trash_in_disks
2023-06-21 14:04:01 +02:00
Andrey Zvonov
b4f2e4020d
Merge branch 'master' into zvonand-implicit-tz
2023-06-21 13:41:35 +02:00
Mikhail f. Shiryaev
4fb2dc8384
Decrease default settings for http headers name and value to 128K
2023-06-21 12:59:27 +02:00
Kruglov Pavel
bbd70932e2
Merge pull request #51158 from Avogar/extend-progress-protocol
...
Add total_bytes_to_read to Progress packet in TCP protocol for better progress bar
2023-06-21 12:43:45 +02:00
Kruglov Pavel
8f8cd97fd8
Merge pull request #51088 from Avogar/better-progress-bar
...
Improve progress bar for file/s3/hdfs/url table functions. Step 1
2023-06-21 12:42:25 +02:00
Sema Checherinda
4d08df8d29
fix finalization of cascade write buffer
2023-06-21 12:27:39 +02:00
Alexander Gololobov
a23caab98c
Merge branch 'master' into sys_zookeep_more_parallel_get
2023-06-21 12:16:57 +02:00
Nikolay Degterinsky
50c114f081
Merge pull request #51209 from evillique/fix-s3-function
...
Fix a crash in s3 and s3Cluster functions
2023-06-21 11:59:42 +02:00
Nikolai Kochetov
0149f905de
Update MergeTreeIndexSet.cpp
2023-06-21 11:26:54 +02:00
Alexander Tokmakov
8896e90ad6
Merge pull request #51207 from ClickHouse/fix_lost_forever_check
...
Suppress check for covered parts in ZooKeeper
2023-06-21 12:26:09 +03:00
Robert Schulze
dcfcbd8345
Merge remote-tracking branch 'rschu1ze/master' into inefficient-query-cache
2023-06-21 09:23:31 +00:00
Kseniia Sumarokova
b60520ec55
Disable cache setting do_not_evict_index_and_mark_files
2023-06-21 11:15:55 +02:00
Robert Schulze
9b959eb1fb
Merge pull request #49577 from tpanetti/mysql_compatible_types
...
Change SHOW COLUMNS query to display MySQL types in MySQL Compatibility mode
2023-06-21 11:04:22 +02:00
Robert Schulze
06e8590c8e
Merge pull request #50775 from rschu1ze/non-experimental-qpl-deflate
...
Mark QPL_DEFLATE non-experimental but default: off-by-default
2023-06-21 10:43:16 +02:00
alekar
c88c57d599
Merge branch 'master' into improve-outfile
2023-06-21 01:17:54 -07:00
Manas Alekar
44798971f9
Fix a test, add APPEND to suggest.
2023-06-20 22:10:39 -07:00
Nikolay Degterinsky
150007bfc5
Merge branch 'master' into fix-s3-function
2023-06-21 03:04:59 +02:00
Nikolay Degterinsky
75b266e179
Fix crash in s3 and s3Cluster functions
2023-06-21 00:04:11 +00:00
Kseniia Sumarokova
e2a4526108
Revert bad change
2023-06-21 00:35:01 +02:00
kssenii
0efaecab51
Revert "Merge pull request #51149 from ClickHouse/revert-48821-localfilefunction"
...
This reverts commit a09e6bbb8e
, reversing
changes made to ce38d64c5a
.
2023-06-21 00:29:46 +02:00
kssenii
b8085dfa0e
Fix bad merge
2023-06-21 00:20:40 +02:00
Kseniia Sumarokova
9329cab0ca
Merge branch 'master' into add-logging-for-logical-error
2023-06-21 00:16:15 +02:00
Alexander Tokmakov
f973bd7516
suppress check for covered parts in zk
2023-06-20 23:53:32 +02:00
Alexander Tokmakov
51a5ef33e1
fix
2023-06-20 23:20:37 +02:00
Alexey Milovidov
0349315143
Merge pull request #50797 from jrdi/fix-summing-mt-dt64
...
SummingMergeTree support for DateTime64
2023-06-20 23:02:21 +03:00
Nikolai Kochetov
266e81702a
Fixing clang-tidy
2023-06-20 19:48:39 +00:00
Nikolai Kochetov
5bda0b535d
Fixing build.
2023-06-20 19:45:03 +00:00
Nikolai Kochetov
e4f057e304
Fix Set index with constant nullable comparison.
2023-06-20 19:40:37 +00:00
Nikolai Kochetov
c0b1d7f4f2
Fixing 01774_tuple_null_in
2023-06-20 19:12:22 +00:00
Sema Checherinda
9b0c3359cf
Merge branch 'master' into better-log
2023-06-20 20:37:36 +02:00
Alexey Milovidov
ced1ae7287
Update emptyArray.cpp
2023-06-20 21:20:25 +03:00
Alexey Milovidov
c097e6e53d
Merge pull request #50531 from kitaisreal/jit-infrastructure-refactoring
...
JIT infrastructure refactoring
2023-06-20 21:13:44 +03:00
Robert Schulze
bc7df2baca
Merge branch 'master' into non-experimental-qpl-deflate
2023-06-20 20:06:01 +02:00
Sema Checherinda
fd292dc730
work with comment on the PR
2023-06-20 20:02:04 +02:00
Nikolai Kochetov
5a1f819e7b
Fix more tests.
2023-06-20 17:33:09 +00:00
Alexander Gololobov
29f6ce871d
Avoid initializing DateLUT from emptyArray function registration
2023-06-20 19:00:41 +02:00
Nikolai Kochetov
518ba6cbf6
Fix more tests.
2023-06-20 16:43:22 +00:00
Alexander Tokmakov
60a0843f58
fix
2023-06-20 17:47:25 +02:00
Alexander Gololobov
7a1f8547f3
Simplify the code
2023-06-20 17:18:05 +02:00
Alexander Gololobov
816c6cdeb1
Simplify the code by using tryGetChildren
2023-06-20 16:56:50 +02:00
Nikolai Kochetov
b4273a1963
Fixing some tests.
2023-06-20 14:53:13 +00:00
Kruglov Pavel
0edfbb45ad
Merge pull request #50873 from Avogar/parquet-big-integers
...
Fallback to parsing big integer from String instead of exception in Parquet format
2023-06-20 16:10:46 +02:00
郭小龙
154d19ce72
The time format (connected_time field) is incorrect ( #51026 )
...
* The time format (connected_time field) is incorrect
* Change the description and increase the field list display
* Update 02735_system_zookeeper_connection.reference
* Update 02735_system_zookeeper_connection.sql
* Update 02735_system_zookeeper_connection.sql
* Update 02735_system_zookeeper_connection.reference
* fix test
---------
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-06-20 16:57:55 +03:00
Anton Popov
31ece0c512
add test for check part with cache
2023-06-20 13:28:01 +00:00
Alexander Tokmakov
bca0d76cbf
Merge pull request #50107 from ClickHouse/rmt_better_background_tasks_scheduling
...
Improve scheduling of background tasks in ReplicatedMergeTree
2023-06-20 16:25:19 +03:00
avogar
1d80072c21
Fix tests and builds
2023-06-20 13:01:47 +00:00
kssenii
fcb793dc02
Update exception
2023-06-20 14:26:09 +02:00
kssenii
44377b0180
Rename
2023-06-20 13:36:11 +02:00
kssenii
7df815d280
Fix
2023-06-20 13:33:16 +02:00
kssenii
5c4c2a3982
Merge remote-tracking branch 'upstream/master' into min-file-segment-size
2023-06-20 13:33:08 +02:00
Kseniia Sumarokova
c3227fd44f
Merge pull request #51161 from kssenii/more-metrics-in-cache
...
More profile events for fs cache
2023-06-20 12:44:00 +02:00
Maksim Kita
7e5017dd31
Fixed tests
2023-06-20 11:42:22 +03:00
Maksim Kita
aa28a1f259
Fixed tests
2023-06-20 11:42:22 +03:00
Maksim Kita
6e26fde707
Updated tests
2023-06-20 11:42:22 +03:00
Maksim Kita
129b97c727
JIT infrastructure refactoring
2023-06-20 11:42:22 +03:00
zvonand
4754d7863c
small
2023-06-20 03:21:03 +02:00
Andrey Zvonov
07191ce10d
Merge branch 'master' into zvonand-implicit-tz
2023-06-20 00:24:53 +02:00
Jordi Villar
6182a71c4d
Merge branch 'master' into fix-summing-mt-dt64
2023-06-19 21:15:23 +02:00
Nikolai Kochetov
7280078bc6
Refactoring a bit more.
2023-06-19 19:01:56 +00:00
Alexander Tokmakov
4949dd0546
fix
2023-06-19 20:21:33 +02:00
Alexander Tokmakov
a2833b2060
remove AsyncTrashPoolExecutor
2023-06-19 19:58:23 +02:00
kssenii
7f9cd56f61
One more
2023-06-19 19:22:45 +02:00
Han Fei
959f66eb8a
Merge pull request #50697 from kitaisreal/sort-block-improvements
...
Sort block improvements
2023-06-19 19:02:03 +02:00
Anton Popov
1ef19dbe4d
drop cache on check of broken part
2023-06-19 16:32:51 +00:00
kssenii
ec86028fd8
Change to microseconds
2023-06-19 17:48:56 +02:00
kssenii
0ca2916163
More metrics in cache
2023-06-19 17:22:41 +02:00
Sergei Trifonov
5867f39fc7
Merge pull request #50675 from ClickHouse/unify-priorities-pools
...
Unify priorities for connection pools
2023-06-19 17:16:15 +02:00
Yakov Olkhovskiy
4004be74dc
Merge branch 'master' into fix-ip-aggregate-state
2023-06-19 10:58:06 -04:00
Alexander Gololobov
44f1f036e8
Use multi-read requests for list and get
2023-06-19 16:47:17 +02:00
avogar
cf8f277c32
Add total_bytes_to_read to TCP protocol for better Progress bar
2023-06-19 13:58:08 +00:00
avogar
d492acbcd2
Fix tests
2023-06-19 13:36:29 +00:00
Nikolai Kochetov
8e7d06e0a4
Remove isReady from FutureSet iface.
2023-06-19 12:56:24 +00:00
Alexey Milovidov
f9558345e8
Merge pull request #51138 from ClickHouse/print-changed-settings
...
Print changed settings on fatal errors
2023-06-19 15:50:44 +03:00
Nikolai Kochetov
f3398f9908
Try to make more consisten type check for sets.
2023-06-19 12:17:52 +00:00
Raúl Marín
8fdcca4326
Merge branch 'master' into parallel_replicas_analyzer
2023-06-19 13:54:59 +02:00
Nikita Taranov
90ced1aebc
use int64
2023-06-19 13:48:52 +02:00
Sema Checherinda
a2d5c91a28
cancel temp part with exception context when deduplication triggered
2023-06-19 12:52:20 +02:00
Nikolai Kochetov
880c9aea09
Fixing style.
2023-06-19 10:47:43 +00:00
Alexander Tokmakov
a00842498e
Merge branch 'master' into rmt_better_background_tasks_scheduling
2023-06-19 12:37:17 +02:00
Alexander Tokmakov
caceb7c862
Revert "Added ability to implicitly use file/hdfs/s3 table functions in clickhouse-local"
2023-06-19 13:21:09 +03:00
Maksim Kita
4c72995537
Fixed build
2023-06-19 13:02:35 +03:00
Jordi Villar
5e77fa6c87
Merge branch 'master' into fix-summing-mt-dt64
2023-06-19 08:26:36 +02:00
Alexey Milovidov
dcd4cfa5c2
Fix build
2023-06-19 03:28:59 +02:00
jinjunzh
004755914e
change to use generic MSan API to bypass uninitialized memory check
2023-06-18 20:55:10 -04:00