Kseniia Sumarokova
81aa9b9199
Update WriteBufferFromAzureBlobStorage.cpp
2022-09-23 15:34:39 +02:00
Nikolay Degterinsky
9efa4bf766
Merge pull request #41587 from evillique/better-s3-logs
...
Better S3 logs
2022-09-23 15:32:27 +02:00
kssenii
c122e4dd1f
Refactor log levels
2022-09-23 15:32:05 +02:00
Robert Schulze
2b2b058693
Fix build
...
Fallout of #41186
2022-09-23 13:26:15 +00:00
kssenii
3725397040
Try fix azure tests
2022-09-23 15:24:10 +02:00
kssenii
ab702e43fc
Merge remote-tracking branch 'upstream/master' into fix-thread-status
2022-09-23 15:21:33 +02:00
Alexander Tokmakov
0eeb2de074
Merge pull request #41699 from ClickHouse/tavplubix-patch-5
...
Check if part mutation is cancelled
2022-09-23 15:46:28 +03:00
Nikita Mikhaylov
dbcba1490c
Try to make MergeTreeRestartingThread more reactive in case of expired sessions ( #41092 )
2022-09-23 14:40:04 +02:00
Alexander Tokmakov
2c16232b02
fix part removal retries
2022-09-23 14:39:05 +02:00
alesapin
148f018eae
Fix style:
2022-09-23 14:32:19 +02:00
alesapin
dff61267b4
More explicit logs
2022-09-23 14:31:05 +02:00
Kseniia Sumarokova
ea43cb5648
Merge pull request #41261 from kssenii/s3-header-auth
...
Support s3 authorisation headers from ast arguments
2022-09-23 12:48:08 +02:00
Kseniia Sumarokova
a0c5da3459
Merge pull request #41652 from kssenii/fix-disk-web
...
Fixes for disk web
2022-09-23 12:43:50 +02:00
Igor Nikonov
5aa92e470a
Merge branch 'master' into distinct_in_order_wo_order_by
2022-09-23 11:34:54 +02:00
Frank Chen
34bcb6a82b
Fix style
...
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-09-23 11:48:50 +08:00
Frank Chen
45e3d7d788
Update name/comments
2022-09-23 11:36:06 +08:00
Frank Chen
2344e0738e
Keep compatibility during upgrading
2022-09-23 11:32:21 +08:00
Frank Chen
40f9e0b69a
Address review comments
...
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-09-23 10:08:42 +08:00
Guo Wangyang
8de524cb73
ColumnVector: optimize UInt8 index with AVX512VBMI ( #41247 )
...
* ColumnVector: optimize UInt8 index with AVX512VBMI
* ColumnVector: coding style fix
* ColumnVector: add index test
* ColumnVector: refactory to use default impl for index
* ColumnVector: add more comments
* ColumnVector: more precise and simple type declaration
* Fix style check failure
Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
2022-09-23 01:59:49 +02:00
Nikolay Degterinsky
6edf8ec3f2
Better S3 logs
2022-09-22 22:34:13 +00:00
Dmitry Novik
177013fdc5
Merge branch 'master' into fix-errors-recording
2022-09-22 23:17:55 +02:00
Igor Nikonov
6551966dc7
Change the way reading in order is requested from plan optimizations
2022-09-22 20:47:00 +00:00
Igor Nikonov
9ea277c047
Remove unnecessary method from ReadFromMergeTree
2022-09-22 19:52:02 +00:00
Igor Nikonov
6f7d0fec52
Merge remote-tracking branch 'origin/master' into distinct_in_order_wo_order_by
2022-09-22 19:38:34 +00:00
Nikolai Kochetov
00965ce17a
Fixing race.
2022-09-22 17:57:04 +00:00
Anton Popov
4c7a820685
fix order by monotonic functions
2022-09-22 16:21:28 +00:00
Kseniia Sumarokova
9e97ca1df7
Update src/Storages/StorageS3.h
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-09-22 17:59:26 +02:00
kssenii
0e8343e6f3
Revert "Better config for cache"
...
This reverts commit 0ca6aadbdb
.
2022-09-22 17:57:44 +02:00
Alexander Tokmakov
981c1e95c6
Update MutateTask.cpp
2022-09-22 18:51:27 +03:00
kssenii
7b8c63b4e4
Merge remote-tracking branch 'origin/fix-disk-web' into fix-disk-web
2022-09-22 16:24:13 +02:00
kssenii
109d2ad022
Better
2022-09-22 16:22:05 +02:00
avogar
f23a77156f
Check file path for path traversal attacks in errors logger for input formats
2022-09-22 13:56:51 +00:00
Antonio Andelic
e36a53a762
Merge pull request #41616 from ClickHouse/fix-keeper-map-drop
...
Fix drop for KeeperMap
2022-09-22 15:43:23 +02:00
Roman Vasin
348f28a3e7
Fix toStartOfFiveMinutes, toStartOfTenMinutes, toStartOfFifteenMinutes
2022-09-22 13:30:40 +00:00
Nikolay Degterinsky
a7f3c7086c
Merge pull request #41341 from evillique/mandatory-identification
...
Add a setting requiring no_password to be explicitly specified when creating a user
2022-09-22 15:19:43 +02:00
Roman Vasin
cdd20241bf
Finish toStartOfDay; fix toStartOfMinute
2022-09-22 13:16:46 +00:00
kssenii
f038c7ea00
Better config for cache
2022-09-22 14:50:29 +02:00
kssenii
0ca6aadbdb
Better config for cache
2022-09-22 14:49:35 +02:00
Nikolai Kochetov
63e757a659
Merge pull request #36379 from amosbird/projection-compatibility-fix
...
Make minmax_count projection backward compatible
2022-09-22 14:15:35 +02:00
Kseniia Sumarokova
b11aa0dd0e
Merge pull request #41680 from ClickHouse/kssenii-patch-5
...
Fix error message
2022-09-22 13:26:42 +02:00
Nikolai Kochetov
3b63719ece
Merge pull request #41619 from den-crane/patch-50
...
increase default max_suspicious_broken_parts to 100
2022-09-22 13:25:22 +02:00
Kseniia Sumarokova
5caac39328
Merge pull request #41508 from kssenii/rename-some-cache-commands
...
Rename: `show caches` -> `show filesystem caches`, `describe cache` -> `describe filesystem cache`
2022-09-22 13:09:14 +02:00
alesapin
ca410b7a0b
Merge pull request #41147 from ClickHouse/enable_projections_and_zero_copy
...
Enable projections and zero copy replication
2022-09-22 13:05:09 +02:00
Alexander Tokmakov
021b882455
Revert "Disable parallel s3 multipart upload for part moves. ( #41268 )"
...
This reverts commit 0414d95878
.
2022-09-22 13:59:25 +03:00
Kseniia Sumarokova
73ccf94778
Update FileCacheSettings.cpp
2022-09-22 12:53:26 +02:00
alesapin
a95e291474
Merge branch 'master' into investigating_more_bugs
2022-09-22 12:51:55 +02:00
alesapin
57be648984
Merge pull request #41649 from ClickHouse/supress_one_more_key_doesnt_exists
...
Release AWS SDK log level + replace one exception
2022-09-22 12:38:03 +02:00
Roman Vasin
4ddd6f3c60
Fix timeSlot(); partial fix StartOfDay
2022-09-22 09:19:22 +00:00
Kruglov Pavel
2c83abaaba
Merge pull request #41614 from ClickHouse/Avogar-patch-1
...
Fix typos in JSON formats after #40910
2022-09-22 10:58:47 +02:00
Zhiguo Zhou
223c1230b6
Optimize the lock contentions for ThreadGroupStatus::mutex
...
The release of ThreadGroupStatus::finished_threads_counters_memory
via the getProfileEventsCountersAndMemoryForThreads method brings
lots of lock contentions for ThreadGroupStatus::mutex and lowers
the overall performance. This commit optimizes this performance
issue by replacing the method call with an equivalent but more
lightweight code block.
2022-09-22 16:23:16 +08:00
Igor Nikonov
8c93a9adda
Merge remote-tracking branch 'origin/master' into distinct_in_order_wo_order_by
2022-09-22 07:40:14 +00:00
Alexey Milovidov
93ed8e0c7b
Update version to 22.10.1.1
2022-09-22 09:32:38 +02:00
Roman Vasin
49b0da0273
Add date32IsNotSupported()
2022-09-22 07:15:03 +00:00
Roman Vasin
f6ebd94ce1
Add execute_extended_result for Date32 argument
2022-09-22 07:07:04 +00:00
Alexey Milovidov
3030d4c7ff
Merge pull request #41659 from ClickHouse/fix-build-2
...
Fix build after merge
2022-09-22 07:58:06 +03:00
Alexey Milovidov
bca4cc98c3
Merge pull request #41595 from Algunenano/fix_variadic_reading_random_data
...
Do not process rows in aggregations if any of the parameters is NULL
2022-09-22 07:57:37 +03:00
Alexey Milovidov
2c0eb994db
Fix build after merge
2022-09-22 06:53:33 +02:00
Alexey Milovidov
e16d583aaf
Merge pull request #41280 from ClickHouse/another_fix_for_an_ast_optimization
...
Fix WHERE pushdown when subquery has OFFSET
2022-09-22 07:33:44 +03:00
Alexey Milovidov
1d1898bc88
Merge pull request #41586 from Algunenano/fix_missing_read_bytes_in_mv
...
Fix read bytes/rows in X-ClickHouse-Summary with materialized views
2022-09-22 07:32:16 +03:00
Alexey Milovidov
2a75e025f2
Merge pull request #40715 from ClickHouse/compress-marks
...
Merging #37693 : Compress marks and primary key
2022-09-22 07:30:34 +03:00
Alexey Milovidov
45afacdae4
Merge pull request #41186 from ClickHouse/fix-three-fourth-of-trash
...
Fix more than half of the trash
2022-09-22 07:28:26 +03:00
Alexey Milovidov
b47cdd2783
Merge pull request #41602 from ClickHouse/bitmap-wrong-exception-code
...
Fix wrong exception code in the `bitmapTransform` function
2022-09-22 07:26:22 +03:00
Alexey Milovidov
5c508909c0
Merge pull request #41605 from ClickHouse/fix-amusing-error
...
Fix amusing error in conversion from Ordinary to Atomic
2022-09-22 07:25:41 +03:00
Frank Chen
99c74d182c
Merge branch 'master' into on_cluster_dll
2022-09-22 09:58:10 +08:00
Anton Popov
a2b5a4bfa8
Merge pull request #41563 from Algunenano/groupBitmap_crash
...
Prevent crash when passing wrong aggregation states to groupBitmap*
2022-09-22 01:15:25 +02:00
Kseniia Sumarokova
956e0e8634
Update WebObjectStorage.cpp
2022-09-21 21:51:32 +02:00
alesapin
9c433c14d1
Add very explicit logging on disk choice for fetch
2022-09-21 21:33:28 +02:00
kssenii
cb442a3ad7
Fixes for disk web
2022-09-21 21:26:55 +02:00
Nikolai Kochetov
446453bdf5
Fix a destruction order for views ThreadStatus
2022-09-21 18:37:40 +00:00
alesapin
499f678112
Release AWS SDK log level + replace one exception
2022-09-21 19:56:42 +02:00
Kruglov Pavel
a4feb81383
Merge pull request #41541 from canhld94/ch_fix_tostring
...
Fix conversion from nullable fixed string to string
2022-09-21 19:44:14 +02:00
Nikolay Degterinsky
49e0a87b8f
Merge pull request #41495 from canhld94/ch_fixedstring_len
...
Add settings allow_suspicious_fixed_string_types
2022-09-21 19:35:34 +02: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
Alexander Tokmakov
fa6a4c5b78
Merge branch 'master' into another_fix_for_an_ast_optimization
2022-09-21 19:05:08 +03:00
Antonio Andelic
6798b500e9
Wait on startup for Keeper
2022-09-21 15:12:16 +00:00
kssenii
e34101456a
Fix
2022-09-21 17:11:37 +02:00
kssenii
f0ffc785c0
Remove assertion
2022-09-21 16:59:52 +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
Denny Crane
75cf53c06e
increase default max_suspicious_broken_parts to 100
2022-09-21 11:10:19 -03: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
Antonio Andelic
1d0ae8ae88
Update src/Storages/StorageKeeperMap.cpp
2022-09-21 15:17:44 +02:00
Antonio Andelic
0e063e6724
Fix drop for KeeperMap
2022-09-21 13:08:15 +00:00
Roman Vasin
30c4719f7b
Add FunctionDateOrDateTimeToDateTimeOrDateTime64; function toStartOfHour works
2022-09-21 12:58:57 +00: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
Alexey Milovidov
3b6354fc62
Fix clang-tidy
2022-09-21 14:35:24 +02:00
Kruglov Pavel
dcb8fbc3f8
Fix JSONEachRow
2022-09-21 14:25:34 +02:00
Kruglov Pavel
95135e1e31
Fix typos in JSON formats after #40910
2022-09-21 14:24:26 +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
kssenii
f917b268b3
Merge remote-tracking branch 'upstream/master' into s3-header-auth
2022-09-21 12:56:25 +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
Nikolay Degterinsky
7292d47923
Merge branch 'master' into mandatory-identification
2022-09-21 12:18:17 +02:00
Nikolay Degterinsky
f0ca365fa0
Better
2022-09-21 10:16:49 +00:00
Kseniia Sumarokova
a3492fff2a
Merge branch 'master' into system-parts-update
2022-09-21 12:12:36 +02:00
Alexey Milovidov
f5f08f973e
Fix amusing error in conversion from Ordinary to Atomic
2022-09-21 07:10:33 +02:00
Alexey Milovidov
acc1613e3b
Fix wrong exception code in the bitmapTransform function
2022-09-21 05:28:47 +02:00
Alexey Milovidov
f939820a9b
Fix clang-tidy
2022-09-21 02:16:47 +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
Alexey Milovidov
45bd3cfc30
Merge branch 'master' into fix-three-fourth-of-trash
2022-09-20 21:27:41 +02:00
Alexey Milovidov
f55a67c7b2
Fix build
2022-09-20 21:27:18 +02:00
Alexey Milovidov
a469000497
Fix build
2022-09-20 21:26:11 +02:00
Raúl Marín
fd503b34d9
Remove any processing of undelying values for NULLs
2022-09-20 18:43:21 +02:00
alesapin
4bd667c6b7
Drop all WALs
2022-09-20 18:28:15 +02:00
Raúl Marín
90e5a06627
Do not replace NULLs by their underlying value on aggregations
2022-09-20 18:04:29 +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
Raúl Marín
133345eb37
Fix missing read bytes/rows in X-ClickHouse-Summary
2022-09-20 15:12:44 +02:00
alesapin
ffa9ab1d1c
Merge branch 'master' into enable_projections_and_zero_copy
2022-09-20 14:58:03 +02: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
Duc Canh Le
c3970afc45
Merge branch 'master' into ch_fixedstring_len
2022-09-20 20:22:14 +08:00
Raúl Marín
b3a4816079
Merge branch 'master' into groupBitmap_crash
2022-09-20 14:08:02 +02:00
alesapin
8ba74d8655
Fix bugs found by CI
2022-09-20 14:00:57 +02:00
Igor Nikonov
9c995b9e2a
Merge remote-tracking branch 'origin/master' into distinct_in_order_wo_order_by
2022-09-20 11:29:23 +00:00
Igor Nikonov
88b60f861f
Do not overwrite direction by distinct in order optimization
...
+ tests
2022-09-20 11:27:37 +00:00
Raúl Marín
766f34d9ae
Prevent crash when passing wrong aggregation states to groupBitmap*
2022-09-20 13:17:04 +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
kssenii
b8079e4577
Merge remote-tracking branch 'upstream/master' into rename-some-cache-commands
2022-09-20 13:02:18 +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
kssenii
808828ac04
Revert accidental changes
2022-09-20 12:46:01 +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
alesapin
e9d31977f3
Merge branch 'master' into enable_projections_and_zero_copy
2022-09-20 12:25:10 +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
1c3696bd38
Merge branch 'fix-three-fourth-of-trash' of github.com:ClickHouse/ClickHouse into fix-three-fourth-of-trash
2022-09-20 05:22:51 +02:00
Alexey Milovidov
cd68c6dc2d
Update tests (the new results looks correct)
2022-09-20 05:22:31 +02:00
Alexey Milovidov
03bbf0676f
Merge branch 'master' into revert_prefixes_s3
2022-09-20 06:14:07 +03:00
Alexey Milovidov
133318d8bd
Merge branch 'master' into hlee-s390x-siphash
2022-09-20 06:10:57 +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
Frank Chen
a89140ae98
Fix style
...
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-09-20 10:37:54 +08:00
Alexey Milovidov
a35c62933f
Update src/Functions/sleep.h
...
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-09-20 05:16:21 +03:00
Alexey Milovidov
7c299dc561
Update src/Storages/MergeTree/MergeTreeDataMergerMutator.cpp
...
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-09-20 05:16:12 +03:00
Alexey Milovidov
e7525da88f
Update src/Storages/MergeTree/MergeTreePartsMover.cpp
...
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-09-20 05:16:02 +03:00
Alexey Milovidov
4fcfcf282a
Update src/Storages/examples/merge_selector2.cpp
...
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2022-09-20 05:15:47 +03:00
Duc Canh Le
e2bd478b98
fix conversion from nullable fixed string to string
2022-09-20 10:05:18 +08: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
Vitaly Baranov
b1199878ad
Merge pull request #39977 from vitlibar/improve-recovery-of-replicated-access-storage
...
Improve recovery of ReplicatedAccessStorage after errors.
2022-09-20 00:36:30 +02:00
Filatenkov Artur
3598a7e680
Fix query type information
2022-09-20 01:03:55 +03:00
alesapin
ee24b21aaf
Fix revert order
2022-09-19 21:19:36 +02:00
kssenii
e40ced28fd
Done
2022-09-19 21:05:30 +02:00
Sergei Trifonov
7902922ae4
Merge branch 'master' into readonly-settings-allow
2022-09-19 21:00:12 +02:00
BoloniniD
55fcb98f29
Merge branch 'master' of github.com:ClickHouse/ClickHouse into BLAKE3
2022-09-19 21:53:14 +03:00
serxa
2ef696ffe1
fix issues
2022-09-19 18:40:32 +00:00
Igor Nikonov
aca810ba62
Merge remote-tracking branch 'origin/master' into distinct_in_order_wo_order_by
2022-09-19 18:34:38 +00:00
Igor Nikonov
78bb598d64
Handling DISTINCT in order on top of other read in order optimization
2022-09-19 18:33:05 +00:00
alesapin
f67e23183f
Fix parts removal on drop + add unrelated test
2022-09-19 20:19:49 +02:00
serxa
7a1d4a404a
add DiskS3* profile events per S3 API calls
2022-09-19 18:10:47 +00:00
serxa
f8aa738511
more conventional profile events names
2022-09-19 17:23:22 +00:00
serxa
6ed53585ab
rearrange and fix profile event descriptions
2022-09-19 17:03:48 +00:00
Igor Nikonov
5de8298ca1
Merge branch 'master' into fix_sort_desc_when_read_in_order
2022-09-19 18:54:42 +02:00
Azat Khuzhin
f76f14a99c
Fix possible hung/deadlock on query cancellation
...
Right due to graceful cancellation of the query, it is possible to hung
accepting new queries or even have a deadlock, this is because
cancellation is done while acquiring ProcessListBase::mutex.
So this patch makes query cancellation lock-free, and now the lock will
be acquired only for preparing the query and after cancel is done.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-19 17:31:21 +02:00
Amos Bird
652c7cb519
Add comments to FunctionNameNormalizer.
2022-09-19 22:07:04 +08:00
Amos Bird
1a21f0a0f0
normalize ast for replicated metadata
2022-09-19 22:06:41 +08:00
Amos Bird
0bb70d4378
Make minmax_count projection backward compatible
2022-09-19 22:06:40 +08:00
Vitaly Baranov
052ecaa211
Merge branch 'master' into improve-recovery-of-replicated-access-storage
2022-09-19 15:26:21 +02:00
Vitaly Baranov
f75dd93965
Mask some information in logs.
2022-09-19 15:00:06 +02:00
Sergei Trifonov
ff2e1ff8d8
Merge branch 'master' into support_s3_api_event_metrics
2022-09-19 14:35:45 +02:00
Raúl Marín
e89dffbb95
Fix AggregateFunctionNullVariadic batch with null_is_skipped=false
2022-09-19 14:34:08 +02:00
Kruglov Pavel
712aebc077
Merge pull request #41083 from Avogar/fix-map-combinator
...
Fix possible segfaults, use-heap-after-free and memory leak in aggregate function combinators
2022-09-19 14:29:17 +02:00
kssenii
f8665c83da
Add retries for nats
2022-09-19 14:27:11 +02:00
kssenii
30a5477514
Add retries for nats
2022-09-19 14:26:38 +02:00
Alexander Tokmakov
c6efb1773e
Merge branch 'master' into fix_drop_partition_on_cluster
2022-09-19 15:18:05 +03:00
Kruglov Pavel
4c3194eefe
Merge pull request #41286 from azat/utf8-fix
...
Do not allow invalid sequences influence other rows in lowerUTF8/upperUTF8
2022-09-19 14:07:10 +02:00
kssenii
e3cd3686af
Rename
2022-09-19 14:02:51 +02:00
Sergei Trifonov
f7a1ed3141
Merge branch 'master' into readonly-settings-allow
2022-09-19 12:52:36 +02:00
serxa
a0bfa801e5
explicit ctor
2022-09-19 10:52:08 +00:00
Kseniia Sumarokova
631aad1671
Merge branch 'master' into fix-logical-error-write-through-cache
2022-09-19 12:29:55 +02:00
Antonio Andelic
1763af37b9
Merge pull request #41403 from ClickHouse/keeper-fix-shutdown-without-server
...
Fix Keeper segfault during shutdown when RAFT server failed to start
2022-09-19 12:03:58 +02:00
Igor Nikonov
81a46b6346
Merge remote-tracking branch 'origin/master' into fix_sort_desc_when_read_in_order
2022-09-19 09:40:23 +00:00
Igor Nikonov
54c2fed9cc
Update: use type explicitly
2022-09-19 09:31:45 +00:00
Alexey Milovidov
45b6052b20
Merge branch 'master' into compress-marks
2022-09-19 10:57:05 +02:00
vdimir
a6dc99983d
Fix tidy build
2022-09-19 08:42:23 +00:00
vdimir
5c9bfbc116
Fix incorrect result in case of decimal precision loss in IN operator
2022-09-19 08:42:22 +00:00
vdimir
c2634c9fae
Revert "Throw exception on precision lost during decimal to decimal convertion"
...
This reverts commit d4233cf3c658adf2541070b1bbba678ad7c769db.
2022-09-19 08:42:22 +00:00
vdimir
c33e231ce9
Throw exception on precision lost during decimal to decimal convertion
2022-09-19 08:42:18 +00:00
Igor Nikonov
b4a3ac926f
Fix typo
2022-09-19 08:26:44 +00:00
Vladimir C
b6b5932efc
Merge pull request #41223 from ClickHouse/vdimir/exponential_rewrite_21557
2022-09-19 10:07:24 +02:00
Alexey Milovidov
b9bd2c8373
Merge pull request #41458 from ClickHouse/fix-bug-orc
...
Fix very strange behavior of Apache ORC
2022-09-19 10:43:17 +03:00
Alexey Milovidov
000b6ac81c
Fix error
2022-09-19 09:30:48 +02:00
Duc Canh Le
61d6fae14b
add settings allow_suspicious_fixed_string_types
2022-09-19 15:00:04 +08:00
Alexey Milovidov
b87d12494e
Fix build
2022-09-19 08:53:20 +02:00
Alexey Milovidov
5224fc4d7f
Fix strange code
2022-09-19 08:53:20 +02:00
Alexey Milovidov
d1275091e8
Fix strange code
2022-09-19 08:53:20 +02:00
Alexey Milovidov
6a473d8998
Merge
2022-09-19 08:53:20 +02:00
Alexey Milovidov
bb6f1bfce2
Fix 9/10 of trash
2022-09-19 08:53:20 +02:00
Alexey Milovidov
730655d4fd
Fix 8/9 of trash
2022-09-19 08:53:20 +02:00
Alexey Milovidov
42b0d444da
Fix 7/8 of trash
2022-09-19 08:53:20 +02:00
Alexey Milovidov
91baedf03a
Fix 6/7 of trash
2022-09-19 08:53:20 +02:00
Alexey Milovidov
ab4db2d0c4
Fix 5/6 of trash
2022-09-19 08:50:53 +02:00
Alexey Milovidov
84f42e0874
Fix 3/4 of trash
2022-09-19 08:50:53 +02:00
Amos Bird
d2601b8192
Add a comment
2022-09-19 14:41:34 +08:00
Alexey Milovidov
3c0961c48b
Merge branch 'master' into fix-map-combinator
2022-09-19 09:32:16 +03:00
Alexey Milovidov
b01f5bdca8
Merge pull request #39354 from ClickHouse/window-order-by
...
Respect ORDER BY clause in window functions
2022-09-19 09:22:37 +03:00
Amos Bird
09b75901f0
Fix nullptr deref
2022-09-19 14:07:31 +08:00
Alexey Milovidov
6a09340f11
Merge pull request #41459 from azat/io/threadpoolreader-elapsed
...
Account any IO that is done from ThreadPoolReader
2022-09-19 09:04:20 +03:00
Frank Chen
b056bc1021
Add span for executeDDLQueryOnCluster
...
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-09-19 13:43:40 +08:00
Alexey Milovidov
81e8cb4be6
Merge branch 'master' into fix-bug-orc
2022-09-19 06:38:17 +03:00
Yong Wang
ec852b3faa
Kusto-phase1 : change the parser in ClientBase from shared_ptr to unique_ptr
2022-09-18 20:38:07 -07:00
Alexey Milovidov
d4b9fe41be
Merge pull request #41457 from ClickHouse/remove-trash-5
...
Remove trash from Field
2022-09-19 06:36:48 +03:00
Alexey Milovidov
57a1f47972
Merge pull request #41441 from ClickHouse/pod-array-overflow
...
Fix overflow in `PODArray`
2022-09-19 06:34:21 +03:00
Alexey Milovidov
ac193facde
Merge branch 'master' into add_missed_throw
2022-09-19 06:31:12 +03:00
Alexey Milovidov
df52df83f9
Merge pull request #41463 from ClickHouse/add-test-38383
...
Add a test for #38383
2022-09-19 06:27:38 +03:00
Yong Wang
37ae7a8cca
Kusto-phase1 : apply parser comments to kusto, remove unused variable
2022-09-18 20:25:27 -07:00
Frank Chen
06ae2fb2b5
Remove assertEOF to improve the compability
...
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-09-19 11:20:58 +08:00
Frank Chen
2ae43bb4e8
Add test case
...
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-09-19 11:18:35 +08:00
Yong Wang
4e4a04c08b
Merge branch 'ClickHouse:master' into Kusto-phase1
2022-09-18 21:40:30 -04:00
Igor Nikonov
785c33bf7d
Updating sort description for ReadFromMergeTree correctly
2022-09-18 23:35:21 +00:00
Alexey Milovidov
790cb730d6
Fix clang-tidy
2022-09-19 00:34:41 +02:00
Alexey Milovidov
cc28120761
Merge branch 'master' into pod-array-overflow
2022-09-19 00:34:38 +02:00
Alexey Milovidov
f3fd5ef845
Fix clang-tidy
2022-09-19 00:32:52 +02:00
Alexey Milovidov
36aaeecc2f
Fix clang-tidy
2022-09-19 00:32:11 +02:00
Alexey Milovidov
5d9e125c71
Fix clang-tidy
2022-09-19 00:28:32 +02:00
Igor Nikonov
e888859396
Fix: correct sort description for ReadFromMergeTree with read in order
...
optimization
2022-09-18 22:21:13 +00:00
BoloniniD
5b4fb4bf66
Merge branch 'master' into BLAKE3
2022-09-18 23:14:37 +03:00
alesapin
a5a9d89fb9
Merge branch 'master' into enable_projections_and_zero_copy
2022-09-18 17:20:08 +02:00
alesapin
e4c120742e
Add missed throw expression
2022-09-18 16:56:19 +02:00
alesapin
560bc2bc22
Merge pull request #41386 from ClickHouse/fix_redundant_fetch
...
Fix redundant fetch in zero copy replication
2022-09-18 15:57:27 +02:00
alesapin
1d0dbfb112
Merge pull request #41444 from ClickHouse/one_wrong_config_assert
...
One more validation for broken config in keeper
2022-09-18 15:56:48 +02:00
Kruglov Pavel
519bcbb3be
Merge pull request #41236 from Avogar/fix-totals-extremes
...
Don't output totals/extremes in all row formats, update docs
2022-09-18 14:55:07 +02:00
Kseniia Sumarokova
d6748b182f
Update CachedOnDiskWriteBufferFromFile.cpp
2022-09-18 14:48:24 +02:00
Vitaly Baranov
e7e51ab2d9
Add comments.
2022-09-18 12:44:05 +02:00
Vitaly Baranov
69996c960c
Add retries for the initialization of ReplicatedAccessStorage.
2022-09-18 12:44:05 +02:00
Vitaly Baranov
5365b105cc
Add SYSTEM RELOAD USERS command.
2022-09-18 12:44:00 +02:00
Vitaly Baranov
1b40f94c6b
Move common code from MemoryAccessStorage and DiskAccessStorage to IAccessStorage.
2022-09-18 12:17:15 +02:00