Kseniia Sumarokova
a440e1376a
Update FileSegment.cpp
2022-05-11 12:05:50 +02:00
Vxider
07fe7f5c09
disable read when windowview has no target table
2022-05-11 09:16:26 +00:00
Vxider
3dfede3165
support read for windowview
2022-05-11 09:00:49 +00:00
kssenii
5385a4da8a
Fix review comments
2022-05-11 10:45:20 +02:00
kssenii
18dd74be0c
Remove unneede changes
2022-05-11 10:26:30 +02:00
qieqieplus
5f9eee976f
fix & format
2022-05-11 16:14:43 +08:00
fenglv
175175a16e
fix wrong argument in proxy resolver of DiskS3
2022-05-11 04:16:05 +00:00
Alexey Milovidov
c0acd5a325
Merge branch 'chained-or' of github.com:ClickHouse/ClickHouse into chained-or
2022-05-11 01:29:22 +02:00
Alexey Milovidov
27c6307ef6
Disable setting by default
2022-05-11 01:28:49 +02:00
Alexey Milovidov
3fcf63830c
Merge branch 'master' into chained-or
2022-05-11 01:28:12 +02:00
alesapin
5c725fe77c
Merge pull request #36857 from ClickHouse/dont_finalize_s3_buffer
...
Terminate if S3 buffer is not finalized
2022-05-11 00:57:10 +02:00
alesapin
0f276a0956
Merge pull request #36947 from ClickHouse/dump_ordered_sessions_map
...
Force keeper snapshot equality on different replicas
2022-05-10 23:36:09 +02:00
Nikolai Kochetov
b6075031d8
Delete GroupingSetsTransform.
2022-05-10 17:54:36 +00:00
kssenii
ccab49e3cf
Merge master
2022-05-10 19:33:34 +02:00
kssenii
61f2737e17
Merge master
2022-05-10 19:31:22 +02:00
kssenii
b654eda2b4
Better test, remove file
2022-05-10 18:17:22 +02:00
Nikolai Kochetov
f7dbd48ee5
Simplify code a little bit.
2022-05-10 16:12:03 +00:00
Nikolai Kochetov
a02e1d2f4a
Simplify code a little bit.
2022-05-10 16:00:00 +00:00
vdimir
00cd21cacf
Option to force cross_to_inner_join_rewrite
2022-05-10 15:12:17 +00:00
vdimir
9b24e0d260
Apply optimizeCountConstantAndSumOne before JOINs
2022-05-10 14:30:33 +00:00
vdimir
ff001382fb
Handle non unique column names in NotJoinedBlocks
2022-05-10 14:30:33 +00:00
vdimir
837d4bd13f
Revert "Continue fixing #36199."
...
This reverts commit 1feba64a4e
.
2022-05-10 14:30:02 +00:00
Nikolai Kochetov
1feba64a4e
Continue fixing #36199 .
2022-05-10 14:26:49 +00:00
kssenii
f4b45a5805
Better profile events
2022-05-10 16:00:53 +02:00
kssenii
0feda67ec4
Fix progress for insert select
2022-05-10 15:04:08 +02:00
Alexey Milovidov
485aee0db7
Disable log_query_threads by default
2022-05-10 14:59:52 +02:00
Alexander Tokmakov
897a0393b2
Merge pull request #37072 from jiahui-97/fix_comment_num
...
just fix a number
2022-05-10 15:39:50 +03:00
jiahui-97
4c1244d06d
just fix a number
...
Find a number wrong when reading SAHA paper and related code.
2022-05-10 20:33:25 +08:00
Vladimir C
4065b83ba9
Update ConcurrentHashJoin.cpp
2022-05-10 14:14:58 +02:00
Vladimir C
43935f71f7
Update ConcurrentHashJoin.cpp
2022-05-10 14:09:49 +02:00
Anton Popov
f075070fdf
Merge pull request #37046 from azat/fix-optimize_aggregation_in_order-Array
...
Fix optimize_aggregation_in_order with *Array aggregate functions
2022-05-10 14:01:01 +02:00
Anton Popov
aec30c4076
Merge pull request #37053 from CurtizJ/remove-streams-comments
...
Remove last mentions of data streams
2022-05-10 13:38:13 +02:00
mergify[bot]
2c911da020
Merge branch 'master' into dont_finalize_s3_buffer
2022-05-10 11:26:51 +00:00
alesapin
41737d66b0
Merge pull request #37014 from ClickHouse/better_delete_outdated_parts
...
Fix forgotten parts in cleanup thread
2022-05-10 12:34:34 +02:00
Alexander Tokmakov
a3d922d6f6
Merge pull request #37047 from ClickHouse/fix_trivial_insert_select
...
Resubmit forgotten patch
2022-05-10 13:02:05 +03:00
Nikolai Kochetov
a3df693ace
Merge pull request #37040 from ClickHouse/selected_rows_and_merges
...
Do not increase SelectedRows and SelectedBytes in merges and mutations.
2022-05-10 12:01:06 +02:00
Ilya Yatsishin
5c0b48fcf7
Merge pull request #37058 from ClickHouse/grammarly
2022-05-10 09:30:06 +02:00
Sergei Trifonov
376e556474
Merge pull request #36861 from Vxider/fix-fire-hop-window
...
Fix fire in window view with hop window
2022-05-10 09:25:24 +02:00
Alexey Milovidov
31bc456bbf
This evening I started using Grammarly.
2022-05-10 04:02:53 +02:00
Alexey Milovidov
5d8fad8ab6
Update ConvertFunctionOrLikeVisitor.cpp
2022-05-10 02:23:24 +03:00
kssenii
2f0f76369a
Better
2022-05-09 21:25:26 +02:00
Anton Popov
e911900054
remove last mentions of data streams
2022-05-09 19:15:24 +00:00
Azat Khuzhin
6ada8a6337
Fix optimize_aggregation_in_order with *Array aggregate functions
...
row_begin was wrong, and before this patch aggregator processing
{row_end, row_end} range, in other words, zero range.
Fixes : #9113 (cc @dimarub2000)
v2: add static_cast to fix UBSan
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-09 20:43:19 +03:00
mergify[bot]
55a6d22ad3
Merge branch 'master' into grouping-sets-fix
2022-05-09 14:02:10 +00:00
mergify[bot]
8ea87a3530
Merge branch 'master' into enable-memory-overcommit
2022-05-09 14:00:54 +00:00
Nikolai Kochetov
a34411f51e
Disable trivial_insert_select if query has aggregate functions.
...
(cherry picked from commit 70ae043455
)
2022-05-09 15:56:39 +02:00
Yakov Olkhovskiy
24d1176bf3
Update CMakeLists.txt
2022-05-09 09:37:03 -04:00
avogar
9abdacdd2e
Remove logging
2022-05-09 13:30:41 +00:00
avogar
054318b555
Fix invalid output LowCardinality -> ArrowDictionary
2022-05-09 13:29:42 +00:00
alesapin
f8f170462c
Fix text
2022-05-09 15:24:50 +02:00
alesapin
684bfe35ee
Merge branch 'better_delete_outdated_parts' of github.com:ClickHouse/ClickHouse into better_delete_outdated_parts
2022-05-09 15:23:05 +02:00
alesapin
28e492bc17
Followup fix
2022-05-09 15:21:33 +02:00
alesapin
018ed10684
Add test
2022-05-09 15:21:21 +02:00
Yakov Olkhovskiy
a0e67be32f
Update CMakeLists.txt
2022-05-09 08:54:00 -04:00
Nikolai Kochetov
972c0c116e
Do not increase SelectedRows and SelectedBytes in merges and mutations.
2022-05-09 12:43:10 +00:00
Alexander Tokmakov
b6be194d3a
Merge pull request #36976 from ClickHouse/replicated_database_fixes
...
Fixes for Replicated database
2022-05-09 14:41:49 +03:00
alesapin
bf4ed9b7e8
Merge branch 'master' into better_delete_outdated_parts
2022-05-09 12:40:35 +02:00
Kruglov Pavel
23bd9390a6
Merge pull request #36997 from vitlibar/users-without-assigned-policies-can-view-rows
...
Users without assigned row policies can view rows
2022-05-09 12:04:50 +02:00
qieqieplus
b00a17ca38
Merge branch 'master' into array-distance-functions
2022-05-09 15:15:07 +08:00
qieqieplus
307511aab4
impl norm functions for array
2022-05-09 14:42:09 +08:00
qieqieplus
a17da05bda
use return type as matrix value type
2022-05-09 14:42:02 +08:00
Robert Schulze
1b81bb49b4
Enable clang-tidy modernize-deprecated-headers & hicpp-deprecated-headers
...
Official docs:
Some headers from C library were deprecated in C++ and are no longer
welcome in C++ codebases. Some have no effect in C++. For more details
refer to the C++ 14 Standard [depr.c.headers] section. This check
replaces C standard library headers with their C++ alternatives and
removes redundant ones.
2022-05-09 08:23:33 +02:00
Yakov Olkhovskiy
a2b1f7fe08
Update CMakeLists.txt
2022-05-09 01:15:50 -04:00
Yakov Olkhovskiy
c53ce4269f
Update CMakeLists.txt
...
define language for header only library
2022-05-09 00:51:03 -04:00
Alexey Milovidov
fec7447ab4
Update ConvertFunctionOrLikeVisitor.cpp
2022-05-09 06:16:10 +03:00
Alexey Milovidov
56abce6a75
Merge branch 'chained_or' of github.com:danlark1/ClickHouse into chained-or
2022-05-08 23:37:09 +02:00
Alexey Milovidov
6216c1827f
Merge pull request #37020 from ucasfl/remove-code
...
remove useless code
2022-05-09 00:00:07 +03:00
Robert Schulze
7d3913f350
Enable clang-tidy bugprone-assert-side-effect
...
Official docs:
Finds assert() with side effect. The condition of assert() is
evaluated only in debug builds so a condition with side effect can
cause different behavior in debug / release builds.
2022-05-08 19:15:55 +02:00
Robert Schulze
f2b1748c48
Enable clang-tidy bugprone-suspicious-semicolon
...
Official docs:
Finds most instances of stray semicolons that unexpectedly alter the
meaning of the code.
2022-05-08 19:13:37 +02:00
Robert Schulze
61cbcbf073
Enable clang-tidy readability-misleading-indentation
...
Official docs:
Correct indentation helps to understand code. Mismatch of the
syntactical structure and the indentation of the code may hide serious
problems.
2022-05-08 19:12:01 +02:00
fenglv
2cd0f2aaed
remove useless code
2022-05-08 16:50:13 +00:00
Alexey Milovidov
3fc95add7e
Merge pull request #36979 from Avogar/finalize-write-buffers
...
Finalize write buffers in case of exception
2022-05-08 18:41:20 +03:00
alesapin
aad246f833
Update StorageReplicatedMergeTree.cpp
2022-05-08 16:40:41 +02:00
Alexey Milovidov
3755466e8d
Merge pull request #34916 from nic11/pr/content-type
...
Support content_type in HTTP handler config
2022-05-08 16:36:21 +03:00
Alexey Milovidov
00680a7b65
Update Settings.h
2022-05-08 16:31:12 +03:00
Alexey Milovidov
333cbe4a3f
Merge pull request #34544 from danlark1/master
...
Inline threshold optimizations
2022-05-08 16:27:27 +03:00
kssenii
f43c09b53c
Fix incorrect assetion
2022-05-08 14:18:43 +02:00
alesapin
d4e0127b0a
Followup
2022-05-08 13:28:59 +02:00
alesapin
2f650366a6
Merge branch 'master' into better_delete_outdated_parts
2022-05-08 12:55:42 +02:00
Kseniia Sumarokova
fac59dfd97
Merge pull request #36998 from Vxider/removing-replacing-wv-transform
...
Removing ReplacingWindowColumnTransform in WindowView
2022-05-08 12:11:44 +02:00
Kseniia Sumarokova
b201d6d684
Merge pull request #36967 from Vxider/wv-fix-stuck
...
Fix stuck when drop source table in WindowView
2022-05-08 12:00:10 +02:00
alesapin
46712f1d98
Fix forgotten parts in cleanup thread
2022-05-08 00:53:55 +02:00
Alexey Milovidov
8e8faa3180
Update DataTypesDecimal.h
2022-05-08 01:15:54 +03:00
Alexey Milovidov
9b5cc2e708
Merge pull request #37002 from ClickHouse/bigo-sg-remind_for_external_option
...
Merging #34765
2022-05-08 01:11:37 +03:00
Alexey Milovidov
421469849a
Merge pull request #35272 from CurtizJ/minor-renames
...
Minor renames
2022-05-08 01:10:12 +03:00
kssenii
50d229651f
Fix exception message
2022-05-07 23:33:28 +02:00
kssenii
0e9e1dd000
Fix assert in case cache forcefully dropped
2022-05-07 23:19:44 +02:00
mergify[bot]
ac5e69d940
Merge branch 'master' into dump_ordered_sessions_map
2022-05-07 21:17:23 +00:00
Vxider
aab6b1e8b5
update code style
2022-05-07 17:33:42 +00:00
alesapin
e54e33a6df
I'm not ready for 3-way comparison
2022-05-07 15:33:34 +02:00
Vitaly Baranov
69bec2f377
Users without assigned row policies can view rows now.
2022-05-07 14:50:24 +02:00
Alexey Milovidov
f1ab4e830e
Update Field.h
2022-05-07 15:12:09 +03:00
Alexey Milovidov
c422e39c41
Update formatReadableTimeDelta.cpp
2022-05-07 15:11:48 +03:00
Alexey Milovidov
d6a5f20e6d
Update reinterpretAs.cpp
2022-05-07 15:10:16 +03:00
Alexey Milovidov
8712b4d488
Update reinterpretAs.cpp
2022-05-07 15:09:36 +03:00
Alexey Milovidov
fdbb5b75b2
Merge branch 'master' into minor-renames
2022-05-07 14:18:50 +03:00
Alexey Milovidov
2b88c0898a
Update ConvertFunctionOrLikeVisitor.cpp
2022-05-07 14:11:06 +03:00
Alexey Milovidov
d6a7841b4e
Update Settings.h
2022-05-07 14:09:32 +03:00
Alexey Milovidov
1bdc51a496
Merge branch 'remind_for_external_option' of github.com:bigo-sg/ClickHouse into bigo-sg-remind_for_external_option
2022-05-07 12:36:57 +02:00
mergify[bot]
2d1057bc87
Merge branch 'master' into fix-substring-negative-offset-length
2022-05-07 10:30:39 +00:00
Alexey Milovidov
4eac661588
Merge branch 'master' into master
2022-05-07 13:21:59 +03:00
kssenii
0db83d7002
Merge master
2022-05-07 11:52:25 +02:00
Kseniia Sumarokova
0f5f75a784
Merge pull request #36887 from kssenii/fix-current-size-count-in-cache
...
Fix current size count in cache
2022-05-07 11:45:20 +02:00
Vxider
72a634b5c6
removing-replacing-window-column-transform
2022-05-07 08:41:51 +00:00
Alexey Milovidov
d76ac4d34d
Merge pull request #36822 from ClickHouse/revert-group-array-sorted
...
Revert "Merge pull request #34055 from palegre-tiny/groupSortedArray"
2022-05-06 23:27:08 +03:00
Dmitry Novik
8d59211f01
Remove redundant ActionType
2022-05-06 18:50:21 +00:00
avogar
02bd5f6542
Finalize write buffers in case of exception
2022-05-06 17:30:18 +00:00
Alexander Tokmakov
c806869040
fix sync database replica
2022-05-06 18:37:20 +02:00
Anton Popov
a489ab682c
Merge pull request #36873 from CurtizJ/dynamic-columns-13
...
Fix insertion of complex JSONs with nested arrays [2]
2022-05-06 18:08:06 +02:00
vdimir
d712985575
Minor style changes for ConcurrentHashJoin
2022-05-06 15:17:46 +00:00
Vladimir C
bd5fab97d9
Merge pull request #36415 from bigo-sg/concurrent_join
2022-05-06 17:11:10 +02:00
Alexander Tokmakov
db66efb1a7
fix logical error on truncate table
2022-05-06 16:12:31 +02:00
Vxider
1966bb6504
fix stuck when drop source table in windowview
2022-05-06 12:34:00 +00:00
kssenii
7e9913509f
Fix build
2022-05-06 14:22:01 +02:00
Anton Popov
0caf91602f
Merge pull request #36812 from CurtizJ/hash-array-of-tuples
...
Allow to execute hash functions with arguments of type `Array(Tuple(..))`
2022-05-06 14:15:38 +02:00
Anton Popov
13e8db6299
Merge pull request #36762 from CurtizJ/dynamic-columns-12
...
Fix insertion to columns of type `Object` from multiple files
2022-05-06 14:14:32 +02:00
kssenii
35ed60f5f6
Merge master
2022-05-06 13:56:14 +02:00
kssenii
32d004017b
Merge origin
2022-05-06 13:54:51 +02:00
kssenii
c0248d4250
Merge master
2022-05-06 13:50:09 +02:00
kssenii
39da49b95f
Merge
2022-05-06 13:43:54 +02:00
kssenii
c60a3be0ce
Better
2022-05-06 13:42:52 +02:00
Kruglov Pavel
80df398bfc
Merge pull request #36883 from kssenii/add-asynchronous-metrics-for-filesystem-cache
...
Add some asynchronous metrics for fs cache
2022-05-06 13:39:55 +02:00
kssenii
fd1ab053f8
Merge master
2022-05-06 12:50:33 +02:00
kssenii
23d9230acd
Do not throw logical error for detached file segment
2022-05-06 12:48:16 +02:00
alesapin
931a5f11f1
Update src/Common/ZooKeeper/IKeeper.h
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-05-06 12:13:51 +02:00
kssenii
2275196ef0
Merge master
2022-05-06 11:21:10 +02:00
Kseniia Sumarokova
18b5f28ec4
Merge branch 'master' into fix-current-size-count-in-cache
2022-05-06 11:18:43 +02:00
Kseniia Sumarokova
83a4b94970
Merge pull request #36952 from ClickHouse/remove-nested-exception
...
Remove nested exception
2022-05-06 11:14:16 +02:00
Kseniia Sumarokova
6d302c59e8
Merge pull request #36951 from ClickHouse/remove-strange-code
...
Remove strange code
2022-05-06 11:12:12 +02:00
Alexey Milovidov
996d838ca3
Merge pull request #36817 from DevTeamBK/Clang-tidy-Fixes
...
Clang -Tidy Fixes
2022-05-06 02:01:00 +03:00
mergify[bot]
bad1603ea3
Merge branch 'master' into enable-memory-overcommit
2022-05-05 22:43:18 +00:00
Alexey Milovidov
e090ebcf7d
Merge pull request #36915 from azat/revert-client-reconnect-message
...
Remove log message on client reconnects (reverts #36587 )
2022-05-06 01:37:28 +03:00
kssenii
3aef08b887
Fix style
2022-05-06 00:25:13 +02:00
kssenii
b26098735f
Merge
2022-05-06 00:08:14 +02:00
kssenii
3a3a756d18
Fix failed checks
2022-05-06 00:07:22 +02:00
Alexey Milovidov
490bdf5249
Fix style
2022-05-05 23:46:57 +02:00
Alexey Milovidov
0b9d0a7d65
Fix style
2022-05-05 23:46:36 +02:00
Alexey Milovidov
4c6f964421
Merge pull request #36909 from ClickHouse/fixes_for_replicated_merge_tree
...
Some fixes for replicated merge tree
2022-05-06 00:44:21 +03:00
Alexey Milovidov
7841f02cf0
Remove nested exception
2022-05-05 23:05:52 +02:00
Alexey Milovidov
e73dddb8c5
Remove strange code
2022-05-05 22:59:41 +02:00
Alexey Milovidov
48c9fb472c
Merge pull request #36929 from bigo-sg/fix_still_in_cache
...
Fix issue of mergetree metadata cache
2022-05-05 23:49:31 +03:00
Dmitry Novik
b4e1dbc3c8
Remove whitespaces
2022-05-05 18:35:41 +00:00
Dmitry Novik
3925bfb151
Add comment to GroupingSetsTransform
2022-05-05 18:20:59 +00:00
Dmitry Novik
9a251e0028
Cleanup code
2022-05-05 18:13:00 +00:00
mergify[bot]
9ce436733f
Merge branch 'master' into fix-current-size-count-in-cache
2022-05-05 17:33:56 +00:00
Kseniia Sumarokova
300b8bbce6
Merge pull request #36916 from kssenii/fix-profile-events-in-cached-buffer
...
Fix profile events in fs cached buffer
2022-05-05 19:23:24 +02:00
alesapin
f4cdd86ae8
Force keeper snapshot equality on different replicas
2022-05-05 19:23:01 +02:00
Dmitry Novik
4cc26aa38b
Merge remote-tracking branch 'origin/master' into grouping-sets-fix
...
And fix execution of the query with only one grouping set
2022-05-05 17:14:52 +00:00
mergify[bot]
2a8aad42dc
Merge branch 'master' into add-asynchronous-metrics-for-filesystem-cache
2022-05-05 15:43:38 +00:00
kssenii
78d3fd505f
Merge master
2022-05-05 17:41:13 +02:00