Vladimir C
3076e92980
Apply suggestions from code review
...
Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com>
2023-03-06 16:56:02 +01:00
Anton Popov
1b0d0c6108
fix skip indexes
2023-03-06 15:29:13 +00:00
Sema Checherinda
8292ffb81e
Merge pull request #47121 from liding1992/master
...
Fix the problem that the 'ReplicatedMergeTree' table failed to insert two similar data when the 'part_type' is configured as 'InMemory' mode.
2023-03-06 16:13:24 +01:00
Kruglov Pavel
e4751f95e1
Fix typo
2023-03-06 14:56:05 +01:00
Antonio Andelic
12525f768c
Add default constructor for MultiReadResponse
( #47254 )
...
* Add default constructor for MultiReadResponse
* Remove optional
* Fix style
2023-03-06 14:18:01 +01:00
Antonio Andelic
9117c7491d
Join threads if exception happened in constructor
2023-03-06 12:55:02 +00:00
Kruglov Pavel
aa776d00fe
Use executors snapshot
2023-03-06 13:24:36 +01:00
Han Fei
b7eef62458
Merge pull request #45491 from azat/dist/async-send-refactoring
...
[RFC] Rewrite distributed sends to avoid using filesystem as a queue, use in-memory queue instead
2023-03-06 12:32:33 +01:00
Igor Nikonov
f863fc8180
Merge remote-tracking branch 'origin/master' into analyzer_trivial_count_optimization
2023-03-06 10:51:33 +00:00
Igor Nikonov
56e8547f7e
Do not apply the optimization when plan is built only for analysis
2023-03-06 10:47:32 +00:00
Vladimir C
48f644a958
Fix style in JoiningTransform.cpp
2023-03-06 10:38:21 +01:00
Vladimir C
1455e7602d
Merge pull request #47154 from azat/prewhere-columns-fix
2023-03-06 10:03:31 +01:00
Anton Popov
6f3e4d4137
Merge pull request #46118 from CurtizJ/fix-issues-with-sparse
...
Randomize setting `ratio_of_defaults_for_sparse_serialization`
2023-03-05 22:28:18 +01:00
Alexey Milovidov
4f85b733f1
Use string concatenation for XML serialization ( #47251 )
2023-03-05 18:19:33 +01:00
Antonio Andelic
c38d820d0f
Add 4LW for cleaning resource
2023-03-05 16:57:18 +00:00
Nikita Mikhaylov
099013831a
Added batching for reads and retries for the most heavy function in backups ( #47243 )
2023-03-05 16:15:03 +01:00
Alexander Tokmakov
b857060467
Merge pull request #47245 from ClickHouse/fix_deadlock_with_transactions
...
Release shared ptrs after finishing a transaction
2023-03-05 17:19:25 +03:00
Alexey Milovidov
41c79b0c42
Merge pull request #46086 from ClickHouse/fix-data-size
...
Fix data size calculation in Keeper
2023-03-05 14:11:36 +03:00
Alexander Tokmakov
08ce7b031e
release shared ptrs after finishing a transaction
2023-03-04 22:07:59 +01:00
Robert Schulze
10753481f9
Merge pull request #47242 from ClickHouse/rs/docs-index-support-has-hasall-hasany
...
Docs: Update index support of has(), hasAny(), hasAll()
2023-03-04 18:49:24 +01:00
Robert Schulze
11930ad685
Docs: Update index support of has(), hasAny(), hasAll()
2023-03-04 17:27:47 +00:00
Nikolay Degterinsky
7f15575500
Merge pull request #47208 from ClibMouse/z_ip_coding_fix
...
Fix ip coding on s390x
2023-03-04 18:18:14 +01:00
Alexey Milovidov
241fc7cadd
Merge branch 'master' into fix-deadlock
2023-03-04 12:10:59 +03:00
Alexey Milovidov
694f5eb0a8
Update ProcessList.cpp
2023-03-04 12:10:27 +03:00
Alexey Milovidov
a70789c0b3
Whitespace
2023-03-04 09:15:33 +01:00
liding1992
ea8ae193d3
Fix the problem that the 'ReplicatedMergeTree' table failed to insert two similar data when the 'part_type' is configured as 'InMemory' mode.
2023-03-04 09:16:29 +08:00
Alexander Tokmakov
082194a755
Merge pull request #47175 from ClickHouse/correct_fatal_handling
...
More correct handling of fatal errors
2023-03-04 00:38:00 +03:00
Sema Checherinda
85178c9609
Merge pull request #47102 from CheSema/merge-mutate-do-thread-group
...
do flushUntrackedMemory when context switches
2023-03-03 20:23:25 +01:00
Nikita Mikhaylov
5c4da5aa4a
Use separate thread pool for IO operations for backups ( #47174 )
2023-03-03 20:05:42 +01:00
Igor Nikonov
b6f05a6399
Merge remote-tracking branch 'origin/master' into analyzer_trivial_count_optimization
2023-03-03 17:44:08 +00:00
Anton Popov
9389cc29da
better mutations of sparse columns
2023-03-03 16:52:01 +00:00
vdimir
a0f5756751
Fix DelayedJoinedBlocksWorkerTransform for grace hash join
2023-03-03 16:30:01 +00:00
Azat Khuzhin
5403360924
Add real client (initiator server) address into the logs for interserver mode
...
It is useful to understand what is going on, in some obscure cases, for
instance if someone will copy configuration from the production to some
docker env, and then you will see docker's private network addresses
in the logs.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-03 16:38:10 +01:00
AVMusorin
0f2ae72141
prohibit DEFAULT/EPHEMERAL/ALIAS in KafkaEngine
2023-03-03 16:25:42 +01:00
Antonio Andelic
cd4100cb19
Merge branch 'master' into fix-data-size
2023-03-03 15:33:43 +01:00
Suzy Wang
e44e528118
remove unnecessary reverse memcpy
2023-03-03 06:20:18 -08:00
Alexander Tokmakov
cadaf06829
Merge pull request #46681 from ClickHouse/fix_insert_cancellation_in_native_protocol
...
Fix queries cancellation when a client dies
2023-03-03 16:27:20 +03:00
avogar
221ac4a1e5
Better
2023-03-03 13:23:44 +00:00
Konstantin Bogdanov
1bbf5acd47
Pass headers from StorageURL to WriteBufferFromHTTP ( #46996 )
...
* Pass headers from StorageURL to WriteBufferFromHTTP
* Add a test
* Lint
* `time.sleep(1)`
* Start echo server earlier
* Add proper handling for mock server start
* Automatic style fix
---------
Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-03-03 13:55:52 +01:00
Alexander Tokmakov
b1a288d271
Merge branch 'master' into correct_fatal_handling
2023-03-03 14:50:07 +03:00
vdimir
db2ffc109c
Add comment to GrachHashJoin::current_bucket_mutex
2023-03-03 10:17:34 +00:00
vdimir
38d157a850
Fix race in grace hash join with limit
2023-03-03 10:13:38 +00:00
Robert Schulze
74fcffb067
Merge pull request #31125 from taiyang-li/map_from_arrasy
...
Implement spark function mapFromArrays()
2023-03-03 09:28:54 +01:00
Antonio Andelic
a6da64aac0
Merge pull request #46824 from ClickHouse/fix-single-thread-parquet
...
Use initial range for fetching file size in HTTP read buffer
2023-03-03 09:23:22 +01:00
Alexander Tokmakov
619b282060
more correct handling of fatal errors
2023-03-03 01:22:04 +01:00
LiuNeng
d4c5ab9dcd
Optimize one nullable key aggregate performance ( #45772 )
2023-03-02 21:01:52 +01:00
Salvatore Mesoraca
81b30021db
ActionsDAG: do not change result of and() during optimization - part 2 ( #47028 )
2023-03-02 20:48:13 +01:00
Maksim Kita
3cd88003dd
Merge pull request #47101 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
...
Analyzer Planner fixes before enable by default
2023-03-02 22:16:39 +03:00
Alexander Tokmakov
edd238273c
fix another bug in client
2023-03-02 19:51:05 +01:00
Sema Checherinda
7a9f4aab8e
do not call adjustWithUntrackedMemory when untracked_memory is 0
2023-03-02 19:21:03 +01:00
Sema Checherinda
a6c2473518
do flushUntrackedMemory when context swith
2023-03-02 19:21:03 +01:00
Azat Khuzhin
167e4903a8
Fix concrete columns PREWHERE support
...
This is the fix for the IStorage::supportedPrewhereColumns() API.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-02 18:51:23 +01:00
Alexander Tokmakov
c518f3690e
Merge branch 'master' into fix_insert_cancellation_in_native_protocol
2023-03-02 18:24:08 +01:00
avogar
14351922e3
Fix possible deadlock in QueryStatus
2023-03-02 17:20:29 +00:00
Robert Schulze
af56646f63
Merge pull request #47139 from ClickHouse/rs/ctad
...
Shorten some code with CTAD
2023-03-02 17:22:36 +01:00
Anton Popov
fdf8a418f5
better interface
2023-03-02 14:46:26 +00:00
Sema Checherinda
bd5d7f3f81
Merge pull request #47098 from CheSema/release-lambda-before
...
release lambda resources before detaching thread group
2023-03-02 15:28:18 +01:00
Antonio Andelic
9722d8a403
Rename variable
2023-03-02 14:17:48 +00:00
kssenii
10610cbdf4
Fix test
2023-03-02 14:46:20 +01:00
Antonio Andelic
5328a0777b
Merge branch 'master' into fix-single-thread-parquet
2023-03-02 13:45:27 +00:00
Robert Schulze
740aeaba1f
Apply some CTAD
2023-03-02 13:36:47 +00:00
kssenii
2883861795
Merge remote-tracking branch 'upstream/master' into allow-nested-disks-in-custom-disks
2023-03-02 14:30:58 +01:00
Kseniia Sumarokova
2b10f99720
Merge branch 'master' into kssenii-patch-6
2023-03-02 13:56:02 +01:00
Kseniia Sumarokova
09444eeea1
Merge pull request #47006 from ucasfl/null
...
Table function null default table structure
2023-03-02 13:43:16 +01:00
Maksim Kita
d55b800fc6
Fixed code review issues
2023-03-02 13:43:03 +01:00
Maksim Kita
eab29f4a4e
Fixed tests
2023-03-02 13:09:18 +01:00
KevinyhZou
cdc8596f81
enable int type in repeat function
2023-03-02 20:08:39 +08:00
Mikhail f. Shiryaev
be1cd6cbe4
Merge branch 'master' into map_from_arrasy
2023-03-02 12:36:25 +01:00
Vladimir C
16eedb004f
Merge pull request #47071 from xiedeyantu/support_parse_date
2023-03-02 12:00:48 +01:00
Kruglov Pavel
ce8e49a9a0
Merge pull request #45693 from Avogar/fix-kafka-protobuf
...
Fix formats parser resetting, test processing bad messages in kafka
2023-03-02 11:50:45 +01:00
Robert Schulze
cd42cdc57d
Merge pull request #47115 from HarryLeeIBM/hlee-s390x-xxhash-2
...
Fix halfMD5 and cityhash for s390x
2023-03-02 11:09:37 +01:00
Robert Schulze
3af1d0c3bb
Merge branch 'master' into map_from_arrasy
2023-03-02 11:01:01 +01:00
Alexander Gololobov
5870969837
Merge pull request #47109 from ClickHouse/enable_lwd
...
Enable lightweight delete support by default
2023-03-02 09:56:38 +01:00
李扬
2d37e3e7ba
Merge branch 'master' into map_from_arrasy
2023-03-02 14:37:31 +08:00
Alexander Tokmakov
ad4a44df52
fix
2023-03-02 02:59:27 +01:00
Alexey Milovidov
57ac42f48b
Merge pull request #46804 from nickitat/async_reading_small_limit
...
Fix async reading pipeline when small limit is present
2023-03-02 02:30:19 +03:00
Alexey Milovidov
97c0f8a0e0
Merge pull request #47027 from amosbird/clang16
...
Prepare to build with clang 16
2023-03-02 02:10:03 +03:00
HarryLeeIBM
b84e9fdaac
Fix halfMD5 and cityhash for s390x
2023-03-01 13:36:35 -08:00
Robert Schulze
15fec805fb
Merge pull request #46950 from ClickHouse/rs/uninline-likePatternToRegexp
...
Un-inline likePatternToRegexp()
2023-03-01 21:38:40 +01:00
Igor Nikonov
e17c0b6bf1
Review fixes
2023-03-01 20:19:51 +00:00
Sema Checherinda
76451745bc
Update threadPoolCallbackRunner.h
2023-03-01 20:56:38 +01:00
Anton Popov
c4a999ce29
Merge remote-tracking branch 'upstream/master' into HEAD
2023-03-01 19:33:16 +00:00
kssenii
13d50509c0
Fix style check
2023-03-01 20:16:15 +01:00
kssenii
f3e3b916c9
Allow nested custom disks
2023-03-01 19:55:59 +01:00
Alexander Gololobov
f64d08bd5c
Enable lightweight delete support by default
2023-03-01 19:35:55 +01:00
Kseniia Sumarokova
ada3ff2ce9
Update getOrCreateDiskFromAST.cpp
2023-03-01 18:40:13 +01:00
Sema Checherinda
242552b019
Update threadPoolCallbackRunner.h
2023-03-01 18:39:48 +01:00
Nikolai Kochetov
d469f138dc
Merge pull request #46790 from avoiderboi/add-width-bucket
...
Add `WIDTH_BUCKET` function
2023-03-01 18:35:36 +01:00
Maksim Kita
47ece846bc
Fixed tests
2023-03-01 18:05:07 +01:00
Maksim Kita
d39be3ac9c
Fixed tests
2023-03-01 18:05:07 +01:00
Maksim Kita
14e01566a0
Fixed tests
2023-03-01 18:05:07 +01:00
Maksim Kita
51ee007e01
Fixed tests
2023-03-01 18:05:07 +01:00
Maksim Kita
07e114d8f6
Analyzer WITH FILL and INTERPOLATE fix
2023-03-01 18:03:42 +01:00
Maksim Kita
bff55d5b2a
Planner table expression data column order fix
2023-03-01 18:03:42 +01:00
Maksim Kita
6209d13ad5
Analyzer support _shardNum column to shardNum() function rewrite
2023-03-01 18:03:42 +01:00
Maksim Kita
40fc36bb6f
Fixed tests
2023-03-01 18:03:42 +01:00
Maksim Kita
2672f24ced
Analyzer cyclic aliases fix
2023-03-01 18:03:41 +01:00
Maksim Kita
1b946b314e
Analyzer convert LIMIT OFFSET expressions
2023-03-01 18:03:41 +01:00
Maksim Kita
54b704254d
Analyzer support InterpreterCreateQuery
2023-03-01 18:03:41 +01:00
Maksim Kita
8665077b5c
Planner add logging
2023-03-01 18:03:41 +01:00