Commit Graph

23855 Commits

Author SHA1 Message Date
Vitaly Baranov
fd1d24f624 Add settings "throw_if_database_exists" and "throw_if_table_exists". 2022-03-20 20:02:15 +01:00
Vitaly Baranov
6849f51c3b Add setting "structure_only." 2022-03-20 20:02:15 +01:00
Vitaly Baranov
7f89b98308 Rework BackupSettings and RestoreSettings a little, pass StorageRestoreSettings to storages. 2022-03-20 20:02:15 +01:00
Vitaly Baranov
258a472001 Shorter names: rename IRestoreFromBackupTask -> IRestoreTask. 2022-03-20 20:02:15 +01:00
Vitaly Baranov
e8fc9cf476 Move renameInCreateQuery() to a better place. 2022-03-20 20:02:12 +01:00
Vitaly Baranov
54d554f55d Simplify elements of ASTBackupQuery. 2022-03-20 20:01:54 +01:00
Vitaly Baranov
5a883c6b5a Fixed checking access rights while producing backup, add IStorage::hasHollowBackup(). 2022-03-20 20:01:54 +01:00
Vitaly Baranov
c160494f43 Make BACKUP more consistent with RESTORE. 2022-03-20 20:01:52 +01:00
Vitaly Baranov
7a63feb3f7 Make restore tasks explicit. 2022-03-20 20:01:31 +01:00
Vitaly Baranov
9fb50422ce
Merge pull request #35345 from vitlibar/new-row-policies
[WIP] New row policies
2022-03-20 20:00:25 +01:00
Alexey Milovidov
9b05801e0f
Merge pull request #35284 from CurtizJ/fix-mutations-sparse-columns
Fix mutations in tables with enabled sparse columns
2022-03-20 21:55:59 +03:00
Vitaly Baranov
afe6a1003a Add new row policy kind: simple 2022-03-20 17:34:59 +01:00
alesapin
2484a63d00
Merge pull request #35431 from ClickHouse/rename_list_option
Rename some variables in keeper
2022-03-20 15:25:04 +01:00
alesapin
8aab8b491f
Merge pull request #35434 from ClickHouse/fix_s3_trash_logs
Remove some useless code from S3Common
2022-03-20 15:13:41 +01:00
alesapin
c244ee7cbb
Merge pull request #35430 from ClickHouse/don_t_spam_in_logs
Don't spam logs in zero copy replication
2022-03-19 23:31:45 +01:00
alesapin
5902304fdb Remove some useless code from S3Common 2022-03-19 23:28:20 +01:00
Anton Popov
ed67ba14b5
Merge pull request #35409 from CurtizJ/dynamic-columns-3
Fix race in data type `Object`
2022-03-19 22:18:50 +01:00
alesapin
d0bafe93d6 Fix name 2022-03-19 21:02:11 +01:00
alesapin
ac3c607ed4 Merge branch 'master' into rename_list_option 2022-03-19 20:16:57 +01:00
alesapin
1bd5736e34 Fix build one more time 2022-03-19 20:00:08 +01:00
alesapin
9e24677a30 Fix build 2022-03-19 18:09:01 +01:00
alesapin
97e84e6dc2 fix build 2022-03-19 17:47:35 +01:00
alesapin
f2c5e2d3a0 Don't spam logs in zero copy replication 2022-03-19 17:31:33 +01:00
Robert Schulze
7617053c58
Revert changes in HashTable.h 2022-03-19 15:44:21 +01:00
Kseniia Sumarokova
a918e68d9a
Merge pull request #35355 from kssenii/add-hosts-filter
Add more checks with remoteHostsFilter
2022-03-19 09:41:23 +01:00
Anton Popov
d26ba35c2d fix race in Object type and improve performance of inserts 2022-03-19 00:26:39 +00:00
Maksim Kita
9a4686adac
Merge pull request #35414 from kitaisreal/functions-array-first-last-or-null
Added functions arrayFirstOrNull, arrayLastOrNull
2022-03-19 02:03:11 +03:00
Nikita Taranov
7d61fa5f05 impl 2022-03-18 22:58:35 +00:00
Anton Popov
18c32fbdb5 Merge remote-tracking branch 'upstream/master' into dynamic-columns-3 2022-03-18 21:16:21 +00:00
Anton Popov
021f6b8c21
Merge pull request #35388 from CurtizJ/dynamic-columns-2
Slightly better performance of inserts to `Object` type
2022-03-18 22:15:14 +01:00
Maksim Kita
5c66030b46
Merge pull request #35234 from zzsmdfj/issue/#35128_add_mysql_error__detail
to #35128_add_mysql_error__detail
2022-03-18 23:41:35 +03:00
Maksim Kita
ab2496ca4e Fix style check 2022-03-18 21:39:30 +01:00
avogar
58f2aca120 Fix tests 2022-03-18 19:04:16 +00:00
Maksim Kita
b7b69156e3 Added functions arrayFirstOrNull, arrayLastOrNull 2022-03-18 19:52:02 +01:00
Anton Popov
79bb493383 fix race in data type Object 2022-03-18 14:52:07 +00:00
Kseniia Sumarokova
c7f6f858f0
Merge pull request #35403 from kssenii/postgres-support-uuid
Support uuid for postgres engines
2022-03-18 15:44:49 +01:00
mergify[bot]
d2509dadc5
Merge branch 'master' into issue/#35128_add_mysql_error__detail 2022-03-18 13:42:25 +00:00
Maksim Kita
6cb2eedccd
Merge pull request #34733 from Algunenano/asof_ftw
Improve ASOF join performance
2022-03-18 16:29:19 +03:00
avogar
cffa2096de Fix working with unneeded columns in Arrow/Parquet/ORC formats 2022-03-18 13:07:54 +00:00
Kseniia Sumarokova
4a464d18be
Update CassandraDictionarySource.cpp 2022-03-18 14:04:14 +01:00
Kruglov Pavel
aa3c05e9d4
Merge pull request #35152 from rschu1ze/protobuf-batch-write
ProtobufList
2022-03-18 13:24:34 +01:00
kssenii
1b06a2033e Support uuid 2022-03-18 12:24:50 +01:00
Raúl Marín
fe42895745 Address clang-tidy warnings 2022-03-18 11:15:12 +01:00
Raúl Marín
3191032c99 Merge remote-tracking branch 'blessed/master' into asof_ftw 2022-03-18 11:04:00 +01:00
Amos Bird
4d85c2fc8b
Use castColumnAccurateOrNull 2022-03-18 17:47:04 +08:00
Amos Bird
10996b1434
Fix mixed constant type during partition pruning 2022-03-18 17:47:03 +08:00
Amos Bird
14963f1776
client nit fix 2022-03-18 17:47:03 +08:00
Kseniia Sumarokova
5f0fdd64fe
Update src/Dictionaries/CassandraDictionarySource.cpp
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-03-18 10:41:39 +01:00
Kseniia Sumarokova
f91ab863fd
Merge pull request #35378 from kssenii/fix-deadlock
Fix possible deadlock in cache
2022-03-18 10:40:58 +01:00
lgbo-ustc
e78cfe3b26 update codes 2022-03-18 15:07:52 +08:00
zzsmdfj
e5540fe4c4 to #35128_add_mysql_error_detail 2022-03-18 09:49:33 +08:00
Maksim Kita
2e22164cd7
Merge pull request #35360 from ClickHouse/merging-min-sample-size
Merging #34354
2022-03-18 02:28:39 +03:00
Anton Popov
b0316c1a7a better performance of inserts to Object type 2022-03-17 22:25:44 +00:00
Robert Schulze
df73c75456
Replace more uses of std::enable_if for SFINAE by concepts
- enable_if is usually regarded as fragile and unreadable
- C++20 concepts are much easier to read and produce more expressive error messages

- this is follow-up to PR #35347 but this time most of the remaining and
  more complex usages of enable_if in the codebase were replaced.
2022-03-17 20:44:55 +01:00
Maksim Kita
8f01a6bbde Function proportionsZTest fix style check 2022-03-17 18:17:30 +00:00
Raúl Marín
aeacd42e08 ASOF: Add big integer types support 2022-03-17 19:08:33 +01:00
kssenii
2157e8820f Fix 2022-03-17 18:30:32 +01:00
Raúl Marín
e22fe541b2 Improvements based on PR comments 2022-03-17 17:02:13 +01:00
Raúl Marín
e2cec4e65b Merge remote-tracking branch 'blessed/master' into asof_ftw 2022-03-17 16:33:29 +01:00
Maksim Kita
7efb9d38e1 Function proporationsZTest formatting fix 2022-03-17 15:32:15 +00:00
Maksim Kita
cca121f0da Fixed minSampleSize functions 2022-03-17 15:30:59 +00:00
Maksim Kita
9bec85b6fe
Merge pull request #35358 from kitaisreal/function-h3-get-res-0-indexes-crash-fix
Function h3GetRes0Indexes crash fix
2022-03-17 16:29:33 +01:00
Anton Popov
11ab24acb1
Merge pull request #35356 from CurtizJ/fix-clang-tidy
Fix clang-tidy
2022-03-17 16:17:23 +01:00
Vitaly Baranov
98e48d7b54 SHOW CREATE ROW POLICY now always shows AS permissive/restrictive if there is TO section. 2022-03-17 15:28:53 +01:00
Vitaly Baranov
3e950d79b3 Add new setting rbac_version. 2022-03-17 15:28:51 +01:00
Vitaly Baranov
470582e262 Change type of RowPolicyKind: bool -> enum. 2022-03-17 15:28:05 +01:00
mergify[bot]
28734562bb
Merge branch 'master' into issue/#34890_fix_input_format_null_as_default_bug 2022-03-17 13:24:34 +00:00
taiyang-li
36f5c0eec6 improve check access in table functions 2022-03-17 21:14:57 +08:00
Maksim Kita
3f45755822
Merge pull request #34354 from achimbab/minSampleSize
Implement functions for minimum-sample-size-calculators
2022-03-17 12:47:53 +01:00
Maksim Kita
1bf3ff67b2 Function h3GetRes0Indexes crash fix 2022-03-17 11:45:25 +00:00
Nikolai Kochetov
ee9c2ec735
Merge pull request #34780 from azat/mt-delayed-part-flush
Do not delay final part writing by default (fixes possible Memory limit exceeded during INSERT)
2022-03-17 12:30:51 +01:00
Anton Popov
fe2dc85788 fix clang-tidy 2022-03-17 11:16:32 +00:00
mergify[bot]
5295dd0ef2
Merge branch 'master' into stress-test 2022-03-17 11:10:37 +00:00
Maksim Kita
9e88f3b4b9
Merge pull request #34568 from bharatnc/ncb/h3-misc-funcs-3
add remaining h3 miscellaneous functions
2022-03-17 11:55:58 +01:00
alesapin
bf5b3a856d Rename some variables in keeper 2022-03-17 11:55:15 +01:00
kssenii
a2cd165d38 Add remote host filter 2022-03-17 11:48:42 +01:00
alesapin
6ab309b25d
Merge pull request #35320 from zhangyuli1/remove_wchs_from_default_4lw
remove wchc from four_letter_word_white_list
2022-03-17 11:44:30 +01:00
Robert Schulze
6e1d7a31bc
Fix build + typo 2022-03-17 11:41:20 +01:00
alesapin
92ab33f560
Merge pull request #35348 from ClickHouse/fix_yet_another_zero_copy_bug
Fix race in zero copy replication
2022-03-17 11:34:38 +01:00
alesapin
bb251938dc
Merge pull request #35344 from ClickHouse/changelog-22.3
Changelog 22.3
2022-03-17 11:25:36 +01:00
alesapin
457fa0d1ba
Merge pull request #23932 from CurtizJ/dynamic-columns
Support of dynamic subcolumns (JSON data type)
2022-03-17 10:45:46 +01:00
Maksim Kita
4d8c2b2009
Merge pull request #35347 from rschu1ze/enable-if-to-concepts
Replace a few uses of enable_if for SFINAE by concepts
2022-03-17 10:34:08 +01:00
Maksim Kita
f837f609f3
Merge pull request #35240 from kitaisreal/cast-to-ip-address-refactoring
Standardize behaviour of CAST into IPv4, IPv6, toIPv4, toIPv6 functions
2022-03-17 10:26:32 +01:00
Alexey Milovidov
68ef49ea51 Fix something stupid 2022-03-17 05:57:13 +01:00
Alexey Milovidov
edbdefeb83 Merge remote-tracking branch 'origin/master' into changelog-22.3 2022-03-17 04:33:00 +01:00
Anton Popov
416c7f2820 fix clang-tidy 2022-03-17 01:37:54 +00:00
Alexey Milovidov
b70dd1fc36 More features 2022-03-17 02:33:29 +01:00
alesapin
03ff6d52f6 Fix race in zero copy replication 2022-03-16 21:51:33 +01:00
Anton Popov
de2cc23e15 fix race 2022-03-16 20:16:59 +00:00
Maksim Kita
346c6b9d79 Fixed tests 2022-03-16 19:59:31 +00:00
Robert Schulze
b56c28d841
Replace a few uses of enable_if for SFINAE by concepts
- enable_if is usually regarded as fragile and unreadable

- C++20 concepts are much easier to read and produce more expressive
  error messages
2022-03-16 19:51:38 +01:00
mergify[bot]
3e072da80e
Merge branch 'master' into remove_wchs_from_default_4lw 2022-03-16 18:31:02 +00:00
Vitaly Baranov
39614e6e15
Merge pull request #35276 from vitlibar/fix-code-style-and-minor-corrections-after-allow-no-password
Fix code style and other minor corrections after implementing allow_no_password.
2022-03-16 18:55:05 +01:00
Anton Popov
2ced42ed41 add experimental settings for Object type 2022-03-16 16:51:23 +00:00
Maksim Kita
9ba53ae037
Merge pull request #34888 from kitaisreal/performance-tests-fix
Performance tests fix
2022-03-16 17:19:16 +01:00
Maksim Kita
dc31a4175f Fixed style check 2022-03-16 16:16:08 +00:00
Anton Popov
0ba78c3c3a Merge remote-tracking branch 'upstream/master' into HEAD 2022-03-16 15:28:09 +00:00
Kseniia Sumarokova
663c8e9e4a
Merge pull request #35275 from kssenii/fix-logical-error-in-cache
Fix logical error in remote fs cache
2022-03-16 15:01:41 +01:00
Nikita Mikhaylov
96c6325fc3
Merging #33398 (proportionsZTest) (#35157) 2022-03-16 13:17:07 +01:00
Kruglov Pavel
4a579768ef
Merge pull request #35311 from vdimir/pmj-dup-rows
Attempt to fix merge join duplicate rows
2022-03-16 12:48:29 +01:00