You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tijo Thomas (JIRA)" <ji...@apache.org> on 2015/04/07 13:25:12 UTC

[jira] [Comment Edited] (SPARK-6739) Spark SQL Example gives errors due to missing import of Types org.apache.spark.sql.types

    [ https://issues.apache.org/jira/browse/SPARK-6739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14483034#comment-14483034 ] 

Tijo Thomas edited comment on SPARK-6739 at 4/7/15 11:25 AM:
-------------------------------------------------------------

Please close this duplicate issue
How ever the previous fix is not reflecting in the documentation.


was (Author: tijo paracka):
Please close this duplicate issue

> Spark SQL Example gives errors due to missing import of Types org.apache.spark.sql.types
> ----------------------------------------------------------------------------------------
>
>                 Key: SPARK-6739
>                 URL: https://issues.apache.org/jira/browse/SPARK-6739
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation, SQL
>    Affects Versions: 1.3.0
>            Reporter: Tijo Thomas
>            Priority: Trivial
>
> Missing import  in example script under the section "Programmatically Specifying the Schema"
> scala> val schema =
>      |   StructType(
>      |     schemaString.split(" ").map(fieldName => StructField(fieldName, StringType, true)))
> <console>:25: error: not found: value StructType
>          StructType(
>          ^



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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