You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/09/18 20:32:11 UTC

[jira] [Updated] (SPARK-10681) DateTimeUtils needs a method to parse string to SQL's timestamp value

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

Sean Owen updated SPARK-10681:
------------------------------
    Issue Type: Improvement  (was: Bug)

Dumb question, but isn't this just {{...getTime * 1000}}? does it need a special method, or are you just suggesting a convenience wrapper that does exactly that? Doesn't sound like a critical bug, or even critical?

> DateTimeUtils needs a method to parse string to SQL's timestamp value
> ---------------------------------------------------------------------
>
>                 Key: SPARK-10681
>                 URL: https://issues.apache.org/jira/browse/SPARK-10681
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Yin Huai
>            Priority: Critical
>
> Right now, {{DateTimeUtils.stringToTime}} returns a java.util.Date whose getTime returns milliseconds. It will be great if we have a method to parse string directly to SQL's timestamp value (microseconds).



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