[ https://issues.apache.org/jira/browse/FLINK-24423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496052#comment-17496052 ]
Francesco Guardiani commented on FLINK-24423: --------------------------------------------- Ok makes sense, maybe is it worth to be added here? https://github.com/apache/flink/pull/18813 > 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 > Priority: Major > > *.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.20.1#820001)