From 7c77729e7d42ffbf5c8cadf928bf0c8a3ec4c4d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Bern=C3=A1rdez?= Date: Wed, 31 Jan 2024 17:16:52 +0100 Subject: [PATCH] Set recreate delta table as false by default --- .../data/core/services/glue/AthenaCatalogueService.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/metabolic/data/core/services/glue/AthenaCatalogueService.scala b/src/main/scala/com/metabolic/data/core/services/glue/AthenaCatalogueService.scala index c6505a7..0f71ba2 100644 --- a/src/main/scala/com/metabolic/data/core/services/glue/AthenaCatalogueService.scala +++ b/src/main/scala/com/metabolic/data/core/services/glue/AthenaCatalogueService.scala @@ -41,7 +41,7 @@ class AthenaCatalogueService(implicit val region: Regions) extends Logging { } - def createDeltaTable(dbName:String, tableName:String, location: String, recreate: Boolean = true) = { + def createDeltaTable(dbName:String, tableName:String, location: String, recreate: Boolean = false) = { if(recreate) { val delete_statement = dropTableStatement(dbName, tableName)