Skip to content

Commit

Permalink
Remove incompatible Spark version warning from R library
Browse files Browse the repository at this point in the history
This doesn't really work as we don't have a range of compatibility, and it is common to have a slightly older version of Spark that is compatible.
  • Loading branch information
johngrimes committed May 21, 2024
1 parent dd6d0ac commit 0d43852
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/R/R/context.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ pathling_connect <- function(
new_spark_connection()
}

spark_runtime_version <- sparklyr::spark_version(spark)
if (package_version(spark_runtime_version) < spark_info$spark_version) {
warning(sprintf("Incompatible version of spark: %s, while Pathling requires at least: %s",
spark_runtime_version, spark_info$spark_version))
}

encoders_config <- spark %>%
j_invoke_static(
"au.csiro.pathling.config.EncodingConfiguration", "builder") %>%
Expand Down

0 comments on commit 0d43852

Please sign in to comment.