Tijo Thomas created SPARK-6739:
----------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to