You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "JimShady (via GitHub)" <gi...@apache.org> on 2024/07/08 14:28:54 UTC
[I] 1.6.0 documentation needs update? [sedona]
JimShady opened a new issue, #1513:
URL: https://github.com/apache/sedona/issues/1513
Running the commands here:
https://sedona.apache.org/1.6.0/setup/databricks/#initialize
```
from sedona.register.geo_registrator import SedonaRegistrator
SedonaRegistrator.registerAll(spark)
```
Gives the message:
```
/root/.ipykernel/1693/command-801172697299958-79051556:2: DeprecationWarning: Call to deprecated function registerAll (Deprecated since 1.4.1, use SedonaContext.create() instead.).
SedonaRegistrator.registerAll(spark)
```
I guess that the documentation needs updating?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sedona.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 1.6.0 documentation needs update? [sedona]
Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu commented on issue #1513:
URL: https://github.com/apache/sedona/issues/1513#issuecomment-2214240554
You are right. The latest usage is here: https://sedona.apache.org/1.6.0/tutorial/sql/#initiate-sedonacontext
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 1.6.0 documentation needs update? [sedona]
Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu commented on issue #1513:
URL: https://github.com/apache/sedona/issues/1513#issuecomment-2214255746
Yes, all you need is
```
from sedona.spark import *
sedona = SedonaContext.create(spark)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 1.6.0 documentation needs update? [sedona]
Posted by "JimShady (via GitHub)" <gi...@apache.org>.
JimShady commented on issue #1513:
URL: https://github.com/apache/sedona/issues/1513#issuecomment-2214479936
Thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 1.6.0 documentation needs update? [sedona]
Posted by "JimShady (via GitHub)" <gi...@apache.org>.
JimShady commented on issue #1513:
URL: https://github.com/apache/sedona/issues/1513#issuecomment-2214241776
Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 1.6.0 documentation needs update? [sedona]
Posted by "JimShady (via GitHub)" <gi...@apache.org>.
JimShady closed issue #1513: 1.6.0 documentation needs update?
URL: https://github.com/apache/sedona/issues/1513
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 1.6.0 documentation needs update? [sedona]
Posted by "JimShady (via GitHub)" <gi...@apache.org>.
JimShady commented on issue #1513:
URL: https://github.com/apache/sedona/issues/1513#issuecomment-2214245765
Though running on Databricks, I now get this error:
NameError: name 'config' is not defined
I guess I need to do something to create config before.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 1.6.0 documentation needs update? [sedona]
Posted by "JimShady (via GitHub)" <gi...@apache.org>.
JimShady commented on issue #1513:
URL: https://github.com/apache/sedona/issues/1513#issuecomment-2214249036
Ah it looks like I can just replace 'config' with 'spark' like this.
```
from sedona.spark import *
sedona = SedonaContext.create(spark)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org