You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "Netanel Malka (Jira)" <ji...@apache.org> on 2021/03/29 21:02:00 UTC

[jira] [Created] (SEDONA-28) Add WKB serializer in RDD and SQL API and let the user choose the SerDe

Netanel Malka created SEDONA-28:
-----------------------------------

             Summary: Add WKB serializer in RDD and SQL API  and let the user choose the SerDe
                 Key: SEDONA-28
                 URL: https://issues.apache.org/jira/browse/SEDONA-28
             Project: Apache Sedona
          Issue Type: Task
            Reporter: Netanel Malka
            Assignee: Netanel Malka


Add WKB serializer as an optional serializer and use the old Serde as the default SerDe for both Core and SQL. The user should only use it if they use geometries that are currently not supported by the old Serde.
The user should be able to choose the serializer as follows

.config("spark.serializer", classOf[KryoSerializer].getName) // org.apache.spark.serializer.KryoSerializer
.config("spark.kryo.registrator", classOf[SedonaKryoRegistrator].getName)
.config("spark.serializer", classOf[KryoSerializer].getName) // org.apache.spark.serializer.KryoSerializer
.config("spark.kryo.registrator", classOf[SedonaWKBKryoRegistrator].getName)
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)