Skip to content

Commit 5416877

Browse files
update
Co-authored-by: Thomas Chow <[email protected]>
1 parent 3b31e1d commit 5416877

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cloud_gcp/src/main/scala/ai/chronon/integrations/cloud_gcp/GcpFormatProvider.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ class GcpFormatProvider(override val sparkSession: SparkSession) extends Default
2626
cat match {
2727
case delegating: DelegatingBigQueryMetastoreCatalog =>
2828
Try {
29-
delegating
29+
val providerString = delegating
3030
.loadTable(identifier)
3131
.properties
3232
.asScala
3333
.getOrElse(TableCatalog.PROP_PROVIDER, "")
34-
.toUpperCase match {
34+
.toUpperCase
35+
logger.info("GCPFormatProvider: Delegating catalog provider string: " + providerString)
36+
providerString match {
3537
case "ICEBERG" => Iceberg
3638
case "BIGQUERY" => BigQueryNative
3739
case "PARQUET" => BigQueryExternal

0 commit comments

Comments
 (0)