Nikolai Kochetov
1c67437aa4
Fix possible crash for SELECT from Merge table with optimize_monotonous_functions_in_order_by eanbled.
2022-09-23 18:37:25 +00:00
Nikolai Kochetov
0414d95878
Disable parallel s3 multipart upload for part moves. ( #41268 )
...
* Disable parallel s3 multipart upload for part moves.
* Add setting s3_allow_parallel_part_upload
2022-09-21 19:10:32 +02:00
Nikita Taranov
100c055510
Prefetching in aggregation ( #39304 )
...
* impl
* stash
* clean up
* do not apply when HT is small
* make branch static
* also in merge
* do not hardcode look ahead value
* fix
* apply to methods with cheap key calculation
* more tests
* silence tidy
* fix build
* support HashMethodKeysFixed
* apply during merge only for cheap
* stash
* fixes
* rename method
* add feature flag
* cache prefetch threshold value
* fix
* fix
* Update HashMap.h
* fix typo
* 256KB as default l2 size
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2022-09-21 18:59:07 +02:00
Nikolai Kochetov
1204f643f1
Merge pull request #41576 from ClickHouse/fix-partial-sort-optimisation-bug-from-41182
...
Fix a bug with missing rows after partial sort optimization
2022-09-21 16:47:18 +02:00
Nikolai Kochetov
7e0914c3ce
Merge pull request #41588 from ClickHouse/pipeline-stuck-and-offset
...
Fix possible pipeline stuck exception for queries with OFFSET
2022-09-21 16:42:42 +02:00
Igor Nikonov
c849dd4c76
Merge pull request #41574 from ClickHouse/igor/use_only_input_order_info
...
ReadFromMergeTree: reading in order only if input order info is provided
2022-09-21 15:36:51 +02:00
Arthur Passos
cf1ed58710
Use separate functions for parquet time32 and time64
2022-09-21 14:56:11 +02:00
Vladimir C
efa34b4013
Fix style
2022-09-21 14:56:11 +02:00
Arthur Passos
c0914a39a7
Add Parquet Time32/64 conversion to CH DateTime32/64
2022-09-21 14:56:11 +02:00
Kruglov Pavel
22e11aef2d
Merge pull request #40910 from Avogar/new-json-formats
...
Add new JSON formats, add improvements and refactoring
2022-09-21 14:19:08 +02:00
Kseniia Sumarokova
d598802988
Merge pull request #41533 from kssenii/add-settings-for-delete
...
Support `SETTINGS` in `DELETE ...` query
2022-09-21 13:45:51 +02:00
Robert Schulze
186d4e4140
Merge pull request #40818 from Vector-Similarity-Search-for-ClickHouse/annoy
...
Add annoy index
2022-09-21 13:42:43 +02:00
alesapin
3e74b783c2
Merge pull request #41530 from ClickHouse/fix_parts_removal_on_drop
...
Slightly better parts removal on drop + add unrelated test
2022-09-21 12:42:41 +02:00
alesapin
e91fae627c
Merge pull request #41569 from ClickHouse/fix_lost_table_shared_id
...
Fix lost table shared id
2022-09-21 12:36:12 +02:00
Kseniia Sumarokova
a3492fff2a
Merge branch 'master' into system-parts-update
2022-09-21 12:12:36 +02:00
Nikolai Kochetov
9e1bb19559
Purge jemalloc arenas in case of high memory usage. ( #40277 )
...
* Purge jemalloc arenas in case of high memory usage.
* Purge jemalloc arenas in case of high memory usage.
* Get RSS before jemalloc counters. Try to avoid negative RSS.
* Try to avoid negative RSS.
* muzzy -> dirty
* Another fix.
* Update MemoryTracker.cpp
* Wait for purged memory.
* Revert "Wait for purged memory."
This reverts commit 53a2621a2d
.
2022-09-20 23:56:10 +02:00
alesapin
4bd667c6b7
Drop all WALs
2022-09-20 18:28:15 +02:00
alesapin
acde29e314
Nasty code
2022-09-20 17:55:06 +02:00
Igor Nikonov
f579da5b30
Merge remote-tracking branch 'origin/master' into igor/use_only_input_order_info
2022-09-20 15:01:33 +00:00
Nikolai Kochetov
0df2a31911
Fix possible pipeline stuck exception for queries with OFFSET
2022-09-20 14:58:53 +00:00
Igor Nikonov
757736679f
Fix build
2022-09-20 14:53:45 +00:00
Kseniia Sumarokova
11d55f693c
Merge branch 'master' into add-settings-for-delete
2022-09-20 16:45:40 +02:00
Nikolai Kochetov
2b46735c42
Fix a bug with missing rows after partial sort optimisation #41182
2022-09-20 14:08:39 +00:00
Alexander Tokmakov
f9e7451d88
Merge pull request #41343 from azat/deadlock-fix
...
Fix possible deadlock with async_socket_for_remote/use_hedged_requests and parallel KILL
2022-09-20 16:59:31 +03:00
avogar
b86aec41d4
Remove unused file after renaming
2022-09-20 13:54:54 +00:00
avogar
868ce8bc16
Fix comments, make better naming, add docs, add setting output_format_json_quote_64bit_floats
2022-09-20 13:49:17 +00:00
Anton Popov
802c0c8572
Merge pull request #41472 from ClickHouse/fix_sort_desc_when_read_in_order
...
Fix: sort description for ReadFromMergeTree with read in order optimization
2022-09-20 15:41:53 +02:00
Igor Nikonov
394c2f708d
ReadFromMergeTree: reading in order only if input order info is provided
...
- remove checking optimize*in*order settings, input order info should be
set only if a corresponding optimization is enabled and applicable
2022-09-20 13:30:27 +00:00
alesapin
35e7287471
Revert "Fix parts removal on drop + add unrelated test"
...
This reverts commit 0027934d27
.
2022-09-20 14:53:05 +02:00
alesapin
cfe398cbbc
Fix lost table shared id during server restart
2022-09-20 14:51:16 +02:00
alesapin
0027934d27
Fix parts removal on drop + add unrelated test
2022-09-20 14:29:56 +02:00
Filatenkov Artur
2139d5be17
Merge branch 'master' into annoy
2022-09-20 15:28:08 +03:00
alesapin
8ba74d8655
Fix bugs found by CI
2022-09-20 14:00:57 +02:00
kssenii
6d75f9c0bb
Add has_lightweight_delete to system.parts
2022-09-20 13:17:00 +02:00
Kseniia Sumarokova
392a65757d
Merge branch 'master' into add-settings-for-delete
2022-09-20 13:06:27 +02:00
Alexander Tokmakov
c8f2820bf1
Merge pull request #41467 from azat/kill-query/lock-fix
...
Fix possible hung/deadlock on query cancellation
2022-09-20 13:59:55 +03:00
alesapin
8d88b68a85
Merge pull request #41415 from ClickHouse/revert_prefixes_s3
...
Revert prefixes s3 + add retries on write requests unexpected errors
2022-09-20 12:55:04 +02:00
alesapin
66dc1e5597
Merge branch 'master' into fix_parts_removal_on_drop
2022-09-20 12:35:03 +02:00
alesapin
740b0b5cc0
Fix parts removal on drop + add unrelated test
2022-09-20 12:32:05 +02:00
Vitaly Baranov
f58f8104b5
Merge pull request #41474 from vitlibar/mask-some-info-in-logs
...
Mask some information in logs.
2022-09-20 12:11:02 +02:00
Kseniia Sumarokova
6f6c6f4a65
Update ASTDeleteQuery.cpp
2022-09-20 12:02:29 +02:00
Kseniia Sumarokova
3c7bbad0b0
Merge pull request #41437 from kssenii/fix-logical-error-write-through-cache
...
Fix assertion in write-through cache
2022-09-20 11:51:19 +02:00
Kseniia Sumarokova
fb93ca7ca8
Merge pull request #41510 from kssenii/maybe-fix-storage-nats-tests
...
Try fix flaky test_storage_nats
2022-09-20 11:32:10 +02:00
Vladimir C
4935bf60b7
Merge pull request #41130 from ClickHouse/vdimir/decimal-in-41125
2022-09-20 10:07:50 +02:00
Vladimir C
befc0440e3
Merge pull request #41511 from Algunenano/batch_nullable_assert
2022-09-20 09:21:52 +02:00
Filatenkov Artur
be8221fae1
Correct work with negative distance
2022-09-20 09:48:33 +03:00
Alexey Milovidov
03bbf0676f
Merge branch 'master' into revert_prefixes_s3
2022-09-20 06:14:07 +03:00
Alexey Milovidov
37a4be249b
Merge pull request #41483 from amosbird/jbod-fix1
...
Fix nullptr dereference in DB::VolumeJBOD::reserve
2022-09-20 06:08:14 +03:00
Sergei Trifonov
cf2db48c29
Merge pull request #40631 from ClickHouse/readonly-settings-allow
...
Allow to modify constrained settings in readonly mode
2022-09-20 02:18:14 +02:00
Sergei Trifonov
358c5a0139
Merge pull request #41532 from ClickHouse/s3-api-calls-events-for-disk-s3
...
Detailed S3 profile events `DiskS3*` per S3 API call split for S3 ObjectStorage
2022-09-20 02:10:50 +02:00