From 5d5b18ece146c13b0e1e40bd924af9bf671372ee Mon Sep 17 00:00:00 2001 From: Martin Studer Date: Mon, 28 Oct 2024 11:50:53 +0100 Subject: [PATCH] test --- .github/workflows/ci-tests.yml | 1 + R/spark_read_bigquery.R | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index ee8a8f6..06334e1 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -150,6 +150,7 @@ jobs: shell: bash run: | echo "$ADC" > $BIGQUERY_APPLICATION_CREDENTIALS + chmod a+r $BIGQUERY_APPLICATION_CREDENTIALS - name: Run R CMD check uses: r-lib/actions/check-r-package@v2 diff --git a/R/spark_read_bigquery.R b/R/spark_read_bigquery.R index 64c7148..c2ffd62 100644 --- a/R/spark_read_bigquery.R +++ b/R/spark_read_bigquery.R @@ -93,7 +93,6 @@ spark_read_bigquery <- function(sc, ...) { parameters <- c(list(), additionalParameters) if (!is.null(serviceAccountKeyFile)) { - sparklyr::spark_session_config(sc, config = "credentialsFile", value = serviceAccountKeyFile) parameters[["credentialsFile"]] = gsub("\\\\", "/", serviceAccountKeyFile) }