Skip to content

Commit 9a3e311

Browse files
finally working
Co-authored-by: Thomas Chow <[email protected]>
1 parent e542552 commit 9a3e311

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

cloud_gcp/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ shared_deps = [
3535
maven_artifact("org.threeten:threetenbp"),
3636
maven_artifact("org.apache.kafka:kafka-clients"),
3737
maven_artifact("com.google.cloud.spark:spark-3.5-bigquery"),
38-
# scala_artifact_with_suffix("com.google.cloud.spark:spark-bigquery"),
39-
# scala_artifact_with_suffix("com.google.cloud.spark:spark-bigquery-with-dependencies"),
4038
scala_artifact_with_suffix("org.apache.iceberg:iceberg-spark-runtime-3.5"),
4139
]
4240

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ class DelegatingBigQueryMetastoreCatalog extends CatalogExtension {
8989
val tId = ident.namespace().toList match {
9090
case database :: Nil => TableId.of(database, ident.name())
9191
case project :: database :: Nil => TableId.of(project, database, ident.name())
92+
case Nil => throw new IllegalArgumentException(s"Table identifier namespace must have at least one part.")
9293
}
9394
val table = bigQueryClient.getTable(tId)
9495
table.getDefinition.asInstanceOf[TableDefinition] match {

tools/build_rules/dependencies/scala_2_12_repository.bzl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ scala_2_12_repository = repository(
3535
"io.delta:delta-spark_2.12:3.2.0",
3636
"org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.5.2",
3737

38-
# Google Cloud
39-
"com.google.cloud.spark:spark-bigquery-with-dependencies_2.12:0.42.0",
40-
"com.google.cloud.spark:spark-bigquery_2.12:0.42.0",
4138
# Circe
4239
"io.circe:circe-core_2.12:0.14.9",
4340
"io.circe:circe-generic_2.12:0.14.9",

tools/build_rules/dependencies/scala_2_13_repository.bzl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ scala_2_13_repository = repository(
3535
"io.delta:delta-spark_2.13:3.2.0",
3636
"org.apache.iceberg:iceberg-spark-runtime-3.5_2.13:1.5.2",
3737

38-
# Google Cloud
39-
"com.google.cloud.spark:spark-bigquery-with-dependencies_2.13:0.42.0",
40-
"com.google.cloud.spark:spark-bigquery_2.12:0.42.0",
41-
4238
# Circe
4339
"io.circe:circe-core_2.13:0.14.9",
4440
"io.circe:circe-generic_2.13:0.14.9",

0 commit comments

Comments
 (0)