-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
What happens?
I couldn't get USE <database> to work with an ATTACH-ed S3 Table.
Setup:
- an AWS account with a S3 Table bucket, with the "AWS analytic integration" thing enabled so that the S3 table pops up in AWS LakeFormation as a catalog.
- Have duckdb 1.4.1 available with all the necessary extensions.
- You've logged in to the correct AWS account/profile using your AWS cli.
CREATE OR REPLACE SECRET (TYPE s3, PROVIDER credential_chain);
ATTACH IF NOT EXISTS '<aws_account_id>:s3tablescatalog/<bucket_name>'
AS datalake (ENDPOINT_TYPE glue, TYPE iceberg);
USE datalake;Problem:
the USE datalake statement fails
Catalog Error: SET schema: No catalog + schema named "datalake" found.
Additional info:
- If I do
SHOW ALL TABLES, I can see I have many such records:database=datalake, schema=someschema, table=sometables. - If I do
USE datalake.someschema, it works.
I don't know what I did wrong here. Happy to provide more information if needed but I'm a bit clueless.
To Reproduce
See above.
OS:
MacOS M3
DuckDB Version:
1.4.1
DuckDB Client:
CLI
Hardware:
No response
Full Name:
Steinway Wu
Affiliation:
Individual
Did you include all relevant configuration (e.g., CPU architecture, Linux distribution) to reproduce the issue?
- Yes, I have
Did you include all code required to reproduce the issue?
- Yes, I have
Did you include all relevant data sets for reproducing the issue?
Not applicable - the reproduction does not require a data set
Metadata
Metadata
Assignees
Labels
No labels