Skip to content

Conversation

@mkmkme
Copy link
Collaborator

@mkmkme mkmkme commented Jan 15, 2026

Additionally, it fixes the DataLakeLocation in case storage_endpoint was provided.

Fixes #1199

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Added support for gs:// links in Iceberg metadata

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Performance tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All with Aarch64
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • Tiered Storage (2h)

This PR adds support for gs storage type when using it in GCS in
S3-compatible XML API. Additionally, a NoSignCredentials was added in
case GCS bucket is open and NOSIGN should be added to the request.
If `storage_endpoint` was set during `DataLakeCatalog` creation (e.g.
when using GCS in S3-compatible mode), `data_location` is populated with
a `https://` link. When `endpoint` is stripped from it, there is still a
leading slash in `data_location`, which makes the next `if` statement
falsy and causes the query to fail.

This commit fixes that by removing the leading slash if `data_location`
starts with it after `endpoint` is stripped.
@github-actions
Copy link

Workflow [PR], commit [4baf17c]

@mkmkme
Copy link
Collaborator Author

mkmkme commented Jan 16, 2026

Closing in favor of #1318

@mkmkme mkmkme closed this Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants