-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CatalogId
parameter is missing while creating Relation
#414
Comments
I think this was introduced because of #370 . |
I think it could be nice ( see Thank you |
It seems that indeed now we support cross-account queries we must pass the database parameter. If I check how we create relations, we always pass the database parameter Maybe it is worth updating the code to set to |
I'm able to do cross-account queries at the moment using the latest version of the adapter, but using lakeformation/RAM and database links. |
Will this still work cross account? The catalog name is 'awsdatacatalog' indipendently from the account. |
Hi,
I'm experimenting an issue while creating a relation. I use this statement:
{% set relation = api.Relation.create(schema = database, identifier = table,) %}
Which returns the following error:
Packages:
dbt-core==1.6.2
dbt-athena-community==1.6.1
[Research]
With dbt-athena-community==1.6.0 it runs without errors.
I supposed that this error is raised by boto3 which indicates that
CatalogId
parameter is missing.Reading the documentation of Relation class from dbt, I have noticed that
Relation
class expects three parameters:Well, if I add the
database
parameter (that is Glue Catalog) to the statement:{% set relation = api.Relation.create(schema = database, identifier = table, database='awsdatacatalog') %}
It works ok.
Will this behaviour be maintained in nexts dbt-athena-communit versions, or it's a bug and it will return the original behaviour, (that is, it won't be needed
database='awsdatacatalog'
)?Thank you so much for developing this software, I use it with Iceberg tables and It works very very well.
The text was updated successfully, but these errors were encountered: