Skip to content

Commit

Permalink
Updating R examples to work with the new version of sparklyr (1.8.4)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrszul committed Oct 31, 2023
1 parent 7716f4b commit b165157
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/R/R/datasource.R
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,7 @@ ImportMode <- list(
#' data_source %>% ds_write_delta(file.path(tempdir(), 'delta'), import_mode = ImportMode$OVERWRITE)
#'
#' # Write the data to a set of Spark tables in 'fhir' database.
#' ptl_spark(pc) %>% sparklyr::sdf_sql("CREATE DATABASE IF NOT EXISTS fhir")
#' data_source %>% ds_write_tables("fhir", import_mode = ImportMode$MERGE)
#' data_source %>% ds_write_tables("default", import_mode = ImportMode$MERGE)
#'
#' ptl_disconnect(pc)
NULL
Expand Down

0 comments on commit b165157

Please sign in to comment.