Emre Colak created SPARK-17414:
----------------------------------

             Summary: Set type is not supported for creating data frames
                 Key: SPARK-17414
                 URL: https://issues.apache.org/jira/browse/SPARK-17414
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.0.0
            Reporter: Emre Colak
            Priority: Minor


For a case class that has a field of type Set, createDataFrame() method throws 
an exception saying "Schema for type Set is not supported". Exception is raised 
by the org.apache.spark.sql.catalyst.ScalaReflection class where Array, Seq and 
Map types are supported but Set is not. It would be nice to support Set here by 
default instead of having to write a custom Encoder.



--
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