Vladimir C
887ab23487
Merge pull request #49319 from azat/dict/fix-hashed-load_factor
2023-05-03 12:28:40 +02:00
Vladimir C
65ab64a77f
Merge pull request #49418 from ClickHouse/vdimir/keeper_fault_inject_sequential_cleanup
2023-05-03 12:27:10 +02:00
Kseniia Sumarokova
59401ce93c
Merge pull request #49411 from ClickHouse/kssenii-patch-7
...
Update FileSegment.cpp
2023-05-03 11:50:13 +02:00
Kseniia Sumarokova
f5b6aa0fc5
Merge pull request #49415 from kssenii/fix-assertions
...
Fix some assertions failing in stress test
2023-05-03 11:45:33 +02:00
Alexey Milovidov
ee9fae6aa2
Merge pull request #49363 from tsolodov/master
...
Disallow configuring compression CODECs for alias columns
2023-05-03 03:37:48 +03:00
Kseniia Sumarokova
d4a921bd7c
Merge branch 'master' into fix-assertions
2023-05-03 00:10:32 +02:00
Nikolay Degterinsky
4c038ef538
Merge branch 'master' into bcrypt
2023-05-02 21:52:21 +02:00
kssenii
ac9ef077ad
Fix
2023-05-02 21:41:17 +02:00
Alexander Gololobov
2e20f2a14d
Do not skip building set even when reading from remote
2023-05-02 21:31:56 +02:00
Nikolai Kochetov
6beff3bd44
Merge pull request #48603 from ilejn/sequence_state_fix
...
sequence state fix
2023-05-02 21:25:27 +02:00
Dmitry Novik
bab112a1bc
Merge branch 'master' into revert-47476-revert_46622
2023-05-02 20:54:25 +02:00
Dmitry Novik
0c521eb10b
Another atempt to fix test
2023-05-02 18:51:36 +00:00
Alexey Milovidov
eb27c58bc0
Whitespaces
2023-05-02 19:27:23 +02:00
Alexander Tokmakov
495325f664
fix some bad error messages, suppress others
2023-05-02 17:55:42 +02:00
Dmitry Novik
3d76c92f30
Throw exception for non-parametric functions in new analyzer
2023-05-02 15:40:19 +00:00
vdimir
33cf697028
Correctly cleanup sequential node in ZooKeeperWithFaultInjection
2023-05-02 15:01:59 +00:00
Nikolai Kochetov
75597efeb6
Respect PK for aggregate projection.
2023-05-02 14:58:44 +00:00
Nikolay Degterinsky
2aa8619534
Merge pull request #48851 from mauidude/date-trunc-return-date-time
...
date_trunc function to always return DateTime type
2023-05-02 16:43:20 +02:00
Nikolay Degterinsky
46c86dce93
Fix bcrypt enum value
2023-05-02 14:36:48 +00:00
kssenii
22487de34a
Fix
2023-05-02 16:09:33 +02:00
Nikolay Degterinsky
f6704205ff
Update WithFileName.cpp
2023-05-02 16:05:18 +02:00
Robert Schulze
cf884d29a1
Merge remote-tracking branch 'origin/master' into rs/48385
2023-05-02 13:43:36 +00:00
Kseniia Sumarokova
bccc4d3b7e
Update FileSegment.cpp
2023-05-02 15:43:03 +02:00
Robert Schulze
ee49f8f0fa
Fix clang-tidy build
2023-05-02 13:41:38 +00:00
alesapin
a08225d9ea
Fix typo
2023-05-02 15:34:57 +02:00
SmitaRKulkarni
997210c782
Merge pull request #48515 from ClickHouse/Clear_marks_cache_for_outdated_parts
...
MergeTreeMarksLoader holds DataPart instead of DataPartStorage
2023-05-02 15:11:14 +02:00
Nikolay Degterinsky
f87c418fc8
Merge pull request #49360 from evillique/alias-restricted-keywords
...
Allow restricted keywords if alias is quoted
2023-05-02 15:02:05 +02:00
Konstantin Morozov
046949a6d3
fix names
2023-05-02 14:59:41 +02:00
Konstantin Morozov
e4394debd4
forgot about query_plan
2023-05-02 14:59:41 +02:00
Konstantin Morozov
397a1700c7
apply comments
2023-05-02 14:59:41 +02:00
kst-morozov
f0619910d4
move pipe compute into initializePipeline
2023-05-02 14:59:41 +02:00
alesapin
24a744db4c
Merge branch 'master' into fix_zero_copy_not_atomic
2023-05-02 14:57:55 +02:00
alesapin
619b6f2071
Fix typo
2023-05-02 14:57:52 +02:00
Nikita Mikhaylov
aa4c5fe958
Enhancements for background merges ( #49313 )
2023-05-02 13:43:59 +02:00
Antonio Andelic
f695040a19
Merge pull request #48897 from ClickHouse/keeper-check-not-exists
...
Add `CheckNotExists` request to Keeper
2023-05-02 13:14:22 +02:00
Kseniia Sumarokova
3ec53152e5
Update Metadata.cpp
2023-05-02 12:02:54 +02:00
kssenii
4fc1f644bc
Simplify
2023-05-02 11:57:02 +02:00
Kseniia Sumarokova
1590ba3326
Merge pull request #49376 from ClickHouse/kssenii-patch-7
...
Remove wrong assertion in cache
2023-05-02 11:47:11 +02:00
Vladimir C
96d109c3db
Merge pull request #49137 from ClickHouse/vdimir/mutliple_storage_join
2023-05-02 11:40:16 +02:00
alesapin
96d2482bff
Merge pull request #49365 from ClickHouse/ttl_on_insert
...
Fix bug in removal of existing part directory
2023-05-02 11:32:01 +02:00
Alexey Milovidov
1267fbca1c
Merge pull request #48998 from ongkong/fix-join-clause-create-column
...
Fix incorrect createColumn call on join clause
2023-05-02 02:23:07 +03:00
Alexey Milovidov
6f2ccd88b3
Merge pull request #49241 from evillique/decompress-filename
...
Add file name to exception raised during decompression
2023-05-02 02:16:49 +03:00
Timur Solodovnikov
e58a63b451
addressing PR comments
2023-05-01 16:13:45 -07:00
Alexey Milovidov
51847fbf10
Merge pull request #49321 from nickitat/rand_exp
...
Presumably better buffer size for reading from fs
2023-05-02 02:06:25 +03:00
Timur Solodovnikov
c7295db43e
nit
2023-05-01 13:59:38 -07:00
Robert Schulze
3d467febe0
Fix build
2023-05-01 20:58:10 +00:00
Timur Solodovnikov
6566ed7863
removed loop & added tests
2023-05-01 13:51:46 -07:00
Kseniia Sumarokova
044cfe5a22
Remove wrong assertion
2023-05-01 22:32:31 +02:00
kssenii
fbdccbd25f
Merge remote-tracking branch 'origin/better-local-object-storage' into better-local-object-storage
2023-05-01 22:25:28 +02:00
kssenii
f325ba1794
Better
2023-05-01 21:10:37 +02:00
alesapin
0f6a4b973e
Merge branch 'master' into ttl_on_insert
2023-05-01 21:02:04 +02:00
alesapin
a3f9a8b87b
Fix bug in removal of existing part directory
2023-05-01 20:32:01 +02:00
Nikita Mikhaylov
503f099afe
Merge branch 'master' into master
2023-05-01 18:50:44 +02:00
Timur Solodovnikov
fc5b0783fd
fix for linter
2023-05-01 09:40:56 -07:00
Timur Solodovnikov
e49842ff6c
block setting codec for alias columns
2023-05-01 09:25:08 -07:00
Nikolay Degterinsky
76a591fa5e
Allow restricted keywords if alias is quoted
2023-05-01 15:16:12 +00:00
alesapin
66847386df
Merge pull request #49146 from ClickHouse/don_t_write_version_file_on_start
...
Don't add metadata_version file if it doesn't exist
2023-05-01 17:04:47 +02:00
Anton Popov
36d53e0d6c
Merge branch 'master' into add-async-insert-mt-setting
2023-05-01 16:13:23 +02:00
Nikita Taranov
266c9d403a
review fixes
2023-05-01 13:09:55 +00:00
Nikolay Degterinsky
1be9371fb5
Better
2023-05-01 13:01:23 +00:00
Duc Canh Le
abe0cfd10f
fix wrong query result when using nullable primary key ( #49172 )
2023-05-01 12:51:22 +02:00
Azat Khuzhin
2fd1a73812
Fix element_count for HASHED/SPARSE_HASHED with multiple attributes
...
Previosly element_count was multplied by the number of attributes.
Fixes : #5440
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-01 12:44:41 +02:00
Azat Khuzhin
93201f21d9
Fix load_factor for HASHED/SPARSE_HASHED dictionaries with SHARDS
...
Previously, bucket_count was set only for the one shard, and hence
load_factor was > 1.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-01 12:44:41 +02:00
ongkong
1bffb28adc
add comment, change check location
2023-05-01 12:14:44 +02:00
ongkong
35a736f811
use sanitizeBlock
2023-05-01 12:14:44 +02:00
Nikolay Degterinsky
f64ef88197
Merge remote-tracking branch 'upstream/master' into bcrypt
2023-04-30 21:39:16 +00:00
alesapin
f03e75971a
Remove on detach
2023-04-30 19:06:31 +02:00
alesapin
a098298c0f
Remove file for empty parts
2023-04-30 19:06:23 +02:00
alesapin
a95a5f6fb6
Fix two bugs and add test
2023-04-30 16:33:23 +02:00
alesapin
ec2c860a39
Merge branch 'fix_zero_copy_not_atomic' of github.com:ClickHouse/ClickHouse into fix_zero_copy_not_atomic
2023-04-30 15:02:27 +02:00
Smita Kulkarni
408db4a25b
Updated to store IMergeTreeDataPartInfoForReader instead of DataPart in MergeTreeMarksLoader
2023-04-30 10:56:43 +02:00
Nikolay Degterinsky
ea8c8ef559
Fix test
2023-04-29 21:53:47 +00:00
alesapin
daa0b095ed
Merge branch 'master' into fix_zero_copy_not_atomic
2023-04-29 21:26:26 +02:00
Alexey Milovidov
15d0379e2c
Merge pull request #48792 from ClickHouse/fix_some_tests3
...
Fix some tests
2023-04-29 22:04:11 +03:00
Nikita Taranov
f1ff2c0135
Fix oss-fuzz build errors ( #49236 )
2023-04-29 18:44:50 +02:00
Nikita Taranov
0be9c0751e
Merge branch 'master' into rand_exp
2023-04-29 15:22:08 +02:00
Kseniia Sumarokova
7d867d7632
Merge pull request #49225 from MikhailBurdukov/mongo_dict_tls
...
Connection options for MongoDB dictionaries
2023-04-29 11:37:45 +02:00
Nikita Taranov
af558e282c
impl
2023-04-28 20:48:37 +00:00
Alexey Milovidov
5bd4fc9e90
Merge pull request #48492 from azat/s3-multipart-strict-size
...
Add ability to use strict parts size for S3 (compatibility with R2)
2023-04-28 23:34:45 +03:00
Kseniia Sumarokova
d4aa96e262
Merge branch 'master' into better-local-object-storage
2023-04-28 21:05:05 +02:00
Kseniia Sumarokova
47b77acb34
Merge pull request #49309 from ClickHouse/kssenii-patch-7
...
Fix stress test
2023-04-28 21:02:54 +02:00
Robert Schulze
7609832606
Unpoison stack frame ptrs from libunwind for msan
...
Turned out that in msan builds, stack frame pointers explicitly returned
by unw_backtrace() in Common/StackTrace.cpp were unpoisened, but stack
frame pointers returned from the same function under the
STD_EXCEPTION_HAS_STACK_TRACE define in std::exception (see (*)) were
not. I tried unpoisoning directly in libcxx. Since this didn't work,
this PR unpoisons where get_stack_trace_frames() is called.
I don't know why this issue never occurred in CI but it fixes #48385 for
me (where msan complains about reads of uninitialized data when query
cache squashes and compresses chunks produced from SELECT last_error_trace
FROM system.errors).
Fixes : #48385
(*) https://github.com/ClickHouse/llvm-project/pull/7/files#diff-8c81d74ef72967be2fa27a31275000aa18532a583490f9673c62d7b981a5b39c
2023-04-28 17:43:12 +00:00
Alexey Milovidov
cd171bef7d
Merge pull request #45999 from sichenzhao/cgroup_v2
...
Updates AsyncMetrics cgroup-memory to support cgroupv2
2023-04-28 20:39:53 +03:00
Mike Kot
2d20658885
Merge branch 'master' into feature/show-secrets-option
2023-04-28 20:19:35 +03:00
Shane Andrade
a60ee304b3
Merge branch 'master' into date-trunc-return-date-time
2023-04-28 09:16:40 -07:00
Nikolai Kochetov
8465b6cdf0
Merge pull request #49139 from ClickHouse/remove-upgradable-mutex
...
Use `SharedMutex` instead of `UpgradableMutex`
2023-04-28 17:40:08 +02:00
alesapin
70ee02a3eb
Add node holder
2023-04-28 17:39:32 +02:00
Nikolay Degterinsky
54c8f63a33
Fixes
2023-04-28 15:12:06 +00:00
Kseniia Sumarokova
a04025623c
Update FileCache.cpp
2023-04-28 16:47:15 +02:00
Kseniia Sumarokova
b2aa2aa244
Fix
2023-04-28 16:45:00 +02:00
Alexey Milovidov
911d4e9977
Merge branch 'master' into fix_some_tests3
2023-04-28 17:23:46 +03:00
Alexander Tokmakov
691fdbf6a6
Update StorageReplicatedMergeTree.cpp ( #49302 )
2023-04-28 17:21:03 +03:00
Dmitry Novik
0520342cd5
Merge pull request #49116 from ClickHouse/fix-analyzer-tests
...
Fix tests with enabled analyzer
2023-04-28 16:07:25 +02:00
Mike Kot
f1d0ed367d
separate name for format setting
2023-04-28 13:39:38 +00:00
Mike Kot
7bffa89e96
add all 3 settings
2023-04-28 13:22:36 +00:00
Alexey Milovidov
c86d3daee5
Update AsynchronousMetrics.cpp
2023-04-28 16:21:37 +03:00
Alexey Milovidov
6dcfdbfaf2
Merge branch 'master' into clusters_is_active_column
2023-04-28 16:16:25 +03:00
Alexey Milovidov
85d78a6265
Merge pull request #49286 from ClickHouse/added-documentation-for-kolmogorov-smirnov-test-2
...
Added an alias `asymptotic` for `asymp` computational method for `kolmogorovSmirnovTest`.
2023-04-28 16:15:24 +03:00
Anton Popov
bbdfb9dcd2
Merge pull request #48300 from aiven-sal/aiven-sal/case2
...
Allow NULLs in CASE and transform
2023-04-28 14:58:47 +02:00
alesapin
ef49603432
Merge branch 'master' into fix_zero_copy_not_atomic
2023-04-28 14:42:30 +02:00