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 2016/08/10 14:46:20 UTC

[jira] [Assigned] (SPARK-16997) Allow loading of JSON float values as TimestampType

     [ https://issues.apache.org/jira/browse/SPARK-16997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-16997:
------------------------------------

    Assignee: Apache Spark

> Allow loading of JSON float values as TimestampType
> ---------------------------------------------------
>
>                 Key: SPARK-16997
>                 URL: https://issues.apache.org/jira/browse/SPARK-16997
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Lukas Lalinsky
>            Assignee: Apache Spark
>
> This is currently only supported for integer types, which means I currently can't import floating point values as timestamps. The workaround is to load them as DoubleType and then cast them to TimestampType. It would be nice to support  this directly.
> I'm going to open a pull request to fix this.



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