File tree 2 files changed +4
-4
lines changed
cloud_gcp/src/main/scala/ai/chronon/integrations/cloud_gcp
spark/src/main/scala/ai/chronon/spark 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ case class GcpFormatProvider(sparkSession: SparkSession) extends FormatProvider
33
33
34
34
override def writeFormat (table : String ): Format = {
35
35
val tableId = BigQueryUtil .parseTableId(table)
36
- assert(Option (tableId.getProject).isDefined, s " project required for ${table}" )
37
- assert(Option (tableId.getDataset).isDefined, s " dataset required for ${table}" )
36
+ assert(scala. Option (tableId.getProject).isDefined, s " project required for ${table}" )
37
+ assert(scala. Option (tableId.getDataset).isDefined, s " dataset required for ${table}" )
38
38
39
39
val tu = TableUtils (sparkSession)
40
40
val partitionColumnOption =
@@ -79,7 +79,7 @@ case class GcpFormatProvider(sparkSession: SparkSession) extends FormatProvider
79
79
scala
80
80
.Option (table)
81
81
.map(getFormat)
82
- .getOrElse(Option (btTableIdentifier.getProject).map(BigQueryFormat (_, Map .empty)).getOrElse(Hive ))
82
+ .getOrElse(scala. Option (btTableIdentifier.getProject).map(BigQueryFormat (_, Map .empty)).getOrElse(Hive ))
83
83
84
84
}
85
85
}
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ class TableUtils(@transient val sparkSession: SparkSession) extends Serializable
125
125
true
126
126
} catch {
127
127
case ex : Exception =>
128
- logger.error (s " Couldn't load $tableName" , ex)
128
+ logger.debug (s " Couldn't load $tableName" , ex)
129
129
false
130
130
}
131
131
}
You can’t perform that action at this time.
0 commit comments