I'm try to connect to icberge reset catalog using ...
# help
a
I'm try to connect to icberge reset catalog using duckdb 1.4 following this guide https://docs.lakefs.io/latest/integrations/iceberg/ (example duckdb). got this error
Copy code
D ATTACH 'lakefs' AS main_branch (
      TYPE iceberg,
      SECRET lakefs_credentials,
      -- notice the "/relative_to/.../" part:
      ENDPOINT 'https://.../relative_to/repo.main/api'
  );
Invalid Input Error:
CatalogConfig required property 'defaults' is missing
this error is mislead (https://github.com/duckdb/duckdb-iceberg/issues/297#issuecomment-2973232577) it seems the problem is with endpoint , but I can't understand what is the issue
found the problem I was missing
iceberg
now I got this error
Copy code
D CREATE SCHEMA IF NOT EXISTS main_branch.aa;
Invalid Configuration Error:
Request to 'https://.../iceberg/relative_to//<>.<>/api/v1/namespaces' returned a non-200 status code (BadRequest_400), with reason: Bad Request, body: {"error":{"code":400,"message":"bad request: invalid namespace: bad request: 400 Bad Request: merging changes 'tx-93c48e32-c483-4d2b-852a-78f030d62fe8'","type":"InvalidNamespace"}}
@Barak Amar @Tal Sofer?
šŸ‘€ 1
o
@Amihay Gonen As discussed on Slack we will handle this through a support ticket
lakefs 1
i
a little late to the party, but if this helps - the schema should be in the form of
<repo>.<branch>,<namespace>
. so it should be:
Copy code
CREATE SCHEMA IF NOT EXISTS your_lakefs_repo.main_branch.aa;
t
@Amihay Gonen we you able to create a schema following @Itai Gilo’s suggestion?
137 Views