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

[jira] [Assigned] (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:all-tabpanel ]

Apache Spark reassigned SPARK-6739:
-----------------------------------

    Assignee:     (was: Apache Spark)

> 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