MaxGekk commented on issue #24342: [SPARK-27438][SQL] Parse strings with 
timestamps by to_timestamp() in microsecond precision
URL: https://github.com/apache/spark/pull/24342#issuecomment-484992279
 
 
   I implemented an expression which just parses a string to timestamp, and 
used it in `ParseToTimestamp` as you pointed out above but one of tests failed 
here: 
https://github.com/apache/spark/blob/1470f23ec93f13d6c847832c06d40f8fc9803129/sql/core/src/test/scala/org/apache/spark/sql/DateFunctionsSuite.scala#L652-L653
 . Should we support `to_timestamp` applied to non-string column with a pattern 
as second parameter? Does it make sense? Just in case, I tried to call 
different constructors using type of the first argument, but it doesn't work.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to