[
https://issues.apache.org/jira/browse/SPARK-6992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14501173#comment-14501173
]
Olivier Girardot commented on SPARK-6992:
-----------------------------------------
Hi Sean,
same doc but different place and different issue, c.f.
http://apache-spark-developers-list.1001551.n3.nabble.com/BUG-1-3-0-org-apache-spark-sql-Row-Does-not-exist-in-Java-API-td11655.html
The main issue being that the Trait were referenced instead of the Java factory
methods : DataType => DataTypes and Row => RowFactory
This time I checked the example (the programmatically defined schema example)
and everything seems to work fine in Java.
> Spark SQL documentation for programmatically adding a Schema is broken for
> Java API
> -----------------------------------------------------------------------------------
>
> Key: SPARK-6992
> URL: https://issues.apache.org/jira/browse/SPARK-6992
> Project: Spark
> Issue Type: Bug
> Components: Documentation
> Affects Versions: 1.3.0, 1.3.1, 1.3.2
> Reporter: Olivier Girardot
> Assignee: Olivier Girardot
> Priority: Minor
> Fix For: 1.3.2, 1.4.0
>
>
> The Java example for the documentation is not compiling mainly because
> Row.create and DataType is used instead of RowFactory and DataTypes.
> I'll create the corresponding pull request on branch-1.3
> Regards,
> Olivier.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]