KinderRiven
875557abc2
fix
2022-05-25 21:53:28 +08:00
KinderRiven
adbb821176
fix
2022-05-25 21:05:15 +08:00
mergify[bot]
f49552d48e
Merge branch 'master' into grouping-sets-optimization-fix
2022-05-25 13:03:54 +00:00
Maksim Kita
45da28ecae
Improve performance of geo distance functions
2022-05-25 14:22:22 +02:00
KinderRiven
2211c1ddb8
fix
2022-05-25 20:15:43 +08:00
Maksim Kita
83554d1f2d
Fixed style
2022-05-25 13:05:39 +02:00
Maksim Kita
fbec38ddb9
Fixed performance tests
2022-05-25 12:51:21 +02:00
KinderRiven
d0fcffec66
fix style
2022-05-25 17:51:03 +08:00
Maksim Kita
c372c3d6aa
Fix performance tests
2022-05-25 11:49:59 +02:00
Maksim Kita
9a9df26eec
Fixed tests
2022-05-25 11:44:37 +02:00
Maksim Kita
6c033f340b
Fixed tests
2022-05-25 11:44:37 +02:00
Maksim Kita
0e5f13e53e
MergingSortedAlgorithm single column specialization
2022-05-25 11:44:37 +02:00
KinderRiven
1ce219bae2
fix
2022-05-25 17:24:38 +08:00
Kseniia Sumarokova
b50d4549c9
Merge pull request #37356 from amosbird/partition-prune-for-s3
...
"Partition pruning" for s3
2022-05-25 11:03:07 +02:00
KinderRiven
e3f76cab55
impl improve remote fs cache
2022-05-25 16:54:28 +08:00
avogar
f782fa31c6
Merge branch 'master' of github.com:ClickHouse/ClickHouse into check-format-on-storage-creation
2022-05-25 08:42:54 +00:00
Robert Schulze
05e4fa7df1
Fix special case of trivial regexp
...
Previously, we would alsays set 1 in case of a trivial regex (which is
correct). If someone in future builds a negated operator, then this
will produce wrong results. Right now, negation of regexp (SQL: NOT
MATCH) is implemented at a higher level, so we are safe and this is more
a preventive fix.
2022-05-25 10:05:55 +02:00
Robert Schulze
01ab7b9bad
Pass strings in some places as string_view
...
The original goal was to get change
const auto & needle = String(
reinterpret_cast<const char *>(cur_needle_data),
cur_needle_length);
in Functions/MatchImpl.h into a std::string_view to save an allocation +
copy. The needle is eventually passed as search pattern into the re2
library. Re2 has an alternative constructor taking a const char * i.e. a
NULL-terminated string. Here, the needle is NULL-terminated but
1. this is only because it is passed inside a ColumnString yet this is
not always the case (e.g. fixed string columns has a dense layout w/o
NULL terminator).
2. assuming NULL termination for users != MatchImpl of the regex code is
too dangerous.
So, for now we'll stay with copying to be on the safe side. One fine day
when re2 has a ptr/size ctor, we can use std::string_view.
Just changing a few other places from std::string to std::string_view
but this will not help with performance.
2022-05-25 10:05:51 +02:00
Robert Schulze
e8c96777f6
Make OptimizedRegularExpression::analyze() private
2022-05-25 10:05:45 +02:00
Robert Schulze
040fbf3686
Tighter sanity checks in matching code
2022-05-25 10:05:06 +02:00
Robert Schulze
35bef17302
Introduce variables to hold the match result
...
--> nicer when debugging
2022-05-25 10:04:47 +02:00
Robert Schulze
b044d44fef
Refactoring: Make template instantiation easier to read
...
- introduced class MatchTraits with enums that replace bool template
parameters
- (minor: made negation the last template parameters because negation
executes last during evaluation)
2022-05-25 10:03:58 +02:00
Bharat Nallan Chakravarthy
57cfc0bd04
check for validity of h3 index
2022-05-25 06:17:15 +05:30
Alexey Milovidov
516fba27dc
Merge branch 'master' into allow-setuid-inside-clickhouse
2022-05-24 23:31:14 +02:00
Nikolai Kochetov
3d84aae0ab
Better.
2022-05-24 20:06:08 +00:00
Maksim Kita
c1777aec1e
Merge pull request #37481 from kitaisreal/partial-sorting-transform-optimization-fix
...
Column compareImpl devirtualize compare call
2022-05-24 22:05:41 +02:00
Nikolai Kochetov
333fd09dbf
Fixing build.
2022-05-24 19:29:00 +00:00
Igor Nikonov
04e2737a57
Merge pull request #37337 from ClickHouse/column_decl_null_before_default_value
...
Column declaration: [NOT] NULL right after type
+ fixed: data_type_default_nullable=true, it didn't make columns nullable
if the column declaration contains default expression w/o type
Issue #37229
2022-05-24 21:16:25 +02:00
Alexander Gololobov
2ff747785e
Merge pull request #37394 from ClickHouse/array_norm_dist_fixes
...
Do computations on the raw input data without copying to Eigen::Matrix
2022-05-24 20:59:04 +02:00
Dmitry Novik
c4dc0f7cda
Fix ORDER BY optimization in case of GROUPING SETS
2022-05-24 18:56:22 +00:00
Maksim Kita
96833b8696
ColumnImpl compareImpl added assert for compare result
2022-05-24 20:41:48 +02:00
Robert Schulze
7348a0eb28
Merge pull request #37251 from ClickHouse/non_const_like
...
Support non-constant SQL functions (NOT) (I)LIKE and MATCH
2022-05-24 20:28:31 +02:00
Robert Schulze
028f15c4fa
Review comment: Throw LOGICAL_ERROR for different sizes of haystack / needles
2022-05-24 20:19:13 +02:00
Vasily Nemkov
59b4d4a643
ALTER COMMENT is now local-only operation and immediately observable
2022-05-24 21:08:30 +03:00
Kruglov Pavel
0c3bcfa122
Merge pull request #36884 from Algunenano/http_proper_summary_and_exception
...
HTTP: Always return summary data and exception (when possible)
2022-05-24 18:33:24 +02:00
Maksim Kita
3c0c322d7c
Merge pull request #37480 from kitaisreal/dynamic-dispatch-infrastructure-improvements
...
Dynamic dispatch infrastructure style fixes
2022-05-24 18:13:53 +02:00
Vitaly Baranov
497c70d786
Merge pull request #37269 from vitlibar/rework-access-control-notifications
...
Rework AccessControl's notifications.
2022-05-24 17:47:45 +02:00
Raúl Marín
2f37ad7fb8
Improve comment
2022-05-24 17:11:15 +02:00
Raúl Marín
a86aa43baa
Merge remote-tracking branch 'blessed/master' into floating_seconds_2
2022-05-24 17:10:45 +02:00
Maksim Kita
6fb51e8bd3
Function hasAll added dynamic dispatch
2022-05-24 17:06:06 +02:00
Vladimir C
0eaf22b370
Merge pull request #37453 from vdimir/join_auto_lc_nullable_bug
2022-05-24 16:28:23 +02:00
Vladimir C
bec4ae87c9
Merge pull request #37472 from amosbird/joinpushdown
2022-05-24 16:08:26 +02:00
Maksim Kita
86180614e7
Fixed tests
2022-05-24 15:33:03 +02:00
Anton Popov
e96af9fd75
better binary serialization of ColumnObject
2022-05-24 13:16:11 +00:00
alesapin
9a19309e69
Slightly better fix
2022-05-24 14:46:29 +02:00
Maksim Kita
bdc537ead3
Column compareImpl devirtualize compare call
2022-05-24 14:28:33 +02:00
Alexander Tokmakov
229d35408b
Merge pull request #37398 from ClickHouse/fixes_for_transactions
...
Fixes for transactions
2022-05-24 15:28:01 +03:00
alesapin
3ca7a8831b
Revert "fix deadlock during fetching part"
...
This reverts commit 6ae8a26fae
.
2022-05-24 14:26:06 +02:00
Maksim Kita
e6e4b2826d
Dynamic dispatch infrastructure style fixes
2022-05-24 14:25:29 +02:00
alesapin
a5ba6bca95
Merge branch 'master' into metahys-fix_fetching_part_deadlock
2022-05-24 14:07:47 +02:00
Kruglov Pavel
6c9a524f6b
Merge pull request #37192 from Avogar/formats-with-names
...
Improve performance and memory usage for select of subset of columns for some formats
2022-05-24 13:28:14 +02:00
Kruglov Pavel
9c87424cd7
Merge pull request #37458 from Avogar/fix-parquet-nested
...
Fix named tuples output in ORC/Arrow/Parquet formats
2022-05-24 13:24:05 +02:00
alesapin
ea19f1f18c
Merge pull request #37440 from ClickHouse/fix-keeper-force-recovery-one-node
...
Fix `clickhouse-keeper` force recovery for single node cluster
2022-05-24 13:03:56 +02:00
Amos Bird
c25ef92139
Fix tests
2022-05-24 18:57:55 +08:00
Amos Bird
093d315756
partition pruning for s3
2022-05-24 18:57:55 +08:00
alesapin
164f8227f9
Fix memory sanitizer
2022-05-24 12:38:11 +02:00
Maksim Kita
712b000f2a
Merge pull request #37443 from kitaisreal/functions-normalize-utf8-fix
...
Functions normalize utf8 fix
2022-05-24 11:11:15 +02:00
李扬
e33cfc889c
Fix bug of datetime64 parsed from string '1969-12-31 23:59:59.123' ( #37039 )
2022-05-24 10:47:17 +02:00
Alexander Gololobov
7d0ed7e51a
Remove eigen library
2022-05-24 10:24:50 +02:00
Alexander Gololobov
caad1435d5
Optimized the case when one the argumnets is Const
2022-05-24 10:24:50 +02:00
Alexander Gololobov
65fbda436a
Do computations on the raw input data without copying to Eigen::Matrix
2022-05-24 10:24:50 +02:00
Bharat Nallan Chakravarthy
6e49b76cfd
try suppress h3 asan errors
2022-05-24 10:22:46 +05:30
Amos Bird
76ddb39d02
refactor format
2022-05-24 12:09:00 +08:00
Amos Bird
983e52cd3f
Aggresive filter pushdown for join
2022-05-24 12:08:42 +08:00
taiyang-li
c7e68d664d
fix building
2022-05-24 10:58:45 +08:00
Igor Nikonov
838a6c6f61
Column declaration: [NOT] NULL right after type
...
+ fixed: data_type_default_nullable=true, it didn't make columns nullable
if the column declaration contains default expression w/o type
Issue #37229
2022-05-23 22:03:45 +00:00
Maksim Kita
168814ed78
Merge pull request #37442 from kitaisreal/compressed-write-buffer-added-comment
...
CompressedWriteBuffer added comment
2022-05-23 23:44:33 +02:00
mergify[bot]
51ff49a0ee
Merge branch 'master' into i_object_storage
2022-05-23 20:29:49 +00:00
Nikolai Kochetov
fd97a9d885
Move some resources
2022-05-23 19:47:32 +00:00
Alexander Tokmakov
fa21121f77
fix
2022-05-23 21:17:52 +02:00
Alexander Tokmakov
a262492cc1
slightly better
2022-05-23 20:53:33 +02:00
avogar
3651ef93fe
Fix performance test
2022-05-23 17:42:13 +00:00
Alexander Tokmakov
6bc68c0cbc
Merge branch 'master' into fixes_for_transactions
2022-05-23 18:49:21 +02:00
Kruglov Pavel
39b37a3240
Merge pull request #37455 from ClickHouse/Avogar-patch-5
...
Fix failed thread stateless tests
2022-05-23 18:38:38 +02:00
Antonio Andelic
e91e7fdba7
Fix style
2022-05-23 15:33:29 +00:00
avogar
034c7122be
Mark JSONColumns supports subset of columns
2022-05-23 15:26:01 +00:00
Vladimir C
14a820c2a9
Merge pull request #37336 from vdimir/fix_clash_const_aggegate_join
2022-05-23 17:09:30 +02:00
Maksim Kita
996241493f
Merge pull request #37447 from kitaisreal/binary-function-vectorized-remove-macro
...
BinaryFunctionVectorized remove macro
2022-05-23 16:50:12 +02:00
Dmitry Novik
e9187ec4b7
Overcommit: update defaults, exception message and add ProfileEvent
2022-05-23 14:35:09 +00:00
alesapin
1e1e6d4fa0
Review fixes
2022-05-23 16:24:06 +02:00
avogar
ce4adb447f
Fix named tuples output in ORC/Arrow/Parquet formats
2022-05-23 14:21:08 +00:00
alesapin
2064934e59
Update src/Disks/ObjectStorages/DiskObjectStorage.cpp
...
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2022-05-23 16:02:29 +02:00
alesapin
1a78ea75bb
Update src/Disks/ObjectStorages/DiskObjectStorageMetadataHelper.h
...
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2022-05-23 16:01:51 +02:00
alesapin
1b17086266
Update src/Disks/ObjectStorages/DiskObjectStorageMetadataHelper.h
...
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2022-05-23 16:01:44 +02:00
Nikolai Kochetov
9756b759c6
Move some resources
2022-05-23 13:46:57 +00:00
Kruglov Pavel
a0aa841909
Fix failed thread stateless tests
2022-05-23 15:15:45 +02:00
vdimir
dabb150a95
Fix cast lowcard of nullable in JoinSwitcher
2022-05-23 13:05:59 +00:00
avogar
37b66c8a9e
Check format name on storage creation
2022-05-23 12:48:48 +00:00
alesapin
cef3d96cfe
Update src/Disks/ObjectStorages/S3/S3ObjectStorage.h
...
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2022-05-23 14:46:25 +02:00
alesapin
e76597e5d3
Update src/Core/Settings.h
...
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2022-05-23 14:46:21 +02:00
Maksim Kita
fe21b4ca9e
Fixed style check
2022-05-23 14:41:07 +02:00
metahys
6ae8a26fae
fix deadlock during fetching part
2022-05-23 20:08:04 +08:00
Maksim Kita
008de5c779
Merge pull request #37438 from kitaisreal/function-binary-representation-style-fixes
...
FunctionBinaryRepresentation style fixes
2022-05-23 13:54:15 +02:00
alesapin
216184dfd3
Rename one more file
2022-05-23 13:20:32 +02:00
Maksim Kita
e550843d56
BinaryFunctionVectorized remove macro
2022-05-23 12:45:16 +02:00
Maksim Kita
585b86446e
Added hierarchical_index_bytes_allocated column in system.dictionaries
2022-05-23 12:42:00 +02:00
Maksim Kita
f76e3801de
Fixed tests
2022-05-23 12:42:00 +02:00
Maksim Kita
7e4c950bd9
Fixed style check
2022-05-23 12:42:00 +02:00
Maksim Kita
be9c3d9bd4
Fixed build
2022-05-23 12:42:00 +02:00
Maksim Kita
25d6bd1f34
Dictionaries optimize hierarchical index structure
2022-05-23 12:42:00 +02:00
Maksim Kita
1142e05683
Dictionaries allow to specify bidirectional for hierarhical attribute
2022-05-23 12:42:00 +02:00
Maksim Kita
100afa8bcf
Dictionary getDescendants performance improvement
2022-05-23 12:42:00 +02:00
Sergei Trifonov
b6bf283f4d
Merge pull request #37243 from Vxider/mv-fix-dependency
...
Fix adding dependency when MaterializedView is dropped
2022-05-23 12:33:54 +02:00
Antonio Andelic
87d445295f
Merge pull request #37342 from azat/projections-optimize_aggregation_in_order-fix
...
Fix projections with GROUP/ORDER BY in query and optimize_aggregation_in_order
2022-05-23 12:29:16 +02:00
Maksim Kita
78782de887
Functions normalizeUTF8 logical error fix
2022-05-23 12:19:14 +02:00
Kruglov Pavel
4067d646df
Delete redundant file
2022-05-23 12:14:55 +02:00
Kruglov Pavel
f539fb835d
Merge branch 'master' into formats-with-names
2022-05-23 12:14:20 +02:00
Kruglov Pavel
ce48e8e102
Merge pull request #36975 from Avogar/json-columns-formats
...
Add columnar JSON formats
2022-05-23 12:11:28 +02:00
Kruglov Pavel
754e675ec3
Merge pull request #37253 from Avogar/fix-defaults
...
Fix inserting defaults for missing values in columnar formats
2022-05-23 12:10:14 +02:00
Maksim Kita
3a22d8ef2c
CompressedWriteBuffer added comment
2022-05-23 12:09:44 +02:00
Kruglov Pavel
9bc74439c1
Merge pull request #37327 from Avogar/arrow-strings
...
Allow to use String type instead of Binary in Arrow/Parquet/ORC formats
2022-05-23 12:05:33 +02:00
Antonio Andelic
c268296fc6
Fix single node force recovery and add tests
2022-05-23 09:53:46 +00:00
Kseniia Sumarokova
ca3feddf73
Merge pull request #37426 from Vxider/wv-simplify
...
Remove unused code in WindowView
2022-05-23 11:43:51 +02:00
taiyang-li
c120b19802
fix building
2022-05-23 17:42:20 +08:00
taiyang-li
f13dcad58c
Merge branch 'master' into fix_settings
2022-05-23 17:36:45 +08:00
Maksim Kita
98bb34f2f2
FunctionBinaryRepresentation style fixes
2022-05-23 10:59:33 +02:00
Robert Schulze
e25ca139cd
Implement SQL functions (NOT) (I)LIKE() + MATCH() with non-const needles
...
With this commit, SQL functions LIKE and MATCH and their variants can
work with non-const needle arguments. E.g.
create table tab
(id UInt32, haystack String, needle String)
engine = MergeTree()
order by id;
insert into tab values
(1, 'Hello', '%ell%')
(2, 'World', '%orl%')
select id, haystack, needle, like(haystack, needle)
from tab;
For that, methods vectorVector() and vectorFixedVector() were added to
MatchImpl. The existing code for const needles has an optimization where
the compiled regexp is cached. The new code expects a different needle
per row and consequently does not cache the regexp.
2022-05-23 09:41:28 +02:00
Alexey Milovidov
c541d30a38
Fix error
2022-05-23 02:48:05 +02:00
Alexey Milovidov
cc985d9b92
Fix error
2022-05-23 02:30:33 +02:00
Alexey Milovidov
698e5e5352
Merge pull request #37415 from Joeywzr/gen_uuid
...
Generate multiple columns with UUID
2022-05-23 00:29:42 +03:00
alesapin
0c61579859
More comments
2022-05-22 23:15:42 +02:00
Alexey Milovidov
d32d45e12e
Merge pull request #37400 from ndchikin/window_frame_fix
...
WindowTransform::moveRowNumber fix
2022-05-22 20:35:00 +03:00
Robert Schulze
4829ae8380
Replace overly clever const argument logic by something simpler
...
The previous logic was smart but too inflexible to support the next
commits. Replace by a simple pushdown logic where string search
implementations return their const arguments instead of having the
common class figure these out based on properties/traits.
2022-05-22 17:50:38 +02:00
Robert Schulze
0299cc87e4
Improve naming consistency of string search code
...
Just renamings, nothing major ...
2022-05-22 17:50:38 +02:00
alesapin
06c3dd69c0
Move directories
2022-05-22 13:51:48 +02:00
Vxider
fcd317a642
update windowview create syntax
2022-05-22 10:18:34 +00:00
alesapin
eb69d963e2
Missed change
2022-05-22 12:16:50 +02:00
alesapin
c8d92b87c8
Merge branch 'master' into i_object_storage
2022-05-22 12:16:10 +02:00
Vxider
5f84f06d6d
simplify windowview
2022-05-22 10:13:16 +00:00
Robert Schulze
19d53c14fa
Merge pull request #37382 from ClickHouse/wc++98-compat-extra-semi
...
Enable -Wc++98-compat-extra-semi
2022-05-22 09:40:45 +02:00
Memo
15a76d012f
add NUMBER_OF_ARGUMENTS_DOESNT_MATCH defination
2022-05-22 13:38:47 +08:00
alesapin
b3bc0a18a0
fix test
2022-05-22 00:13:01 +02:00
Alexey Milovidov
4bfbb0b7ba
Merge pull request #37388 from CurtizJ/explicit-bool-operator
...
Mark all `operator bool()` as explicit
2022-05-22 00:18:19 +03:00
Alexey Milovidov
790f442362
Merge pull request #37407 from ClickHouse/certificates-mem-leak
...
Fix possible memory leaks in system.certificates implementation
2022-05-22 00:15:30 +03:00
Yakov Olkhovskiy
d878f193d8
Merge pull request #37013 from mnutt/hashid
...
Add hashid support
2022-05-21 17:14:54 -04:00
Kseniia Sumarokova
ec2a1c8ba5
Merge pull request #37188 from Vxider/wv-alter
...
ALTER TABLE MODIFY QUERY support for WindowView
2022-05-21 22:59:32 +02:00
Alexey Milovidov
6322d064b8
Merge pull request #37384 from Avogar/short-circuit-process
...
Try to improve short circuit functions processing
2022-05-21 23:43:56 +03:00
Alexey Milovidov
d1678c9662
Update ExpressionActions.cpp
2022-05-21 23:43:26 +03:00
Yakov Olkhovskiy
ce1df15e1c
Merge pull request #37377 from ClickHouse/sha256_hash-with-salt
...
Allow SALT in CREATE USER user1 IDENTIFIED WITH sha256_hash
2022-05-21 14:36:22 -04:00
Vasily Nemkov
c12f826d22
Implemented changing comment to a ReplicatedMergeTree table
2022-05-21 20:08:30 +03:00
Memo
942af133e5
init
2022-05-21 23:54:12 +08:00
Maksim Kita
0d69f35b6a
Fixed style check
2022-05-21 14:54:45 +02:00
Vitaly Baranov
9ec3b35cf2
Use AccessExpireCache instead of ExpireCache.
2022-05-21 10:15:44 +02:00
Vitaly Baranov
58f4a86ec7
Rework notifications used in access management.
2022-05-21 10:15:39 +02:00
Alexander Tokmakov
1b453f517d
fix
2022-05-21 02:32:35 +02:00
Yakov Olkhovskiy
4c13b52b6a
scope guard resources
2022-05-20 19:59:17 -04:00
Yakov Olkhovskiy
6e3f741a25
allow SALT only for SHA256_HASH
2022-05-20 17:21:04 -04:00
ndchikin
4859108feb
WindowTransform::moveRowNumber fix
2022-05-20 20:49:10 +00:00
Maksim Kita
42439aeb3c
Improve performance of number comparison functions
2022-05-20 22:42:48 +02:00
Alexander Tokmakov
44f2d4529a
better waiting, add fault injection
2022-05-20 22:10:01 +02:00
Nikolai Kochetov
56feef01e7
Move some resources
2022-05-20 19:49:31 +00:00
Alexey Milovidov
c77b078c2c
Merge pull request #37367 from ClickHouse/grouping-sets-with-rollup-cube
...
Disable WITH ROLLUP/CUBE for GROUPING SETS
2022-05-20 22:34:56 +03:00
alesapin
5b08edefd1
Fix I don't understand
2022-05-20 20:07:15 +02:00
Kruglov Pavel
704c78063f
Fix special build
2022-05-20 19:54:02 +02:00
avogar
3bad21cea7
Try fix tests
2022-05-20 17:48:24 +00:00
alesapin
d414d85654
Fix hdfs bug
2022-05-20 17:43:48 +02:00
Alexander Tokmakov
1027798517
handle connection loss on commit
2022-05-20 17:35:29 +02:00
Anton Popov
cb0e6c2718
mark all operators bool() as explicit
2022-05-20 15:29:54 +00:00
avogar
a4cf07708c
Fix comments
2022-05-20 14:57:27 +00:00
avogar
566d1b15fd
Merge branch 'master' of github.com:ClickHouse/ClickHouse into formats-with-names
2022-05-20 13:54:52 +00:00
avogar
78069765bb
Try to remove code duplication
2022-05-20 13:20:52 +00:00
avogar
6e2df9ecc4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-defaults
2022-05-20 13:15:34 +00:00
alesapin
dc4bc2908e
Fix azure
2022-05-20 15:14:01 +02:00
Robert Schulze
0f6715bd91
Follow-up to PR #37300 : semicolon warnings
...
In PR #37300 , Alexej asked why we the compiler does not warn about
unnecessary semicolons, e.g.
f()
{
}; // <-- here
The answer is surprising: In C++98, above syntax was disallowed but by
most compilers accepted it regardless. C++>11 introduced "empty
declarations" which made the syntax legal.
The previous behavior can be restored using flag
-Wc++98-compat-extra-semi. This finds many useless semicolons which were
removed in this change. Unfortunately, there are also false positives
which would require #pragma-s and HAS_* logic (--> check_flags.cmake) to
suppress. In the end, -Wc++98-compat-extra-semi comes with extra effort
for little benefit. Therefore, this change only fixes some semicolons
but does not enable the flag.
2022-05-20 15:06:34 +02:00
avogar
22b072bc7f
Make better
2022-05-20 13:04:43 +00:00
avogar
3884819bd1
Fix
2022-05-20 12:48:58 +00:00
Michael Nutt
23dbf1b257
Merge branch 'master' into hashid
2022-05-20 08:42:01 -04:00
Yakov Olkhovskiy
1fdcb9b727
test added
2022-05-20 08:41:27 -04:00
Yakov Olkhovskiy
962b72ebf0
unused argument removed
2022-05-20 08:10:29 -04:00
avogar
44726122bb
Join JSON registration
2022-05-20 12:09:51 +00:00
avogar
d2304f5d15
Make better
2022-05-20 12:07:29 +00:00
vdimir
339980469f
Revert "Swap order of converting_join_columns and before_join steps"
...
This reverts commit 2995b69f4a
.
2022-05-20 11:31:59 +00:00
vdimir
23a85d3406
Perserve constness in ExpressionActionsChain::JoinStep
2022-05-20 11:31:58 +00:00
avogar
a6a430c5ee
Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-columns-formats
2022-05-20 11:08:30 +00:00
Vxider
956459eba2
Merged with master
2022-05-20 10:50:21 +00:00
avogar
5d19150906
Try to improve short circuit functions processing
2022-05-20 10:47:28 +00:00
mergify[bot]
1ac4199e78
Merge branch 'master' into arrow-strings
2022-05-20 10:43:33 +00:00
Kruglov Pavel
4dd447b232
Merge pull request #37332 from Avogar/schema-inference-with-globs
...
Apply input_format_max_rows_to_read_for_schema_inference for all files in globs in total
2022-05-20 12:42:32 +02:00
Alexander Tokmakov
12bbb7de87
fix race on TID allocation
2022-05-20 12:41:44 +02:00
alesapin
6ff221a822
Merge with master
2022-05-20 12:07:34 +02:00
alesapin
654b27e307
Merge branch 'master' into i_object_storage
2022-05-20 11:56:13 +02:00
alesapin
e8ea0d4381
Merge pull request #37036 from ClickHouse/keeper-preprocess-operations
...
Add support for preprocessing ZooKeeper operations in `clickhouse-keeper`
2022-05-20 11:34:56 +02:00
Kseniia Sumarokova
ee295038fa
Merge pull request #37214 from Vxider/wv-engine
...
Change ENGINE behavior in WindowView
2022-05-20 11:14:19 +02:00
Kseniia Sumarokova
5b179bda3d
Merge pull request #37338 from xiedeyantu/optimize-cache
...
optimize file segment PARTIALLY_DOWNLOADED get read buffer
2022-05-20 11:11:56 +02:00
Vladimir Chebotarev
cdbe6672cb
Added one more symbol and proper comment.
2022-05-20 11:35:18 +03:00
Robert Schulze
b475fbc9a7
Merge pull request #37300 from ClickHouse/cmake-cleanup-pt3
...
Various cmake cleanups
2022-05-20 10:02:36 +02:00
Sergei Trifonov
2450ab9079
Merge pull request #36686 from azat/disk-least-used
...
Implement least_used load balancing algorithm for disks inside volume
2022-05-20 09:16:07 +02:00
Yakov Olkhovskiy
a8b2f12111
allow SALT in sha256_hash
2022-05-19 21:55:41 -04:00
Alexander Tokmakov
c2762fd8b3
Merge pull request #37319 from lingo-xp/bug-fix
...
[bug-fix] root_dir is not set in copyThroughBuffers
2022-05-19 22:17:10 +03:00
alesapin
e278bfa81e
Fix fast test build
2022-05-19 21:03:49 +02:00
alesapin
92c15ec97c
Get rid of IDiskRemote
2022-05-19 20:07:15 +02:00
Dmitry Novik
b3ccf96c81
Merge remote-tracking branch 'origin/master' into grouping-function
2022-05-19 17:58:33 +00:00
alesapin
c87c3fcfd9
Move Azure blob storage
2022-05-19 19:25:45 +02:00
Dmitry Novik
d4c66f4a48
Code cleanup & fix GROUPING() with TOTALS
2022-05-19 16:36:51 +00:00
Dmitry Novik
86d48e1c99
Disable WITH ROLLUP/CUBE for GROUPING SETS
2022-05-19 14:10:04 +00:00
Alexander Tokmakov
a53cfa9fca
Merge pull request #37355 from ClickHouse/revert-37266-fix-mutations-with-object
...
Revert "Fix mutations in tables with columns of type `Object`"
2022-05-19 16:27:22 +03:00
Vxider
4290cbc818
update create windowview syntax
2022-05-19 13:05:05 +00:00
Vxider
f6cc73235b
Merged with master
2022-05-19 13:03:45 +00:00
Vxider
b2c7ba7cbe
update
2022-05-19 12:54:41 +00:00
Vxider
24f1a1fde7
Merge branch 'wv-alter' of https://github.com/Vxider/ClickHouse into wv-populate
2022-05-19 12:49:37 +00:00
vxider
797edb0ae1
Update src/Storages/WindowView/StorageWindowView.cpp
...
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2022-05-19 20:49:02 +08:00
Vxider
1cc347364f
Merged with master
2022-05-19 12:45:46 +00:00
Kseniia Sumarokova
d4ad138a04
Merge pull request #37103 from bigo-sg/hive_partition_key_read
...
optimization for reading hive file when all columns to read are partition keys
2022-05-19 14:24:00 +02:00
xiedeyantu
6338368a1c
optimize file segment getCacheReadBuffer
2022-05-19 20:14:52 +08:00
Kseniia Sumarokova
b0c7cf910a
Merge pull request #37224 from Vxider/wv-fix-dependency
...
Fix addDependency in WindowView
2022-05-19 13:51:11 +02:00
Kseniia Sumarokova
24d0899cb7
Merge pull request #36945 from Vxider/wv-populate
...
POPULATE support for WindowView
2022-05-19 13:47:52 +02:00
Kseniia Sumarokova
af2d9154e1
Merge pull request #37279 from bigo-sg/hive_local_cache_multi_disk
...
Support multi disks for caching hive files
2022-05-19 13:25:03 +02:00
Kseniia Sumarokova
791cc5ced1
Merge pull request #37290 from azat/query-kind-client
...
Add ability to pass QueryKind via clickhouse-client/local (useful for debugging)
2022-05-19 13:22:42 +02:00
Azat Khuzhin
a350991284
Disks: More accurate free space calculation for least_used
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 14:10:11 +03:00
Azat Khuzhin
757894b10f
Disks: Introduce IReservation::getUnreservedSpace()
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 14:10:11 +03:00
Azat Khuzhin
1d98913f90
Disks: Reduce number of statfs() calls for least_used disk load balancing policy
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 14:10:11 +03:00
Azat Khuzhin
ba26b3cf4c
Implement lead_used load balancing algorithm for disks inside volume
...
v2: rebase on top removed raid1
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 14:10:11 +03:00
Azat Khuzhin
4bc849b9f0
Disks: Remove unused src/Disks/SingleDiskVolume.cpp
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 14:10:11 +03:00
Azat Khuzhin
9d734bd677
Disks: Remove mentions about RAID1
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 14:10:11 +03:00
Kruglov Pavel
468954cc87
Remove redundant include
2022-05-19 12:52:33 +02:00
mergify[bot]
efdb49a222
Merge branch 'master' into arrow-strings
2022-05-19 10:48:41 +00:00
mergify[bot]
426a4d7170
Merge branch 'master' into keeper-preprocess-operations
2022-05-19 10:42:14 +00:00
Alexander Tokmakov
f787dc7097
Revert "Fix mutations in tables with columns of type Object
"
2022-05-19 13:24:48 +03:00
avogar
f69c3175af
Fix comments
2022-05-19 10:13:44 +00:00
Azat Khuzhin
e32b695775
Fix projections with GROUP/ORDER BY in query and optimize_aggregation_in_order
...
With projections, GROUP BY/ORDER BY in query, optimize_aggregation_in_order,
GROUP BY's InputOrderInfo was used incorrectly for ORDER BY.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 13:11:22 +03:00
Maksim Kita
495e04d2c3
Merge pull request #37242 from jinjunzh/insert_improve_jsp
...
Improve CompressedWriteBuffer to avoid unnecessary memcpy
2022-05-19 10:59:35 +02:00
Mikhail f. Shiryaev
32769caf04
Merge pull request #37346 from ClickHouse/22.6-prepare
...
Update version after release
2022-05-19 10:54:53 +02:00
Mikhail f. Shiryaev
d0fe794fe5
Update version to 22.6.1.1
2022-05-19 10:06:09 +02:00
Vladimir Chebotarev
1ad19051e5
Fixed error with symbols in key name in S3.
2022-05-19 11:01:05 +03:00
Vitaly Baranov
16c8e93dd0
Merge pull request #36941 from nvartolomei/nv/show-grants-current-roles
...
Allow a user to inspect grants from granted roles
2022-05-19 09:20:52 +02:00
avogar
cb8646fbb4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-array-map-nothing
2022-05-19 07:18:48 +00:00
Yakov Olkhovskiy
cd2ae72aac
Merge pull request #37273 from ClickHouse/client-dns-list
...
Multiple client connection attempts if hostname resolves to multiple addresses
2022-05-19 01:50:39 -04:00
Azat Khuzhin
29a8a00656
Add ability to pass QueryKind via clickhouse-client/local (useful for debugging)
...
v2: fix LocalConnection::sendQuery() for Suggest (comes w/o client_info) [1]
[1]: https://s3.amazonaws.com/clickhouse-test-reports/37290/7c85175963226ff78eec542efafcff4e650aa0f0/stateless_tests__ubsan__actions_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 07:19:27 +03:00
Azat Khuzhin
54a6aaef62
Log query processing stage in executeQuery()
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 07:19:26 +03:00
mergify[bot]
7ff8098272
Merge branch 'master' into wv-alter
2022-05-19 01:51:50 +00:00
Michael Nutt
e0c14dfc01
fix includes
2022-05-18 20:16:43 -04:00
Bharat Nallan Chakravarthy
00d3bbc2e0
review fixes
2022-05-18 17:04:15 -07:00
Michael Nutt
c87638d2ba
put hashid behind allow_experimental_hash_functions setting
2022-05-18 19:06:33 -04:00
Michael Nutt
11a17997b3
better const column checking
2022-05-18 18:09:45 -04:00
Azat Khuzhin
dea1706d4e
Fix GROUP BY AggregateFunction ( #37093 )
...
* Fix GROUP BY AggregateFunction
finalizeChunk() was unconditionally converting AggregateFunction to the
underlying type, however this should be done only if the aggregate was
applied.
So pass names of aggregates as an argument to the finalizeChunk()
Fuzzer report [1]:
Logical error: 'Bad cast from type DB::ColumnArray to DB::ColumnAggregateFunction'. Received signal 6 Received signal Aborted (6)
For the following query:
SELECT
arraySort(groupArrayArray(grp_simple)),
grp_aggreg,
arraySort(groupArrayArray(grp_simple)),
b,
arraySort(groupArrayArray(grp_simple)) AS grs
FROM data_02294
GROUP BY
a,
grp_aggreg,
b
SETTINGS optimize_aggregation_in_order = 1
[1]: https://s3.amazonaws.com/clickhouse-test-reports/37050/323ae98202d80fc4b311be1e7308ef2ac39e6063/fuzzer_astfuzzerdebug,actions//fuzzer.log
v2: fix conflicts in src/Interpreters/InterpreterSelectQuery.cpp
v3: Fix header for GROUP BY AggregateFunction WITH TOTALS
v4: Add sanity check into finalizeBlock()
v5: Use typeid_cast<&> to get more sensible error in case of bad cast (as suggested by @nickitat)
v6: Fix positions passed to finalizeChunk()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Core/ColumnNumbers.h: remove unused <string>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
* Optimize finalizeChunk()/finalizeBlock()
v2: s/ByPosition/Mask/ s/by_position/mask/
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-18 23:37:43 +02:00
Michael Nutt
da99b1b250
simplify hashing
2022-05-18 16:57:30 -04:00
Michael Nutt
d6d1c22008
better argument type checking
2022-05-18 16:57:21 -04:00
Vitaly Baranov
7c8956ca8d
Merge pull request #36879 from tonickkozlov/tonickkozlov/lazy-marks-loading
...
Lazy marks loading
2022-05-18 22:56:46 +02:00
Robert Schulze
1d89738c6a
Remove performance workaround for old GCC
...
GCC support these days is experimental. GCCs main use is to keep the
code portable but I don't think it's used for performance tests. Hence
removing a performance workaround added in the GCC 7 days (we are now
using 11, soon: 12).
2022-05-18 22:44:37 +02:00
vdimir
2995b69f4a
Swap order of converting_join_columns and before_join steps
2022-05-18 19:31:14 +00:00
Michael Nutt
e453132db8
remove hashid define guard
2022-05-18 15:26:54 -04:00
avogar
cd6a29897e
Apply input_format_max_rows_to_read_for_schema_inference for all files in globs in total
2022-05-18 17:56:36 +00:00
Vitaly Baranov
9ccddc44c6
Merge pull request #35767 from azat/ON_CLUSTER-grant
...
RFC: Add separate CLUSTER grant
2022-05-18 19:19:54 +02:00
Maksim Kita
df0cb06209
Merge pull request #37289 from kitaisreal/unary-arithmetic-functions-improve-performance-dynamic-dispatch
...
Improve performance of unary arithmetic functions
2022-05-18 19:16:30 +02:00
Kruglov Pavel
d81616ff65
Remove unnecessary include
2022-05-18 17:44:39 +02:00
Dmitry Novik
6356112a76
Refactor GROUPING function
2022-05-18 15:23:31 +00:00
alesapin
41f7424ba6
Improve deletion logic
2022-05-18 17:13:17 +02:00
avogar
a0369fb9a6
Allow to use String type instead of Binary in Arrow/Parquet/ORC formats
2022-05-18 14:51:21 +00:00
Alexander Tokmakov
7ab0aa7882
Update src/Disks/DiskLocal.cpp
2022-05-18 17:46:28 +03:00
Alexander Tokmakov
6098cf7cfe
Update src/Disks/DiskLocal.cpp
2022-05-18 17:46:23 +03:00
Vxider
04f1b20229
init inner window names
2022-05-18 14:34:40 +00:00
mergify[bot]
d5f870eac8
Merge branch 'master' into client-dns-list
2022-05-18 12:40:02 +00:00
avogar
3c85e8b455
Fix tests
2022-05-18 12:36:13 +00:00
Anton Popov
715d5b0173
Merge pull request #37270 from Avogar/fix-bool-eof
...
Fix Nullable(String) to Nullable(Bool/IPv4/IPv6) conversion
2022-05-18 14:08:52 +02:00
Vladimir C
7d88b81622
Merge pull request #37193 from azat/fix-limit-by-in-dist-queries
...
Fix "Cannot create column of type Set" for distributed queries with LIMIT BY
2022-05-18 13:28:19 +02:00
Anton Popov
4def736ecb
Merge pull request #37275 from ernado/fix/open-telemetry-span-log-fix-alias
...
Fix attribute.values alias for OTEL table
2022-05-18 13:18:07 +02:00
Vxider
4b5eda4de9
fix cleanup
2022-05-18 11:14:08 +00:00
Nikolai Kochetov
64ecb3941c
Merge pull request #37259 from ClickHouse/clangtidies2
...
Activate more clangtidies
2022-05-18 13:01:40 +02:00
Kruglov Pavel
3c33db5d8b
Merge pull request #36981 from Avogar/fix-external-tables-in-hedged-connections
...
Fix sending external tables data in HedgedConnections
2022-05-18 12:50:11 +02:00
Kruglov Pavel
134821eff8
Fix build
2022-05-18 12:44:20 +02:00
Nicolae Vartolomei
32b9959dec
Allow a user to inspect grants from granted roles
2022-05-18 10:44:18 +00:00
Vladimir C
1779fb08ed
Merge pull request #36271 from yuuch/support_collation_in_create_query
2022-05-18 12:43:49 +02:00
Vladimir C
f979a03fbe
Merge pull request #37256 from vdimir/issue_37217
2022-05-18 12:42:47 +02:00
alesapin
2bdc718923
Merge branch 'i_object_storage' of github.com:ClickHouse/ClickHouse into i_object_storage
2022-05-18 12:37:00 +02:00
alesapin
e99c90118e
Merge branch 'master' into i_object_storage
2022-05-18 12:36:22 +02:00
avogar
b33ad449a9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-defaults
2022-05-18 10:26:38 +00:00
Kruglov Pavel
aaace46da2
Merge pull request #37266 from CurtizJ/fix-mutations-with-object
...
Fix mutations in tables with columns of type `Object`
2022-05-18 12:19:55 +02:00
Kruglov Pavel
492de1076c
Merge pull request #37232 from zzsmdfj/fix-mysql-datatype-binary0
...
fix MySQL database engine to compatible with binary(0) dataType
2022-05-18 12:15:07 +02:00
lingo-xp
46fa56c25c
[bug-fix] wrong default value in copyThroughBuffers
2022-05-18 18:02:15 +08:00
Dmitry Novik
5f376995ea
Merge pull request #37299 from ClickHouse/fix-overcommit-deadlock
...
Fix possible deadlock in OvercommitTracker during logging
2022-05-18 12:01:32 +02:00
avogar
12010a81b7
Make better
2022-05-18 09:25:26 +00:00
Kseniia Sumarokova
f9b08ae5dd
Merge pull request #37281 from bigo-sg/hive_max_partition_query_check
...
Check max partitions to read for each hive table
2022-05-18 11:11:11 +02:00
Robert Schulze
6b2a72d451
Merge pull request #37228 from mrk-andreev/fix-rm-groupid-from-producer
...
Remove group.id from StorageKafka::createWriteBuffer
2022-05-18 11:04:40 +02:00
Robert Schulze
6ce8947417
GLOB with CONFIGURE_DEPENDS
...
Globbing generally misses to pick up files which were added/deleted
after CMake's configure. This is a nuissance but can be alleviated using
CONFIGURE_DEPENDS (available since CMake 3.12) which adds a check for
new/deleted files before each compile and - if necessary - restarts the
configuration. On my system, the check takes < 0.1 sec.
(Side note: CONFIGURE_DEPENDS is not guaranteed to work accross all
generators, but at least it works for Ninja which everyone @CH seems to
use.)
2022-05-18 10:34:10 +02:00
Vxider
f102497929
fix parser with join query
2022-05-18 08:05:06 +00:00
Kseniia Sumarokova
38c87ab9cd
Merge pull request #36493 from kssenii/fix-encrypted-buffer
...
Fix offset update ReadBufferFromEncryptedFile
2022-05-18 09:46:17 +02:00
Bharat Nallan Chakravarthy
c476b8dd92
Merge remote-tracking branch 'upstream/master' into ncb/h3-unidirectionaledges-funcs
2022-05-17 20:10:03 -07:00
mergify[bot]
37d6da7506
Merge branch 'master' into wv-engine
2022-05-18 01:56:56 +00:00
mergify[bot]
4900d2249f
Merge branch 'master' into wv-populate
2022-05-18 01:56:52 +00:00
Dmitry Novik
a82239984c
Remove include
2022-05-18 01:44:51 +00:00
Dmitry Novik
20c537addd
Make noncopyable
2022-05-18 01:42:13 +00:00
mergify[bot]
c33ca1f392
Merge branch 'master' into system-certificates
2022-05-17 19:52:28 +00:00
mergify[bot]
05305811f8
Merge branch 'master' into fix-bool-eof
2022-05-17 19:28:11 +00:00
Robert Schulze
0c55ac76d2
A few clangtidy updates
...
Enable:
- bugprone-lambda-function-name: "Checks for attempts to get the name of
a function from within a lambda expression. The name of a lambda is
always something like operator(), which is almost never what was
intended."
- bugprone-unhandled-self-assignment: "Finds user-defined copy
assignment operators which do not protect the code against
self-assignment either by checking self-assignment explicitly or using
the copy-and-swap or the copy-and-move method.""
- hicpp-invalid-access-moved: "Warns if an object is used after it has
been moved."
- hicpp-use-noexcept: "This check replaces deprecated dynamic exception
specifications with the appropriate noexcept specification (introduced
in C++11)"
- hicpp-use-override: "Adds override (introduced in C++11) to overridden
virtual functions and removes virtual from those functions as it is
not required."
- performance-type-promotion-in-math-fn: "Finds calls to C math library
functions (from math.h or, in C++, cmath) with implicit float to
double promotions."
Split up:
- cppcoreguidelines-*. Some of them may be useful (haven't checked in
detail), therefore allow to toggle them individually.
Disable:
- linuxkernel-*. Obvious.
2022-05-17 20:56:57 +02:00
mergify[bot]
36b4ed19c5
Merge branch 'master' into unary-arithmetic-functions-improve-performance-dynamic-dispatch
2022-05-17 18:08:24 +00:00
Dmitry Novik
a97ba9741e
Fix possible deadlock in OvercommitTracker during logging
2022-05-17 18:07:52 +00:00
Alexander Gololobov
38f291c70d
Merge pull request #37030 from bharatnc/ncb/h3-missing-traversal-funcs
...
add remaining h3 traversal funcs
2022-05-17 18:19:56 +02:00
Maksim Kita
31a29d8315
Fixed dynamic dispatch macro
2022-05-17 16:59:11 +02:00
Vxider
037db32e24
set alter query internal
2022-05-17 13:50:55 +00:00
alesapin
5872781ac6
Merge with master
2022-05-17 15:50:30 +02:00
alesapin
824176f61d
Merge branch 'master' into i_object_storage
2022-05-17 15:49:15 +02:00
alesapin
f9cd820854
Fix style
2022-05-17 15:39:46 +02:00
alesapin
1c90f326c2
Remove DiskHDFS
2022-05-17 15:25:05 +02:00
avogar
46f4f8a457
Fix use of unitialized memory
2022-05-17 12:59:46 +00:00
kssenii
b53ca506e6
Add unit test
2022-05-17 14:55:42 +02:00
Alexander Gololobov
8cc41521ad
tidy build fix
2022-05-17 14:35:12 +02:00
Yakov Olkhovskiy
c8a4be4c64
refactoring
2022-05-17 08:31:31 -04:00
Maksim Kita
beb34e7062
Improve performance of unary arithmetic functions
2022-05-17 13:53:20 +02:00
lgbo-ustc
e4bc7e9979
use splitInto instead of Poco::Tokenizer
2022-05-17 19:31:59 +08:00
lgbo-ustc
1497e08301
update exception msg
2022-05-17 19:27:43 +08:00
Vitaly Baranov
f34a5cdee2
Merge branch 'master' into ON_CLUSTER-grant
2022-05-17 13:21:20 +02:00
Kruglov Pavel
515ae986e5
Fix special build
2022-05-17 12:15:41 +02:00
Antonio Andelic
639ceb84b1
Add comment and fix typo
2022-05-17 10:15:12 +00:00
alesapin
f958203b6c
Update src/Coordination/KeeperStorage.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-05-17 11:55:54 +02:00
Kseniia Sumarokova
8cb71d0172
Merge pull request #33332 from Michicosun/MeiliSearch
...
MeiliSearch
2022-05-17 11:47:56 +02:00
alesapin
e75aa445a6
Update src/Coordination/KeeperStorage.h
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-05-17 11:36:12 +02:00
alesapin
4d4634b12d
Merge pull request #37164 from kssenii/ficx-async-reads-assertions
...
fix async reads from remote fs internal setting not being always turned on
2022-05-17 11:29:14 +02:00
taiyang-li
8228bbc36f
disable normarlize functions when query is secondary
2022-05-17 16:22:31 +08:00
taiyang-li
9f3dadf17c
Merge branch 'master' into fix_settings
2022-05-17 16:19:29 +08:00
lgbo-ustc
0b3468a150
TOO_MANY_PARTITIONS
2022-05-17 15:50:03 +08:00
lgbo-ustc
f4f4a2d85b
reuse setting max_partitions_to_read
2022-05-17 15:49:14 +08:00
Alexander Gololobov
670a8bac29
Fixed required array size calculation and reduced number of reallocations
2022-05-17 09:45:49 +02:00
lgbo-ustc
4d64678963
Merge remote-tracking branch 'ck/master' into hive_max_partition_query_check
2022-05-17 15:42:10 +08:00
lgbo-ustc
a161a21992
add max partitions check for each hive table
2022-05-17 15:37:32 +08:00
Antonio Andelic
573e42d0dd
Address PR comments
2022-05-17 06:45:51 +00:00
Vxider
90bac2f004
add shutdown check
2022-05-17 06:20:08 +00:00
lgbo-ustc
bc81302bf4
fixed code-style
2022-05-17 12:10:55 +08:00
lgbo-ustc
3a32a22f39
support using multi disks for caching hive files
2022-05-17 11:55:30 +08:00
Vxider
f74c934a61
Merged with master
2022-05-17 02:53:59 +00:00
mergify[bot]
0d0fc23170
Merge branch 'master' into wv-engine
2022-05-17 02:24:18 +00:00
Vxider
3986e82b19
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into wv-populate
2022-05-17 02:18:17 +00:00
lgbo-ustc
d8ad9ad2a6
update codes
2022-05-17 09:27:03 +08:00
Aleksandr Razumov
60693afb56
Fix attribute.values alias for OTEL table
2022-05-17 01:28:36 +03:00
Yakov Olkhovskiy
fc26505111
multiple client connection attempts if hostname resolves to multiple addresses
2022-05-16 17:47:07 -04:00
Kseniia Sumarokova
94683786dc
Merge branch 'master' into MeiliSearch
2022-05-16 22:42:09 +02:00
Kseniia Sumarokova
f073efc025
Merge pull request #37225 from Vxider/wv-fix-cleanup
...
Fix WindowView cleanup
2022-05-16 22:39:58 +02:00
Maksim Kita
20380fa87b
Merge pull request #37257 from kitaisreal/dynamic-dispatch-infrastructure-for-class-members
...
Dynamic dispatch infrastructure for class member functions
2022-05-16 22:15:10 +02:00
alesapin
466a02ba8f
Follow HDFS
2022-05-16 21:31:40 +02:00
Vitaly Baranov
72bff5242a
Merge pull request #37168 from vitlibar/backup-improvements-5
...
Backups Improvements 5
2022-05-16 21:25:54 +02:00
Alexander Gololobov
e2e3536a80
Fixed handling of gridPathCellsSize() errors
2022-05-16 21:23:45 +02:00
avogar
415aabd4d0
Fix Nullable(String) to Nullable(Bool/IPv4/IPv6) conversion
2022-05-16 19:15:18 +00:00
Robert Schulze
43945cea1b
Fixing some warnings
2022-05-16 20:59:27 +02:00
Maksim Kita
fd28c19c1c
Update CompressedWriteBuffer.cpp
2022-05-16 20:44:22 +02:00
jinjunzh
f334cd371f
fixed code style issue
2022-05-16 17:21:20 -04:00
jinjunzh
2ae9e22248
Improve CompressedWriteBuffer to avoid unnecessary memcpy
2022-05-16 16:22:13 -04:00
Yakov Olkhovskiy
4f6c354c3f
refactoring
2022-05-16 14:38:47 -04:00
Anton Popov
b6c5ab4fcf
fix mutations in tables with columns of type Object
2022-05-16 18:26:53 +00:00
alesapin
ceb7249916
Fix stupid buge
2022-05-16 19:57:48 +02:00
Dmitry Novik
e5b395e054
Support ROLLUP and CUBE in GROUPING function
2022-05-16 17:33:38 +00:00
Yakov Olkhovskiy
863c52f0f4
refactoring, test added
2022-05-16 13:31:28 -04:00
Kruglov Pavel
8572879c37
Remove redundant code
2022-05-16 17:58:20 +02:00
alesapin
ce6d5f7dcc
Merge branch 'master' into i_object_storage
2022-05-16 17:42:22 +02:00
Dmitry Novik
dd1e7b55b8
Merge pull request #37050 from azat/fix-optimize_aggregation_in_order-prefix-Array
...
Fix optimize_aggregation_in_order with prefix GROUP BY and *Array aggregate functions
2022-05-16 17:17:56 +02:00
Maksim Kita
032b5d3fc3
Dynamic dispatch infrastructure for class member functions
2022-05-16 17:05:16 +02:00
avogar
ce834b1086
Remove code duplication
2022-05-16 14:41:01 +00:00
vdimir
76852ae49c
Pass need_filter, has_null_map to joinRightColumns
2022-05-16 14:27:27 +00:00
avogar
2d4b4b9008
Fix inserting defaults for missing values in columnar formats
2022-05-16 14:19:44 +00:00
Vxider
8f271159bf
check null pointer
2022-05-16 13:59:55 +00:00
Kseniia Sumarokova
ff37d7d5c3
Update ErrorCodes.cpp
2022-05-16 15:30:07 +02:00
Kruglov Pavel
5e34f48a18
Merge pull request #37021 from excitoon-favorites/fixtdigest
...
Fixed problem with infs in `quantileTDigest`
2022-05-16 15:21:59 +02:00