Rui Li created FLINK-34147:
------------------------------

             Summary: TimestampData to/from LocalDateTime is ambiguous
                 Key: FLINK-34147
                 URL: https://issues.apache.org/jira/browse/FLINK-34147
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
            Reporter: Rui Li


It seems TimestampData is essentially an {{Instant}}. Therefore an implicit 
time zone is used in the {{fromLocalDateTime}} and {{toLocalDateTime}} methods. 
However neither the method name nor the API doc indicates which time zone is 
used. So from caller's perspective, the results of these two methods are 
ambiguous.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to