Skip to content

Commit 447c152

Browse files
committed
update submitter conf
-e Co-authored-by: Thomas Chow <[email protected]>
1 parent c52232c commit 447c152

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
spark.chronon.table.format_provider.class: "ai.chronon.integrations.cloud_gcp.GcpFormatProvider"

cloud_gcp/src/main/resources/driver-conf.yaml

Whitespace-only changes.

spark/src/test/scala/ai/chronon/spark/test/OfflineSubcommandTest.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ class OfflineSubcommandTest {
7676
case Right(v) => v
7777
case Left(e) => throw e
7878
}
79-
assertEquals(confs.get("spark.chronon.table.format_provider.class"),
80-
sparkSession.conf.getOption("spark.chronon.table.format_provider.class"))
81-
assertEquals(Some("ai.chronon.integrations.cloud_gcp.GcpFormatProvider"),
82-
sparkSession.conf.getOption("spark.chronon.table.format_provider.class"))
79+
80+
val confKey = "spark.chronon.table.format_provider.class"
81+
assertEquals(confs.get(confKey), sparkSession.conf.getOption(confKey))
82+
assertEquals(Some("ai.chronon.integrations.cloud_gcp.GcpFormatProvider"), sparkSession.conf.getOption(confKey))
8383
assertTrue(sparkSession.conf.getOption("nonexistent_key").isEmpty)
8484
}
8585
}

0 commit comments

Comments
 (0)