Kontinuation commented on issue #1764:
URL: https://github.com/apache/sedona/issues/1764#issuecomment-2633313993

   You need to add additional configuration options when starting the Spark 
Connect server to load Sedona's Spark SQL extension:
   
   ```
   ./sbin/start-connect-server.sh --packages 
org.apache.spark:spark-connect_2.12:3.5.0,org.apache.sedona:sedona-spark-shaded-3.5_2.12:1.7.0,org.datasyslab:geotools-wrapper:1.7.0-28.5,org.postgresql:postgresql:42.7.4
 --repositories https://artifacts.unidata.ucar.edu/repository/unidata-all 
--executor-memory 28G \
   --conf spark.serializer=org.apache.spark.serializer.KryoSerializer \
   --conf 
spark.kryo.registrator=org.apache.sedona.core.serde.SedonaKryoRegistrator \
   --conf spark.sql.extensions=org.apache.sedona.sql.SedonaSqlExtensions
   ```
   
   This will make ST_ functions available in Spark Connect sessions.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to