[jira] [Commented] (SPARK-6475) DataFrame should support array types when creating DFs from JavaBeans.
[ https://issues.apache.org/jira/browse/SPARK-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14501609#comment-14501609 ] Punya Biswal commented on SPARK-6475: - Would it be reasonable to recognize Java iterables and maps as well? I'd be happy to work on a PR if that seems like a good idea. > DataFrame should support array types when creating DFs from JavaBeans. > -- > > Key: SPARK-6475 > URL: https://issues.apache.org/jira/browse/SPARK-6475 > Project: Spark > Issue Type: Improvement > Components: SQL >Reporter: Xiangrui Meng >Assignee: Xiangrui Meng > Fix For: 1.4.0 > > > If we have a JavaBean class with array fields, SQL throws an exception in > `createDataFrame` because arrays are not matched in `getSchema` from a > JavaBean class. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-6475) DataFrame should support array types when creating DFs from JavaBeans.
[ https://issues.apache.org/jira/browse/SPARK-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14376780#comment-14376780 ] Apache Spark commented on SPARK-6475: - User 'mengxr' has created a pull request for this issue: https://github.com/apache/spark/pull/5146 > DataFrame should support array types when creating DFs from JavaBeans. > -- > > Key: SPARK-6475 > URL: https://issues.apache.org/jira/browse/SPARK-6475 > Project: Spark > Issue Type: Improvement > Components: DataFrame, SQL >Reporter: Xiangrui Meng >Assignee: Xiangrui Meng > > If we have a JavaBean class with array fields, SQL throws an exception in > `createDataFrame` because arrays are not matched in `getSchema` from a > JavaBean class. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org