[ 
https://issues.apache.org/jira/browse/SEDONA-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17690634#comment-17690634
 ] 

Jia Yu commented on SEDONA-248:
-------------------------------

[~gregleleu]

 

1. In Sedona Python, to use a Sedona SNAPSHOT jar, one needs to download the 
jar to local SPARK_HOME/jars . Then Sedona Python will automatically find this 
jar: 
[https://github.com/apache/sedona/blob/master/python/sedona/core/jvm/config.py#L107]

Maybe you can do something similar in Sedona R, without relying on that ENV?

 

2. Use GitHub Action to auto upload SNAPSHOT jars to Apache repo is not 
possible as Apache disabled committers to add their own credentials to GitHub 
secret. The only available token is secrets.GITHUB_TOKEN , which can create a 
release per commit. I am OK with adding it to Sedona CI/CD but I think it is 
similar to what we have now...

 

> R – Let dev version of R package use SNAPSHOT jars
> --------------------------------------------------
>
>                 Key: SEDONA-248
>                 URL: https://issues.apache.org/jira/browse/SEDONA-248
>             Project: Apache Sedona
>          Issue Type: Improvement
>            Reporter: Gregoire Leleu
>            Priority: Major
>         Attachments: image-2023-02-17-11-45-38-710.png
>
>
> Currently, one source of error is that the dev version of the R package calls 
> the Sedona jars from the previous release. Right now the dev version (1.4.0) 
> by default calls the 1.3.1 jars. 
> You can override it, but you either need to build the jars yourself (most R 
> users won't do it) or get them somewhere (but where?).
> Would it be possible to:
>  * Make the jars available in a maven repo (I would have assumed 
> [https://repository.apache.org/content/groups/snapshots/org/apache/sedona/sedona-core-3.0_2.13/]
>  from the documentation, but 1.4.0 isn't there)
>  * Have the dev version point to those jars
>  * Change to the regular repo for the release
> In terms of cache: will the jar cache system update the Sedona SNAPSHOT jars 
> if the name doesn't change?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to