Skip to content

Commit 724fd9e

Browse files
Added deriveRawApiResponseDF fix (#1283)
Co-authored-by: Sourav Banerjee <[email protected]>
1 parent 1eb6a00 commit 724fd9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/databricks/labs/overwatch/pipeline/BronzeTransforms.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ trait BronzeTransforms extends SparkSessionWrapper {
652652
}
653653
if (Helpers.pathExists(tmpClusterEventsErrorPath)) {
654654
persistErrors(
655-
spark.read.json(tmpClusterEventsErrorPath)
655+
deriveRawApiResponseDF(spark.read.json(tmpClusterEventsErrorPath))
656656
.withColumn("from_ts", toTS(col("from_epoch")))
657657
.withColumn("until_ts", toTS(col("until_epoch"))),
658658
database,

0 commit comments

Comments
 (0)