Commit Graph

114318 Commits

Author SHA1 Message Date
johanngan
731823b873 Add support for SSE-KMS configuration with S3
https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html

Similar to the server_side_encryption_customer_key_base64 option for
configuring SSE-C with S3, add the following settings to configure
SSE-KMS on a per-endpoint/disk basis:
  - server_side_encryption_kms_key_id
  - server_side_encryption_kms_encryption_context
  - server_side_encryption_kms_bucket_key_enabled
2023-05-03 21:35:38 -05:00
johanngan
1bc52977a7 Support "header" setting in S3 disk config
The S3 table engine supports specifying extra HTTP headers in S3
requests to certain endpoints, via the "headers" setting. This commit
adds the same setting to S3 disk config.
2023-05-03 21:32:58 -05:00
alekar
1361648f13
Merge branch 'master' into fix-cast 2023-05-03 18:14:19 -07:00
Manas Alekar
6d6f3bc58b Static cast std::atomic<size_t> to uint64_t to serialize.
There are no viable constructors for the atomic in rapidJSON.
2023-05-03 18:11:17 -07:00
Mal Curtis
5727585d95 s/use_tables_cache/use_table_cache 2023-05-03 23:40:12 +00:00
alesapin
27f9384717 Followup 2023-05-03 23:33:19 +02:00
robot-ch-test-poll2
9a67616791
Merge pull request #49460 from candiduslynx/patch-1
chore(docs): Add map to list of unsupported nullable types
2023-05-03 23:16:56 +02:00
Alexey Milovidov
c799bcf6bf
Merge pull request #49437 from azat/build/disable-libraries-fixes
Build fixes for ENABLE_LIBRARIES=OFF
2023-05-03 23:55:50 +03:00
Alexey Milovidov
50202c1b0a Minor changes 2023-05-03 22:51:56 +02:00
Mikhail f. Shiryaev
90fe9dd1f2
Skip mergeable check only on a proper description 2023-05-03 22:38:34 +02:00
Mikhail f. Shiryaev
a67950d138
Check the PRs body directly in lambda, without rerun 2023-05-03 22:38:33 +02:00
Alexander Gololobov
a90c2ec90d
Merge pull request #49425 from ClickHouse/fix_build_set_with_remote
Fix fuzz bug when subquery set is not built when reading from remote()
2023-05-03 21:47:29 +02:00
wangxiaobo
2924837c7e
Fix Attaching a table with non-existent ZK path does not increase the ReadonlyReplica metric (#48954)
* Attaching a table with non-existent ZK path does not increase the ReadonlyReplica metric bug fix.

* add integration test.

* add integration test.

* Update test.py

* format code

* format code
2023-05-03 22:41:20 +03:00
Nikolai Kochetov
0e5c3ea9ac Trying to fix a test. 2023-05-03 19:26:29 +00:00
alesapin
c1d8fab2da Fxi 2023-05-03 21:05:19 +02:00
robot-clickhouse
b00019c65a Automatic style fix 2023-05-03 18:27:12 +00:00
Alexander Tokmakov
83b12ec5ca replace NO DELAY with SYNC in tests 2023-05-03 20:08:49 +02:00
Mikhail f. Shiryaev
62351248ad
Merge pull request #49467 from ClickHouse/shorten-supported-versions
Shorten supported versions
2023-05-03 19:49:47 +02:00
Kseniia Sumarokova
48fab80dd7
Update Credentials.cpp 2023-05-03 19:39:43 +02:00
Mikhail f. Shiryaev
01b1a9fe00
Regenerate SECURITY.md to shorten it 2023-05-03 19:25:28 +02:00
Mikhail f. Shiryaev
be7bb02857
Mark all versions after the last supported as * 2023-05-03 19:25:27 +02:00
Dmitry Novik
2a664521c2 Make sure async insert happends 2023-05-03 17:12:21 +00:00
Anton Popov
c9705d6bf1
Merging #49066 (Better error handling during loading of parts) (#49430)
* catch filesystem error when loading parts

* better exception handling during part loading

---------

Co-authored-by: cangyin <excangyin@gmail.com>
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-05-03 19:10:06 +02:00
Konstantin Bogdanov
9d2a27cb7b
Invert shutdown_wait_unfinished_queries (#49427)
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-05-03 19:04:48 +02:00
Nikita Mikhaylov
954e3b724c
Speedup outdated parts loading (#49317) 2023-05-03 18:56:45 +02:00
Alexander Tokmakov
ff70d26c23
Update StorageMergeTree.cpp 2023-05-03 19:30:44 +03:00
kssenii
0a18a87ad3 Fix style check 2023-05-03 18:28:33 +02:00
Kruglov Pavel
01ed70a660
Fix possible logical error "Cannot cancel. Either no query sent or already cancelled" (#49106)
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-05-03 19:16:23 +03:00
kssenii
cb6e5fedc5 Throw on error 2023-05-03 18:02:04 +02:00
kssenii
64bc03fefd Allow to get availability zone 2023-05-03 17:40:39 +02:00
candiduslynx
d5ccc99b1c add map to list of unsupported nullable types 2023-05-03 18:29:55 +03:00
Dmitry Novik
5c72bdcb29
Merge pull request #49403 from ClickHouse/fix-analyzer-tests
Remove 02707_complex_query_fails_analyzer test
2023-05-03 17:00:47 +02:00
Alexander Tokmakov
e399903030
Merge pull request #48548 from ClickHouse/clusters_is_active_column
Add some columns to system.clusters
2023-05-03 17:42:40 +03:00
Alexander Tokmakov
f3f6cfdcbb
Update StorageMergeTree.cpp 2023-05-03 17:39:31 +03:00
Nikolay Degterinsky
11d4ce8b4e
Merge pull request #44905 from evillique/bcrypt
Add bcrypt authentication type
2023-05-03 16:39:27 +02:00
Dmitry Novik
468b555952
Merge branch 'master' into fix-analyzer-tests 2023-05-03 16:35:46 +02:00
Dmitry Novik
b921476a3b
Merge pull request #49419 from ClickHouse/fix-function-parameter-exception
Throw an exception for non-parametric functions in new analyzer
2023-05-03 16:34:28 +02:00
MeenaRenganathan22
0c11f3f280 Fix the code to use the RapidJSONParser in case of big-endian system 2023-05-03 14:32:00 +00:00
MeenaRenganathan22
3946dcd251 Fix the 01193_metadata_loading test to match the query execution time specific to s390x 2023-05-03 14:26:12 +00:00
Nikolay Degterinsky
048b4ec738
Merge branch 'master' into bcrypt 2023-05-03 16:14:57 +02:00
Anton Popov
7896d30737
Merge pull request #49122 from CurtizJ/add-async-insert-mt-setting
Add `MergeTree` setting `async_insert`
2023-05-03 16:01:13 +02:00
Mike Kot
3d6240b982 fix 2023-05-03 13:59:45 +00:00
alesapin
17d6e2cc66
Merge pull request #49452 from ClickHouse/add_server_jepsen_image
Add image for docker-server jepsen
2023-05-03 15:45:30 +02:00
Han Fei
695b5b9f7b
Merge pull request #48950 from seandhaynes/master
Add a test to check max_rows_to_read_leaf behaviour
2023-05-03 15:39:54 +02:00
Alexey Milovidov
810568fcc5
Merge pull request #49433 from ClickHouse/improve-licenses
Improve `system.licenses` table
2023-05-03 16:39:24 +03:00
Han Fei
19048ed3fd
Merge branch 'master' into master 2023-05-03 15:17:10 +02:00
alesapin
6e8934f856 Improve image for local run 2023-05-03 14:40:18 +02:00
alesapin
fad187fa8a Add image for docker-server jepsen 2023-05-03 14:38:56 +02:00
kssenii
35f437ac9c Address review comments 2023-05-03 14:37:18 +02:00
alesapin
129d123956
Merge pull request #49423 from ClickHouse/remove-trash-7
Remove trash
2023-05-03 14:19:08 +02:00