Nikita Taranov
c8afeafe0e
More parallel execution for queries with FINAL
( #36396 )
2022-06-15 12:44:20 +02:00
Alexander Tokmakov
56f2121c1a
Revert "Add backoff to merges in replicated queue if always_fetch_merged_part
is enabled"
2022-06-15 13:04:01 +03:00
Robert Schulze
9794098ebb
Merge pull request #37553 from koloshmet/fpc_codec
...
FPC Codec for floating point data
2022-06-15 12:03:41 +02:00
Maksim Kita
864fd627e1
Merge pull request #35762 from kitaisreal/merge-tree-multiple-order-by-columns-improve-insert-performance
...
MergeTree multiple ORDER BY columns improve insert performance
2022-06-15 11:01:36 +02:00
mergify[bot]
d148299c20
Merge branch 'master' into revert-37534-revert-37036-keeper-preprocess-operations
2022-06-15 07:11:31 +00:00
Yakov Olkhovskiy
411695bd97
do not fill 'to' boundary
2022-06-14 22:26:50 -04:00
mergify[bot]
12bd2c0e3f
Merge branch 'master' into dt64-neg-subseconds
2022-06-15 02:24:17 +00:00
Alexey Milovidov
ab9fc572d5
Merge pull request #37667 from ClickHouse/group-by-enum-fix
...
Support types with non-standard defaults in ROLLUP, CUBE, GROUPING SETS
2022-06-15 05:14:33 +03:00
Alexey Milovidov
04e25bc044
Merge pull request #38058 from kitaisreal/unary-logical-functions-improve-performance-dynamic-dispatch
...
UnaryLogicalFunctions improve performance using dynamic dispatch
2022-06-15 04:18:20 +03:00
Alexey Milovidov
0957c885e2
Remove -0. from CPU usage in the client
2022-06-14 23:36:16 +02:00
Alexey Milovidov
5e9e5a4eaf
Merge pull request #37525 from Avogar/avro-structs
...
Support Maps and Records, allow to insert null as default in Avro format
2022-06-15 00:04:29 +03:00
mergify[bot]
4bd61950db
Merge branch 'master' into stripping
2022-06-14 20:48:52 +00:00
Maksim Kita
bff82b961b
Fixed tests
2022-06-14 21:43:28 +02:00
Maksim Kita
6ae20d6282
Fixed style check
2022-06-14 21:43:28 +02:00
Maksim Kita
bd1d54d689
BackgroundSchedulePool remove Poco::NotificationQueue
2022-06-14 21:43:28 +02:00
alesapin
af1cd745e1
Merge pull request #37975 from kssenii/clean-up-broken-detached
...
Clean up broken detached parts after timeout
2022-06-14 20:53:31 +02:00
Igor Nikonov
bf7dd39282
Fix: decimal rounding
...
Fixes #37531
2022-06-14 18:03:05 +00:00
Amos Bird
d5a7a5be8e
Fix use-after-free in system.projection_parts
2022-06-14 23:41:42 +08:00
Maksim Kita
dc2e117cce
UnaryLogicalFunctions improve performance using dynamic dispatch
2022-06-14 17:30:11 +02:00
Antonio Andelic
6e55593398
Fix remove preprocess
2022-06-14 13:23:46 +00:00
Antonio Andelic
b7bd5a8eb1
Merge branch 'master' into revert-37534-revert-37036-keeper-preprocess-operations
2022-06-14 12:51:35 +00:00
mergify[bot]
3f97745612
Merge branch 'master' into merge-tree-multiple-order-by-columns-improve-insert-performance
2022-06-14 10:49:48 +00:00
Maksim Kita
da8b1b1eba
Merge pull request #38025 from kitaisreal/use-base-sort-instead-of-standard
...
Use pdqsort instead of standard sort
2022-06-14 12:13:35 +02:00
alesapin
3b832a25f6
Merge pull request #37995 from ClickHouse/fix_queue
...
Add backoff to merges in replicated queue if `always_fetch_merged_part` is enabled
2022-06-14 11:38:44 +02:00
alesapin
0b7da674b3
Merge pull request #38021 from ClickHouse/fix-object-storage-version
...
Use correct version in `DiskObjectStorageMetadata`
2022-06-14 11:27:47 +02:00
Antonio Andelic
5d4b289550
Update stats in update delta
2022-06-14 09:14:53 +00:00
Robert Schulze
bc46cef63c
Minor follow-up
...
- change ELF section name to ".clickhouse.hash" (lowercase seems
standard)
- more expressive/concise integrity check messages at startup
2022-06-14 08:52:13 +00:00
Antonio Andelic
bf27fe284c
Use std::list for deltas
2022-06-14 07:37:02 +00:00
Antonio Andelic
7e99e9fe43
Fix child num assert
2022-06-14 07:17:11 +00:00
Antonio Andelic
dded528d13
Merge pull request #36424 from PolyProgrammist/r1unfreeze
...
SYSTEM UNFREEZE query that deletes the whole backup
2022-06-14 08:44:45 +02:00
Antonio Andelic
71e4bd0689
Merge pull request #37565 from ClickHouse/keeper-broken-to-detached
...
Move clickhouse-keeper broken logs to specific folder
2022-06-14 08:23:17 +02:00
kssenii
0d2dae0046
Add const, rename settings
2022-06-14 00:47:03 +02:00
kssenii
74cffaf186
Merge master
2022-06-14 00:45:19 +02:00
Vitaly Baranov
241b51c7d4
Add implicit grants with grant option too. ( #38017 )
2022-06-14 00:09:51 +02:00
alesapin
a694ba5fc3
Merge pull request #38033 from ClickHouse/disk_transaction
...
More consts for disks
2022-06-14 00:01:22 +02:00
kssenii
34e63b20fb
Review fixes
2022-06-13 21:27:54 +02:00
alesapin
267dd28e11
More consts for disks
2022-06-13 21:07:10 +02:00
Anton Popov
e6517164f2
add test and comment
2022-06-13 17:30:58 +00:00
Maksim Kita
20227e0718
Fixed style check
2022-06-13 18:49:20 +02:00
Antonio Andelic
e5504f1b33
Merge branch 'master' into revert-37534-revert-37036-keeper-preprocess-operations
2022-06-13 15:43:10 +00:00
Antonio Andelic
b9cf6fe367
Merge branch 'master' into pp-system-unfreeze
2022-06-13 14:46:30 +00:00
Maksim Kita
eb861499c7
Fixed tests
2022-06-13 16:43:11 +02:00
Antonio Andelic
879e162f92
Fix revision write for Freeze
2022-06-13 14:32:40 +00:00
Maksim Kita
88dfcaa892
Merge pull request #38023 from kitaisreal/examples-coroutines-build-fix
...
Examples coroutines build fix
2022-06-13 16:09:46 +02:00
Maksim Kita
98a89b50ff
Use pdqsort instead of standard sort
2022-06-13 15:31:08 +02:00
Maksim Kita
b63089ab7a
Examples coroutines build fix
2022-06-13 15:21:37 +02:00
alesapin
d984763b95
Update src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
...
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2022-06-13 15:10:20 +02:00
Anton Popov
cf47b1c96e
Merge pull request #37305 from CurtizJ/dynamic-columns-15
...
Fix some cases of insertion nested arrays to columns of type Object
2022-06-13 14:28:36 +02:00
kssenii
debe467ee7
Review fixes
2022-06-13 14:25:42 +02:00
Antonio Andelic
e9904501bc
use correct version in DiskObjectStorageMetadata
2022-06-13 11:53:25 +00:00
alesapin
06d94a4dde
Merge pull request #37659 from frew/master
...
Support `batch_delete` capability for GCS
2022-06-13 13:39:01 +02:00
Maksim Kita
411e1ad227
Fixed tests
2022-06-13 12:30:38 +02:00
mergify[bot]
2bf9818af0
Merge branch 'master' into keeper-broken-to-detached
2022-06-13 10:04:54 +00:00
Kseniia Sumarokova
7fd1140e96
Merge pull request #38004 from xiedeyantu/optimize_max_cache
...
fix when open enable_filesystem_query_cache_limit, throw LOGICAL_ERROR
2022-06-13 11:54:09 +02:00
Antonio Andelic
e67b6c3125
Fix trailing whitespace
2022-06-13 09:53:16 +00:00
Robert Schulze
9ec56fa362
Merge pull request #37628 from zvonand/non-neg-deriv
...
Non Negative Derivative window function
2022-06-13 11:21:16 +02:00
Robert Schulze
bc6f30fd40
Move binary hash to ELF section ".ClickHouse.hash"
2022-06-13 08:46:23 +00:00
alesapin
addfcb0dd3
Better implementation of s3 capabilities
2022-06-12 14:34:02 +02:00
alesapin
7a463c7d75
Merge branch 'master' into frew-master
2022-06-12 13:20:28 +02:00
alesapin
eae10aab6d
Merge pull request #37964 from excitoon-favorites/betterurlhandlingforversionid
...
Better parsing of `versionId` in `S3::URI::URI`
2022-06-12 13:12:02 +02:00
mergify[bot]
61aac55365
Merge branch 'master' into fix_queue
2022-06-12 10:33:52 +00:00
alesapin
18a0b58ee7
Merge pull request #37980 from ClickHouse/more_strict_num_children_check
...
Add checks for numChildren in Keeper
2022-06-12 11:55:12 +02:00
xiedeyantu
c93ef2b033
fix when open enable_filesystem_query_cache_limit, throw Reserved cache size exceeds the remaining cache size
2022-06-12 15:03:06 +08:00
kssenii
4859e11c27
Review fixes
2022-06-12 01:15:10 +02:00
alesapin
2a81904fbc
Revert "Revert "Fix bug with removal of moving parts""
...
This reverts commit c0581bf741
.
2022-06-12 01:08:24 +02:00
mergify[bot]
3b5d1b5efe
Merge branch 'master' into fix_queue
2022-06-11 22:05:11 +00:00
alesapin
aff6b7a8d6
Fix keeper storage
2022-06-12 00:01:41 +02:00
alesapin
8c088bd9ee
Merge pull request #37994 from ClickHouse/fix_removal_moving_parts
...
Fix bug with removal of failed to move parts
2022-06-11 23:54:43 +02:00
Mikhail Guzov
092a00d95a
Merge branch 'ClickHouse:master' into fpc_codec
2022-06-11 21:24:06 +03:00
Maksim Kita
d5b148792b
Merge pull request #37990 from kitaisreal/sorting-added-sort-queue-variants
...
Sorting added sort queue variants
2022-06-11 15:22:29 +02:00
Kseniia Sumarokova
a4e080d144
Merge pull request #37965 from Vxider/wv-add-missing-default
...
Add missing default columns when pushing to target table in WindowView
2022-06-11 13:38:08 +02:00
Alexey Milovidov
097458a4a6
Merge pull request #37855 from nickitat/destroy_aggregate_states_on_thread_pool
...
Destroy aggregates state on a thread pool
2022-06-11 02:06:54 +03:00
Vxider
ea2375ffc5
remove duplicate lines
2022-06-10 18:58:53 +00:00
Alexander Tokmakov
a1ca690afb
Merge pull request #37976 from ClickHouse/tavplubix-patch-1
...
Try fix `test_consistent_parts_after_clone_replica`
2022-06-10 21:04:56 +03:00
alesapin
c0581bf741
Revert "Fix bug with removal of moving parts"
...
This reverts commit e32133ff8f
.
2022-06-10 19:35:57 +02:00
alesapin
301eac7d59
Comment
2022-06-10 19:34:03 +02:00
alesapin
ffff1c22a6
Add backoff for merges when always_fetch_merged_part turned on
2022-06-10 19:33:28 +02:00
Yakov Olkhovskiy
8f6fee76fb
Merge pull request #37959 from ClickHouse/bug-with-fill-inconsistency
...
Preserve filling step plan position on sorting optimization
2022-06-10 12:58:59 -04:00
alesapin
e32133ff8f
Fix bug with removal of moving parts
2022-06-10 18:47:06 +02:00
Maksim Kita
f56b88e949
PartialSortingTransform refactoring
2022-06-10 18:34:45 +02:00
Alexander Tokmakov
2319ef7647
fix test
2022-06-10 17:48:14 +02:00
Maksim Kita
95a3a10769
Sorting added sort queue variants
2022-06-10 17:45:11 +02:00
zvonand
6d727b60ce
merge from master
2022-06-10 17:51:17 +03:00
zvonand
5beb6e0c3b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into non-neg-deriv
2022-06-10 17:40:16 +03:00
Kseniia Sumarokova
580a30c6ae
Merge pull request #37859 from KinderRiven/support_max_request_cache_size
...
Support to set max cache size for per query in local cache
2022-06-10 16:17:18 +02:00
zvonand
794dbe6b60
new stateless queries + minor fixes
2022-06-10 17:01:49 +03:00
Anton Popov
5b1583c06a
Merge remote-tracking branch 'upstream/master' into HEAD
2022-06-10 13:48:52 +00:00
Anton Popov
b8f73ede69
fix clang-tidy
2022-06-10 13:48:48 +00:00
alesapin
aa1fb9b2e7
Remove trash
2022-06-10 15:27:27 +02:00
alesapin
4c574f30af
Add comment
2022-06-10 15:12:14 +02:00
alesapin
682eb6bcc9
Add checks for numChildren
2022-06-10 15:10:45 +02:00
Kseniia Sumarokova
0ae2168fb6
Merge pull request #36328 from bigo-sg/async_hdfs_read_buffer
...
Apply read_method 'threadpool' for StorageHive
2022-06-10 15:04:21 +02:00
kssenii
fd6c84b831
Review fixes
2022-06-10 14:23:13 +02:00
Robert Schulze
5f5732a2c4
Merge pull request #37969 from ClickHouse/consistent-macro-usage
...
More consistent use of platform macros
2022-06-10 14:10:01 +02:00
Anton Popov
6a0b305a14
fix reading of sparse columns from s3
2022-06-10 12:09:37 +00:00
kssenii
956ac6b798
Fix after merging
2022-06-10 12:49:35 +02:00
kssenii
498f389c21
Merge master
2022-06-10 12:49:10 +02:00
kssenii
7a2676c7ab
Clean up broken detached parts with timeout
2022-06-10 12:27:57 +02:00
Kseniia Sumarokova
508676ab4e
Merge pull request #37804 from ClickHouse/metadata_storage
...
Metadata storage abstraction for Disks
2022-06-10 11:43:28 +02:00
Robert Schulze
1a0b5f33b3
More consistent use of platform macros
...
cmake/target.cmake defines macros for the supported platforms, this
commit changes predefined system macros to our own macros.
__linux__ --> OS_LINUX
__APPLE__ --> OS_DARWIN
__FreeBSD__ --> OS_FREEBSD
2022-06-10 10:22:31 +02:00