Skip to content

Duckdb Polaris Integration does not support multi-tenant with Polaris-Realm header #978

Description

@CuongNguyen-FinX

Is your feature request related to a problem? Please describe.
I deployed duckdb and polaris to query iceberg table. The Polaris manage multi-tenant with Polaris Realms. But when using EXTRA_HTTP_HEADERS MAP {'Polaris-Realm': 'REALM1'}, it call Polaris instance with default realm rather than realm in the header.

Describe the solution you'd like
It need to handle Polaris-Realm to enable multi-tenant in Polaris integration.

Additional context
duckdb.sql('''
ATTACH 'my_catalog' AS my_catalog (
TYPE iceberg,
ACCESS_DELEGATION_MODE 'vended_credentials',
ENDPOINT 'xxx',
CLIENT_ID 'xxx',
CLIENT_SECRET 'xxx',
OAUTH2_SERVER_URI 'xxx/v1/oauth/tokens',
EXTRA_HTTP_HEADERS MAP {'Polaris-Realm': 'REALM1'}
);
''')

But from polaris log, it handle with default polaris is POLARIS.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageNeeds to be triaged by maintainers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions