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 2020/09/11 22:41:00 UTC
[jira] [Commented] (SPARK-32860) Encoders::bean doc incorrectly
states maps are not supported
[ https://issues.apache.org/jira/browse/SPARK-32860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194551#comment-17194551 ]
L. C. Hsieh commented on SPARK-32860:
-------------------------------------
I think so. Java bean encoder supports map. Would you like to submit a PR to fix it?
> Encoders::bean doc incorrectly states maps are not supported
> ------------------------------------------------------------
>
> Key: SPARK-32860
> URL: https://issues.apache.org/jira/browse/SPARK-32860
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.4.6, 3.0.1
> Reporter: Dan Ziemba
> Priority: Trivial
>
> The documentation for the bean method in the Encoders class currently states:
> {quote}collection types: only array and java.util.List currently, map support is in progress
> {quote}
> But map support appears to work properly and has been available since 2.1.0 according to SPARK-16706. Documentation should be updated to match what is / is not actually supported (Set, Queue, etc?).
--
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