Skip to content

Commit

Permalink
Always recreate in Glue to keep schema updated
Browse files Browse the repository at this point in the history
  • Loading branch information
margon8 committed Nov 1, 2023
1 parent 8bbdb7d commit 6845103
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class AthenaCatalogueService(implicit val region: Regions) extends Logging {

}

def createDeltaTable(dbName:String, tableName:String, location: String, recreate: Boolean = false) = {
def createDeltaTable(dbName:String, tableName:String, location: String, recreate: Boolean = true) = {

if(recreate) {
val delete_statement = dropTableStatement(dbName, tableName)
Expand Down

0 comments on commit 6845103

Please sign in to comment.