flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] lamber-ken commented on issue #7180: [FLINK-11010] [TABLE] Flink SQL timestamp is inconsistent with currentProcessingTime()
Date Sun, 02 Dec 2018 01:32:15 GMT
lamber-ken commented on issue #7180: [FLINK-11010] [TABLE] Flink SQL timestamp is inconsistent
with currentProcessingTime()
URL: https://github.com/apache/flink/pull/7180#issuecomment-443472946
 
 
   Thanks for review @walterdd. Yes, Ok, I'm very glad to.
   
   read more about   [Calcite SqlFunctions#internalToTime](https://github.com/apache/calcite/blob/1d2929105f47b944c65529fe59b3072cce167116/core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java#L1751).
   
    and if I give it an event time with unix timestamp 0, then I got the Timestamp(-28800000).
I am confused why `internalToTimestamp` need to subtract the offset?
   
   

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


With regards,
Apache Git Services

Mime
View raw message