Skip to content

Commit 5169a00

Browse files
committed
Reenabling Databricks
1 parent ae17ee5 commit 5169a00

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

tests/testthat/setup.R

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (Sys.getenv("DONT_DOWNLOAD_JDBC_DRIVERS", "") != "TRUE") {
99
downloadJdbcDrivers("sql server")
1010
downloadJdbcDrivers("oracle")
1111
downloadJdbcDrivers("redshift")
12-
# downloadJdbcDrivers("spark")
12+
downloadJdbcDrivers("spark")
1313
downloadJdbcDrivers("snowflake")
1414
if (.Platform$OS.type == "windows") {
1515
downloadJdbcDrivers("bigquery")
@@ -136,18 +136,18 @@ testServers[[length(testServers) + 1]] <- list(
136136
tempEmulationSchema = Sys.getenv("CDM_SNOWFLAKE_OHDSI_SCHEMA")
137137
)
138138

139-
# # Databricks (Spark)
140-
# testServers[[length(testServers) + 1]] <- list(
141-
# connectionDetails = details <- createConnectionDetails(
142-
# dbms = "spark",
143-
# user = Sys.getenv("CDM5_SPARK_USER"),
144-
# password = URLdecode(Sys.getenv("CDM5_SPARK_PASSWORD")),
145-
# connectionString = Sys.getenv("CDM5_SPARK_CONNECTION_STRING")
146-
# ),
147-
# NULL,
148-
# cdmDatabaseSchema = Sys.getenv("CDM5_SPARK_CDM_SCHEMA"),
149-
# tempEmulationSchema = Sys.getenv("CDM5_SPARK_OHDSI_SCHEMA")
150-
# )
139+
# Databricks (Spark)
140+
testServers[[length(testServers) + 1]] <- list(
141+
connectionDetails = details <- createConnectionDetails(
142+
dbms = "spark",
143+
user = Sys.getenv("CDM5_SPARK_USER"),
144+
password = URLdecode(Sys.getenv("CDM5_SPARK_PASSWORD")),
145+
connectionString = Sys.getenv("CDM5_SPARK_CONNECTION_STRING")
146+
),
147+
NULL,
148+
cdmDatabaseSchema = Sys.getenv("CDM5_SPARK_CDM_SCHEMA"),
149+
tempEmulationSchema = Sys.getenv("CDM5_SPARK_OHDSI_SCHEMA")
150+
)
151151

152152
# BigQuery
153153
# To avoid rate limit on BigQuery, only test on 1 OS:

0 commit comments

Comments
 (0)