Marios Trivyzas created FLINK-24423:
---------------------------------------

             Summary: Cast from TIME to TIMESTAMP currently uses Epoch Date
                 Key: FLINK-24423
                 URL: https://issues.apache.org/jira/browse/FLINK-24423
             Project: Flink
          Issue Type: Sub-task
            Reporter: Marios Trivyzas


*.from(TIME(5), 
LocalTime.parse("12:34:56.1234567")).resultsIn(LocalDateTime.of(1970, 1, 1, 12, 
34, 56, 0))*

 

PostgreSQL doesn't allow such a cast, whereas Oracle uses the current system 
Date of the server.

 

Should we keep it as is, or zero out the year? so end up with: 

*LocalDateTime.of(0, 1, 1, 12, 34, 56, 0))*

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to