Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
urosstan-db committed Jun 5, 2024
1 parent bdececb commit b9108e1
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,7 @@ class InMemoryTableSessionCatalog extends TestV2SessionCatalogBase[InMemoryTable
Option(tables.get(ident)) match {
case Some(table) =>
val properties = CatalogV2Util.applyPropertiesChanges(table.properties, changes)
val provider =
if (properties.containsKey("provider")) {
Some(properties.get("provider"))
} else {
None
}
val provider = Option(properties.get("provider"))

val schema = CatalogV2Util.applySchemaChanges(
table.schema,
Expand Down

0 comments on commit b9108e1

Please sign in to comment.