From 7ca54c6a99c1f1d673513bc4ba191f577b1bb928 Mon Sep 17 00:00:00 2001 From: jnadal Date: Fri, 9 Aug 2024 15:21:11 +0200 Subject: [PATCH] removed or replace without as clause --- dbt/adapters/glue/impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/adapters/glue/impl.py b/dbt/adapters/glue/impl.py index 2f9ef79..0db6226 100644 --- a/dbt/adapters/glue/impl.py +++ b/dbt/adapters/glue/impl.py @@ -641,7 +641,7 @@ def delta_create_table(self, target_relation, request, primary_key, partition_ke location = custom_location create_table_query = f""" -CREATE OR REPLACE TABLE {table_name} +CREATE TABLE {table_name} USING delta LOCATION '{location}' """