You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:23:22 UTC
[jira] [Updated] (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 ]
Hyukjin Kwon updated SPARK-16997:
---------------------------------
Labels: bulk-closed (was: )
> 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
> Priority: Major
> Labels: bulk-closed
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org