Skip to content

Cherry pick #98827 to 26.3: Implement http header validation for DataLakeCatalog - #105016

Merged
robot-ch-test-poll3 merged 10 commits into
backport/26.3/98827from
cherrypick/26.3/98827
May 15, 2026
Merged

robot-ch-test-poll3 merged 10 commits into
backport/26.3/98827from
cherrypick/26.3/98827

Conversation

@robot-ch-test-poll3

Copy link
Copy Markdown
Contributor

Original pull-request #98827

Do not merge this PR manually

This pull-request is a first step of an automated backporting.
It contains changes similar to calling git cherry-pick locally.
If you intend to continue backporting the changes, then resolve all conflicts if any.
Otherwise, if you do not want to backport them, then just close this pull-request.

The check results does not matter at this step - you can safely ignore them.

Troubleshooting

If the conflicts were resolved in a wrong way

If this cherry-pick PR is completely screwed by a wrong conflicts resolution, and you want to recreate it:

  • delete the pr-cherrypick label from the PR
  • delete this branch from the repository

You also need to check the Original pull-request for pr-backports-created label, and delete if it's presented there

The PR source

The PR is created in the CI job

michael-anastasakis and others added 10 commits March 5, 2026 11:29
…der format

Restore the `else` branch in `registerDatabaseDataLake` that throws an
exception when `auth_header` is provided without a colon (i.e. not in
`name: value` format). This was removed in a previous commit but kssenii
asked to keep this validation.

Update `03913_datalake_restful_catalog_bad_format` to use
`Authorization: Wrong header` instead of `wrong.header` so the test
continues to exercise the "bad credentials" path (verifying
`system.tables` does not fail) without triggering the format-validation
exception.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Add `test_invalid_auth_header_format` to the three iceberg catalog
integration test suites (REST, Nessie, Lakekeeper). Each test verifies
that `CREATE DATABASE` with an `auth_header` that has no colon
(e.g. `wrong.header`) is rejected at creation time with
`Invalid auth header format`.

These tests fail on master (where no format validation exists) and pass
on this PR, satisfying the Bugfix validation CI requirement.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Implement http header validation for DataLakeCatalog
@robot-ch-test-poll3 robot-ch-test-poll3 added pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only! do not test disable testing on pull request pr-bugfix Pull request with bugfix, not backported by default labels May 15, 2026
@robot-ch-test-poll3
robot-ch-test-poll3 merged commit 180ed5e into backport/26.3/98827 May 15, 2026
@robot-ch-test-poll3
robot-ch-test-poll3 deleted the cherrypick/26.3/98827 branch May 15, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not test disable testing on pull request pr-bugfix Pull request with bugfix, not backported by default pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants