-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Must be completed after #868
spark.catalog.databaseExists(dbName) does not work if dbName contains hyphens. This can be resolved by adding back ticks inside the quotes. Example in screenshot and text is below.
This will fix the issue
spark.catalog.databaseExists(s"`${dbName}`")Be sure to check for use of this function throughout the code base and apply this fix to all usages.
overwatch/src/main/scala/com/databricks/labs/overwatch/pipeline/Initializer.scala
Line 415 in 5337cad
| if (spark.catalog.databaseExists(dbName)) { |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
