You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/03/16 22:55:04 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-29946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun updated SPARK-29946:
----------------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.1.0

> 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.1.0
>            Reporter: L. C. Hsieh
>            Priority: Major
>         Attachments: image-2019-11-18-16-54-46-341.png
>
>
> 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