Iceberg Glue cannot find catalog during CREATE TABLE AS #23640
Closed
olivier-derom
started this conversation in
General
Replies: 2 comments 2 replies
-
The issue usually happens when the catalog config property isn't deployed to all workers. Could you confirm that? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ebyhr Thanks for the hint! Thanks as always! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I encountered this issue using dbt.
I have a fresh glue catalog in Trino.
I run my dbt job.
dbt automatically creates the schema in the catalog, and afterwards tries to run
I get error
SQL Error [44]: Query failed (#20241001_142340_00096_8hyhs): No catalog 'iceberg-glue'
But I can verify in DBeaver it is there, and the schema in the catalog also has been created.
If i try to run the same query manually in a console, I get the same Trino error.
When I replace CREATE TABLE with CREATE VIEW, it works, the view gets created, no errors.
If I try to CREATE TABLE like
create table "iceberg-glue"."myschema"."execution_time" (execution_time VARCHAR)
it also works.
But even when I have a table and a view live in the database, the CREATE TABLE AS ... will throw 'catalog not found', no matter what I try.
This seems to be specific to the glue catalog, as we were previously using rest catalog, and it had no issues with this.
my catalog setup:
Let me know if you need any more information
Beta Was this translation helpful? Give feedback.
All reactions