You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Rui Li (Jira)" <ji...@apache.org> on 2024/01/18 09:42:00 UTC

[jira] [Created] (FLINK-34147) TimestampData to/from LocalDateTime is ambiguous

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)