jiayuasu commented on pull request #516:
URL: https://github.com/apache/incubator-sedona/pull/516#issuecomment-861917061


   > Hi @jiayuasu ,
   > I'm trying to pass this 
[test](https://github.com/apache/incubator-sedona/pull/516/commits/7597353d6de83ac0428edd4810cb9df81801186a#diff-5e924912624bfe719e43e0dada306e50a9cbb3681bec134ace263214d85fe0d5R55),
 but I encountered a problem because I have two SparkSessions which always the 
first one (from TestBaseScala.scala) loads first, and failed the test.
   > It failed because the default serde is SHAPE, and this test will be pass 
only if the serde is WKB.
   > 
   > I need to find a way to change the spark.kryo.registrator and the 
sedona.serializer.type to use the WKB serde.
   > 
   > Do you have any ideas on how to make it work?
   > I tried to:
   > 
   > 1. Stop the SparkSession before I started to run the test (using 
beforeEach)
   > 2. Getting the current sparkSession and stop it (using 
SparkSession.getActiveSession.get)
   
   I don't have any solution for now. Let me explore it a bit and see what I 
can do.


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


Reply via email to