[ 
https://issues.apache.org/jira/browse/SPARK-10681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876170#comment-14876170
 ] 

Sean Owen commented on SPARK-10681:
-----------------------------------

Oh right, I understand. This is very related and just merged: 
https://issues.apache.org/jira/browse/SPARK-9794  The bad news there is the 
nice correct utility method produces a {{Calendar}} which AFAIK does not 
support microsecond precision. That could be sticky to support.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to