netanelma-tr commented on pull request #516: URL: https://github.com/apache/incubator-sedona/pull/516#issuecomment-847583249
> This is great. I wonder if this will lead to any performance downgrade since we need to fetch the conf for every ser/deser? I was thinking to fetch the conf once only in the package level using the scala package object feature: [package-objects](https://docs.scala-lang.org/tour/package-objects.html) But I have two issues now: 1. I need a SparkConf object which I don't have access to it at the package level. 2. I don't have access to spark session from the Spark SQL functions, e.g: [Constructors.scala](https://github.com/apache/incubator-sedona/blob/master/sql/src/main/scala/org/apache/spark/sql/sedona_sql/expressions/Constructors.scala) I would appreciate any thoughts you have. -- 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: [email protected]
