Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
martinstuder committed Oct 28, 2024
1 parent 43baa4b commit bd03037
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/spark_read_bigquery.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spark_read_bigquery <- function(sc,
}

if (!is.null(datasetId) && !is.null(tableId)) {
path <- sprintf("%s.%s.%s", projectId, datasetId, tableId)
path <- sprintf("%s:%s.%s", projectId, datasetId, tableId)
} else if (!is.null(sqlQuery)) {
path <- sqlQuery
parameters[["viewsEnabled"]] <- "true"
Expand Down
2 changes: 1 addition & 1 deletion R/spark_write_bigquery.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spark_write_bigquery <- function(data,
parameters <- c(
list(
parentProject = billingProjectId,
table = sprintf("%s.%s.%s", projectId, datasetId, tableId),
table = sprintf("%s:%s.%s", projectId, datasetId, tableId),
writeMethod = "direct"
),
additionalParameters
Expand Down
1 change: 0 additions & 1 deletion tests/testthat/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ bigquery_defaults(
options(spark.version = Sys.getenv("SPARK_VERSION", "3.5"))

config <- sparklyr::spark_config()
config$sparklyr.log.invoke <- "TRUE"

sc <- sparklyr::spark_connect(
master = "local",
Expand Down

0 comments on commit bd03037

Please sign in to comment.