Skip to content

[BUG] OW fails when ETL DB name has a hyphen #858

@GeekSheikh

Description

@GeekSheikh

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.

if (spark.catalog.databaseExists(dbName)) {

image

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions