[ https://issues.apache.org/jira/browse/SPARK-10681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15557832#comment-15557832 ]
Hyukjin Kwon commented on SPARK-10681: -------------------------------------- Hm, doesn't {{DateTimeUtils.stringToTimestamp}} handle this? (although it takes {{UTF8String}}) > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org