alexott opened a new pull request #513:
URL: https://github.com/apache/incubator-sedona/pull/513


   ## Is this PR related to a proposed Issue?
   
   [SEDONA-21](https://issues.apache.org/jira/browse/SEDONA-21)
   
   ## What changes were proposed in this PR?
   
   With this change we can use Sedona UDFs/UDTs from Spark SQL, for example, 
from `spark-sql`
   or via Thrift server.  Just need to add following to command-line:
   
   ```
   --conf 
spark.sql.extensions=org.apache.sedona.viz.sql.SedonaVizExtensions,org.apache.sedona.sql.SedonaSqlExtensions
 \
   --conf spark.kryo.registrator=org.apache.spark.serializer.KryoSerializer \
   --conf 
spark.kryo.registrator=org.apache.sedona.viz.core.Serde.SedonaVizKryoRegistrator
   ```
   
   ## How was this patch tested?
   
   manual test using `spark-sql`
   
   ## Did this PR include necessary documentation updates?
   
   yes


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to