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

[jira] [Created] (SPARK-6875) Add support for Joda-time types

Patrick Grandjean created SPARK-6875:
----------------------------------------

             Summary: Add support for Joda-time types
                 Key: SPARK-6875
                 URL: https://issues.apache.org/jira/browse/SPARK-6875
             Project: Spark
          Issue Type: Improvement
          Components: SQL
            Reporter: Patrick Grandjean


The need comes from the following use case:

val objs: RDD[MyClass] = [...]

val sqlC = new org.apache.spark.sql.SQLContext(sc)
import sqlC._

objs.saveAsParquetFile("parquet")

MyClass contains joda-time fields. When saving to parquet file, an exception is thrown (matchError in ScalaReflection.scala).

Spark SQL supports java SQL date/time types. This request is to add support for Joda-time types.



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