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

Apache Spark commented on SPARK-6739:
-------------------------------------

User 'tijoparacka' has created a pull request for this issue:
https://github.com/apache/spark/pull/5389

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to