Skip to content

Commit

Permalink
Reenabling Databricks
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Jun 21, 2024
1 parent ae17ee5 commit 5169a00
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/testthat/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (Sys.getenv("DONT_DOWNLOAD_JDBC_DRIVERS", "") != "TRUE") {
downloadJdbcDrivers("sql server")
downloadJdbcDrivers("oracle")
downloadJdbcDrivers("redshift")
# downloadJdbcDrivers("spark")
downloadJdbcDrivers("spark")
downloadJdbcDrivers("snowflake")
if (.Platform$OS.type == "windows") {
downloadJdbcDrivers("bigquery")
Expand Down Expand Up @@ -136,18 +136,18 @@ testServers[[length(testServers) + 1]] <- list(
tempEmulationSchema = Sys.getenv("CDM_SNOWFLAKE_OHDSI_SCHEMA")
)

# # Databricks (Spark)
# testServers[[length(testServers) + 1]] <- list(
# connectionDetails = details <- createConnectionDetails(
# dbms = "spark",
# user = Sys.getenv("CDM5_SPARK_USER"),
# password = URLdecode(Sys.getenv("CDM5_SPARK_PASSWORD")),
# connectionString = Sys.getenv("CDM5_SPARK_CONNECTION_STRING")
# ),
# NULL,
# cdmDatabaseSchema = Sys.getenv("CDM5_SPARK_CDM_SCHEMA"),
# tempEmulationSchema = Sys.getenv("CDM5_SPARK_OHDSI_SCHEMA")
# )
# Databricks (Spark)
testServers[[length(testServers) + 1]] <- list(
connectionDetails = details <- createConnectionDetails(
dbms = "spark",
user = Sys.getenv("CDM5_SPARK_USER"),
password = URLdecode(Sys.getenv("CDM5_SPARK_PASSWORD")),
connectionString = Sys.getenv("CDM5_SPARK_CONNECTION_STRING")
),
NULL,
cdmDatabaseSchema = Sys.getenv("CDM5_SPARK_CDM_SCHEMA"),
tempEmulationSchema = Sys.getenv("CDM5_SPARK_OHDSI_SCHEMA")
)

# BigQuery
# To avoid rate limit on BigQuery, only test on 1 OS:
Expand Down

0 comments on commit 5169a00

Please sign in to comment.