v.20.4Improvement

Virtual Hosted-Style Support for S3 URI

Virtual hosted-style support for S3 URI #9998 (Pavel Kovalenko)
ClickHouse adds support for virtual hosted-style S3 URIs, enabling the use of bucket names as part of the hostname in S3 object storage paths.

Why it matters

This feature addresses the need to access S3 buckets using virtual hosted-style URLs rather than only path-style URLs, improving compatibility with AWS S3 and other S3-compatible services that require or prefer virtual hosted-style addressing.

How to use it

Users can specify S3 object paths using virtual hosted-style URIs, where the bucket name is included as a subdomain in the hostname (e.g., https://bucket-name.s3.amazonaws.com/key). ClickHouse will recognize and correctly interpret these URIs when loading or interacting with S3 storage.