This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new 5477a6062 [SEDONA-644] R – Adapt to SedonaContext flow (post 1.4.1) 
(#1550)
5477a6062 is described below

commit 5477a6062d17c198c17d7e7b9e0fbbe8a992db1d
Author: gregleleu <[email protected]>
AuthorDate: Thu Aug 15 15:29:04 2024 -0400

    [SEDONA-644] R – Adapt to SedonaContext flow (post 1.4.1) (#1550)
    
    Fix context creation to post 1.4.1 flow
---
 R/R/dependencies.R | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/R/R/dependencies.R b/R/R/dependencies.R
index 68583c0df..c67d882b4 100644
--- a/R/R/dependencies.R
+++ b/R/R/dependencies.R
@@ -57,8 +57,8 @@ spark_dependencies <- function(spark_version, scala_version, 
...) {
 sedona_initialize_spark_connection <- function(sc) {
   invoke_static(
     sc,
-    "org.apache.sedona.sql.utils.SedonaSQLRegistrator",
-    "registerAll",
+    "org.apache.sedona.spark.SedonaContext",
+    "create",
     spark_session(sc),
     "r"
   )

Reply via email to