Closed asyarif93 closed 4 years ago
i've found that dbt tries to run
select distinct schema_name
from testing.INFORMATION_SCHEMA.schemata
which give result SYNTAX_ERROR: line 2:10: Catalog testing does not exist
as the query should be
select distinct schema_name
from INFORMATION_SCHEMA.schemata
Can you try to use as database awscatalog
in your profile.yml
?
it also fail giving result:
Runtime Error
SYNTAX_ERROR: line 2:10: Catalog awscatalog does not exist
but when i trying to use
awsdatacatalog
in profile.yml
dbt runs perfectly
Hi, Thanks for the great work on this adapter!
Somehow when i trying to run command
dbt run
I gethere is the dbt_project.yml
and this is profiles.yml
and this is dbt-debug results
As far as i know, catalog represent schema_name in PyAthena. I assume this error came from athena query rather than dbt it self. so i tried to create connection in PyAthena and run same queries. it run perfectly. do you have some clues?
Thanks again!