You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "L. C. Hsieh (Jira)" <ji...@apache.org> on 2019/11/18 12:21:00 UTC

[jira] [Created] (SPARK-29946) Special serialization for certain key types of Map type in JacksonGenerator

L. C. Hsieh created SPARK-29946:
-----------------------------------

             Summary: Special serialization for certain key types of Map type in JacksonGenerator
                 Key: SPARK-29946
                 URL: https://issues.apache.org/jira/browse/SPARK-29946
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: L. C. Hsieh


Currently JacksonGenerator serializes MapType to JSON, the key of map is serialized by calling toString() of the key. For some types, like UnsafeRow, the toString is not human readable. So currently the map key in JSON is not very useful for some types.

We should do special serialization for certain key types of Map.





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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org