Skip to content

Issue found on documentation page 'Iceberg REST Catalogs' > Polaris section #6116

@benhuds

Description

@benhuds

Please describe the problem you encountered in the DuckDB documentation and include the "Page URL" link shown below.
Note: only create an issue if you wish to report a problem with the DuckDB documentation. For questions about DuckDB or the use of certain DuckDB features, use GitHub Discussions, Stack Overflow, or Discord.

Page URL: https://duckdb.org/docs/stable/core_extensions/iceberg/iceberg_rest_catalogs#polaris

Task: Follow DuckDB documentation instructions to connect DuckDB to Polaris catalog

Config

  • DuckDB v1.4.1 (Andium) b390a7c376

Extensions:

INSTALL httpfs; 
LOAD httpfs;
INSTALL iceberg;
LOAD iceberg;

Error 1: Trailing comma leads to parser error

The documentation asks users to run the following command:

CREATE SECRET polaris_secret (
    TYPE iceberg,
    CLIENT_ID 'admin',
    CLIENT_SECRET 'password',
);

However, the trailing comma results in a parser error

Parser Error:
syntax error at or near ")"

Error 2: When I remove the trailing comma, I get an Invalid Configuration Error:

AUTHORIZATION_TYPE is 'oauth2', yet no 'oauth2_server_uri' was provided, and no 'endpoint' was provided to fall back on. Please provide one or change the 'authorization_type'.

Can we please update the documentation to ensure the correct requirements for authorization type? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions