Skip to content

Commit

Permalink
Revert "Using DB and table name when checking Delta table schema."
Browse files Browse the repository at this point in the history
This reverts commit f7e4675.
  • Loading branch information
nousot-cloud-guy committed Feb 4, 2023
1 parent f7e4675 commit 20337dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class CatalogShim_v2_4 extends SparkCatalogShim {
catalog.getTablesByName(identifiers).flatMap { t =>
val tableSchema =
if (t.provider.getOrElse("").equalsIgnoreCase("delta")) {
spark.table(f"${db}.${t.identifier.table}").schema
spark.table(t.identifier.table).schema
} else {
t.schema
}
Expand Down

0 comments on commit 20337dc

Please sign in to comment.