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
Sema Checherinda
e3f892f84a
fix gtest with MemoryWriteBuffer, do not mute exception in ReplicatedMergeMutateTaskBase
2023-06-19 00:10:42 +02:00
Alexey Milovidov
9ae4915655
Code simplification
2023-06-18 21:08:37 +02:00
Sema Checherinda
2bbfa279ec
fix gtest_lru_file_cache, fix remove from pending
2023-06-18 21:05:00 +02:00
Alexey Milovidov
b19b87a3e5
Whitespaces
2023-06-18 20:42:27 +02:00
Alexey Milovidov
a6dde6ab62
Print changed settings on fatal errors
2023-06-18 20:38:25 +02:00
Sema Checherinda
ce7cd67981
finalize CascadeWriteBuffer
2023-06-18 17:35:12 +02:00
Alexander Tokmakov
76faacd23c
try to fix some trash in Disks
2023-06-18 14:59:10 +02:00
Maksim Kita
977cd65cfb
Fixed build
2023-06-18 12:52:08 +03:00
Maksim Kita
2f3dce5fe6
Fixed tests
2023-06-18 12:52:08 +03:00
Maksim Kita
7d17a70d17
Fixed tests
2023-06-18 12:52:08 +03:00
Maksim Kita
8d3212363e
Fixed tests
2023-06-18 12:52:08 +03:00
Maksim Kita
ca298d66cb
Sort block improvements
2023-06-18 12:52:08 +03:00
Alexander Gololobov
59c11cb150
Make more parallel get requests to ZooKeeper
2023-06-18 08:26:37 +02:00
Alexey Milovidov
ce38d64c5a
Merge pull request #50856 from ClickHouse/relax-too-many-parts
...
Relax "too many parts" further
2023-06-18 01:49:46 +03:00
Sema Checherinda
642734e512
fix shell commands source
2023-06-17 23:48:09 +02:00
Robert Schulze
5311ebe1d2
Make query cache work effective with nested queries.
2023-06-17 20:27:25 +00:00
Alexander Tokmakov
b4e455430c
Merge branch 'master' into rmt_better_background_tasks_scheduling
2023-06-17 22:19:21 +03:00
Robert Schulze
24717ed908
Factorize check if query cache exists
2023-06-17 18:24:20 +00:00
Robert Schulze
69e7c1cc82
Introduce convenience ctor for Key construction during read
2023-06-17 18:22:15 +00:00
Alexey Milovidov
c7a18c640e
Slightly better diagnostics
2023-06-17 17:20:44 +02:00
Alexey Milovidov
61e423c5df
Fix typo
2023-06-17 17:14:49 +02:00
Alexey Milovidov
98bc124317
Fix typo
2023-06-17 17:13:19 +02:00
Alexey Milovidov
e913a58284
Merge pull request #51049 from ClickHouse/ddl_replication_improvements
...
An optimiation for ALTERs and Replicated db with one shard
2023-06-17 16:57:59 +03:00
Alexey Milovidov
9fc5b9c2c5
Merge branch 'master' into relax-too-many-parts
2023-06-17 16:14:34 +03:00
Alexey Milovidov
c2e4a7714f
Merge pull request #48821 from alekseygolub/localfilefunction
...
Added ability to implicitly use file/hdfs/s3 table functions in clickhouse-local
2023-06-17 15:55:13 +03:00
Robert Schulze
6e8af09289
Provide query cache reader with dummy block
2023-06-17 12:48:29 +00:00
Robert Schulze
0adc98865d
Add variable for access to found key components
2023-06-17 12:43:14 +00:00
Robert Schulze
840e73eb74
Update #includes
2023-06-17 12:28:18 +00:00
Robert Schulze
83e2196a17
Make is_shared const
2023-06-17 12:26:53 +00:00
Michael Kolupaev
03baa19e88
Fix ParallelReadBuffer seek
2023-06-16 17:50:51 -07:00
Michael Kolupaev
c5536e4906
Fix ColumnConst::forEachSubcolumn
2023-06-16 17:48:36 -07:00
kssenii
74f2dea57b
Fix typo
2023-06-17 02:11:48 +02:00
kssenii
b902f5d045
Small style corrections
2023-06-17 01:54:38 +02:00
Alexey Milovidov
df9abccfaa
Merge branch 'master' into localfilefunction
2023-06-17 00:45:54 +03:00
Alexey Milovidov
a18dc73271
Fix error
2023-06-16 23:12:01 +02:00
Alexey Milovidov
688d5d59af
Merge branch 'master' into relax-too-many-parts
2023-06-16 23:08:29 +02:00
Alexey Milovidov
ec952d401d
Merge pull request #51114 from ClickHouse/clang-17-3
...
Compatibility with clang-17
2023-06-17 00:07:45 +03:00
Alexey Milovidov
d94e47a930
Compatibility with clang-17
2023-06-16 23:07:19 +02:00
Alexey Milovidov
4e45e39e25
Merge pull request #51099 from ClickHouse/fix_use_local_vars_after_exception
...
Fix for part_names_mutex used after destruction
2023-06-16 23:52:50 +03:00
Alexey Milovidov
782889a051
Merge pull request #51042 from ClickHouse/sys_zookeep_parallel_list
...
Make multiple parallel list requests when reading from system.zookeeper
2023-06-16 23:46:53 +03:00
Nikolai Kochetov
afa74f697c
Refactor a bit.
2023-06-16 19:38:50 +00:00
jinjunzh
5f8ef27513
initialize buffer with memset
2023-06-16 14:37:01 -04:00
Michael Kolupaev
10d597676c
Refactor IColumn::forEachSubcolumn to make it slightly harder to implement incorrectly
2023-06-16 11:08:12 -07:00
Michael Kolupaev
c2900177a2
Fix race condition in ColumnLowCardinality caused by subtly broken copy-on-write for the dictionary
2023-06-16 11:06:28 -07:00
Sema Checherinda
e8d4dedbcc
fix build and tests
2023-06-16 19:52:52 +02:00
Yakov Olkhovskiy
cf301324fb
Merge branch 'master' into fix-ip-aggregate-state
2023-06-16 12:49:17 -04:00
Alexander Gololobov
8289d8fefa
Fix for part_names_mutex used after destruction
2023-06-16 18:46:07 +02:00
ltrk2
e20cea8901
Implement endianness-independent serialization for quantileTiming
2023-06-16 09:22:38 -07:00
avogar
56789af0fa
Remove loggig
2023-06-16 15:55:05 +00:00
avogar
3209ebe34b
Improve progress bar for file/s3/hdfs/url table functions. Step 1
2023-06-16 15:51:18 +00:00
Salvatore Mesoraca
6b49968bc4
Generate safe IVs
...
IVs should never be re-used when using CTR.
The previous implementation had a 50% probability to generate
an IV that was already used after 65536 generations.
This happens because std::mt19937 is seeded using a 32bit integer
and returns a 32 bits integer.
Because of the birthday problem, collisions have a 50% chance after
only 2^16 IV's generations.
CH uses one IV per file and, for most use cases, 65k files are
not as many as they seem.
Also, the initial entropy is gathered using std::random_device
which is "best-effort" and it's allowed by the standard to
return a fixed sequence of numbers.
2023-06-16 17:09:08 +02:00
Nikita Taranov
841d58f6ba
Small fix in MergeTreePrefetchedReadPool
2023-06-16 16:58:01 +02:00
Sema Checherinda
47484faace
do abort/cancel/deletion merge/mutate task with exception context
2023-06-16 16:48:21 +02:00
Sema Checherinda
cf31fdb4d5
no finalize at d-tor in compression
2023-06-16 16:38:18 +02:00
Sema Checherinda
b428f88f22
finalize hashing buffer
2023-06-16 16:38:18 +02:00
Sema Checherinda
d21fc22607
fix 02428_combinators_with_over_statement
2023-06-16 16:38:18 +02:00
Sema Checherinda
1cb02e2710
do call finalize for all buffers
2023-06-16 16:38:18 +02:00
Sema Checherinda
9a4962bd68
add error log message when no finalize called before d-tor
2023-06-16 16:38:18 +02:00
Nikolai Kochetov
df1ea0b572
Merge pull request #50489 from ClickHouse/vdimir/alter_moving_garbage
...
Cleanup moving parts
2023-06-16 15:39:32 +02:00
Vitaly Baranov
f7638de213
Fix crash in BackupCoordinationStageSync::setError(). ( #51012 )
2023-06-16 15:32:30 +02:00
Kruglov Pavel
dcc3efe4b7
Merge pull request #50364 from Avogar/allow-skip-empty-files
...
Allow to skip empty files in file/s3/url/hdfs table functions
2023-06-16 14:59:49 +02:00
Alexander Tokmakov
9260a1bf2e
Merge pull request #51006 from ClickHouse/followup_50448
...
Follow-up to #50448
2023-06-16 15:32:12 +03:00
Andrey Zvonov
43e572bd84
typo in SettingsFields.h
2023-06-16 14:55:34 +03:00
Kruglov Pavel
f8ddfb1fd8
Merge branch 'master' into allow-skip-empty-files
2023-06-16 13:23:41 +02:00
Kruglov Pavel
11f176dd19
Merge pull request #50712 from KevinyhZou/bug_fix_csv_parse_by_tab_delimiter
...
Support CSVInputFormat to read csv file by whitespace & tab delimiter
2023-06-16 13:16:22 +02:00
Andrey Zvonov
b3476e53fc
Update SettingsFields.cpp
2023-06-16 13:44:17 +03:00
zvonand
112a3e6aca
revert tz validation optimization
2023-06-16 12:19:01 +02:00
Manas Alekar
508e4906c0
Avoid double-catching the exceptions.
2023-06-16 01:47:28 -07:00
Manas Alekar
f610645c07
Move outfile checks before query starts running.
2023-06-16 01:10:11 -07:00
alekar
b70803c71b
Merge branch 'master' into improve-outfile
2023-06-16 01:08:48 -07:00
zvonand
4155d13d69
merge master and resolve conflict
2023-06-16 02:20:32 +02:00
zvonand
e60506f41b
changes requested in review
2023-06-16 02:16:04 +02:00
Han Fei
6bbd0d144d
Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix
...
Optimization of predicates with toYear/toYYYYMM based on a general solution
2023-06-16 00:32:55 +02:00
Jordi Villar
8ae05b7e18
Merge branch 'master' into fix-summing-mt-dt64
2023-06-15 21:46:02 +02:00
Robert Schulze
74cb79769b
Merge pull request #50925 from arenadata/ADQM-812
...
Implement support of syslog format in the parseDateTimeBestEffort() function
2023-06-15 21:04:50 +02:00
Alexander Tokmakov
353b57f13f
an optimiation for alters and replicated db
2023-06-15 20:20:11 +02:00
Alexander Gololobov
f08fd758fa
Make multiple parallel list requests
2023-06-15 18:45:10 +02:00
Nikolai Kochetov
1cb7ba4895
Revert "Trying to fix a test."
...
This reverts commit d0d39c8f61
.
2023-06-15 16:42:38 +00:00
Nikolai Kochetov
d34b6e5f35
Try to fix analyzer tests.
2023-06-15 16:27:51 +00:00
Nikolay Degterinsky
b963369920
Merge pull request #50865 from jmaicher/fix/50864/verification-cooldown-cache-entry
...
Fix type of LDAP server params hash in cache entry
2023-06-15 16:21:44 +02:00
Zhiguo Zhou
ff6629d1d1
Enhance safety of function generateOptimizedDateFilterAST
...
This commit checks the corner case where the comparator is none
of equals, notEquals, less, lessOrEquals, greater, greaterOrEquals,
and throws LOGICAL_ERROR exception if so.
2023-06-15 22:04:13 +08:00
Alexander Tokmakov
b248ba730a
Merge pull request #50997 from vitlibar/use-hash_of_all_files-for-parts
...
Use hash_of_all_files to check identity of parts during on-cluster backups
2023-06-15 16:54:55 +03:00
Zhiguo Zhou
d780d0bab1
fix style
...
Move error throws in Transform to FunctionDateOrDateTimeToSomething.
2023-06-15 21:48:02 +08:00
Han Fei
9e81b2fd5d
fix style
2023-06-15 21:48:02 +08:00
Zhiguo Zhou
d14299eb09
The general optimization of predicates with date/datetime converters
...
As is suggested in issue #15257 , the function preimage is a general
solution to the optimization problem with predicates containing the
date and datetime converters. This commit implements the idea by
adding the new methods, hasInformationAboutPreimage and getPreimage,
to IFunction/IFunctionBase, and having the specific convert functions
define their own preimage. Moreover, we added a new pass in the
TreeOptimizer and a new AST visitor for in-place rewriting the AST
with the converters' preimage.
Specifically, the optimization is applied to toYear and toYYYYMM.
2023-06-15 21:48:02 +08:00
Alexander Tokmakov
dc0a224f52
fix
2023-06-15 15:05:17 +02:00
avogar
870f3d1270
Fix comments
2023-06-15 12:59:46 +00:00
kssenii
b8a4a784de
Fix unit test, add check
2023-06-15 14:22:13 +02:00
Kseniia Sumarokova
c15e7b93cb
Merge pull request #50976 from kssenii/fix-data-lakes-too-many-head-requests
...
Fix data lakes slowness because of synchronous head requests
2023-06-15 13:33:09 +02:00
Kseniia Sumarokova
31e08635bf
Merge branch 'master' into unify-priorities-pools
2023-06-15 12:51:45 +02:00
Igor Nikonov
1113a7c524
Merge pull request #50214 from azat/parallelize_output_from_storages-fix
...
Disable parallelize_output_from_storages for processing MATERIALIZED VIEWs and storages with one block only
2023-06-15 12:48:54 +02:00
Kseniia Sumarokova
b7fbc4dd8e
Merge pull request #50977 from valbok/empty-table-overrides
...
MaterializedMySQL: Keep parentheses for empty table overrides
2023-06-15 12:48:04 +02:00
kssenii
05811d3dd8
Rename
2023-06-15 12:35:22 +02:00
Alexander Tokmakov
a018d9ca11
try to fix false-positive 'part is lost forever'
2023-06-15 12:25:16 +02:00
kssenii
0023bf69cb
Fix
2023-06-15 12:22:50 +02:00
Kruglov Pavel
7aea4a1f10
Merge branch 'master' into allow-skip-empty-files
2023-06-15 12:07:24 +02:00
Antonio Andelic
c1faf42481
Merge pull request #50967 from baibaichen/feature/fix_build_clang15
...
fix build issue on clang 15
2023-06-15 10:32:38 +02:00
Kseniia Sumarokova
c786fbf8bd
Add comment
2023-06-15 10:22:02 +02:00
Kseniia Sumarokova
c8619ee6e4
Merge pull request #50974 from kssenii/iceberg-metadata-fix
...
Fix iceberg V2 optional metadata parsing
2023-06-15 09:31:36 +02:00
KevinyhZou
953f40aa3b
Merge branch 'master' into bug_fix_csv_parse_by_tab_delimiter
2023-06-15 10:25:19 +08:00