You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Leonard Xu (Jira)" <ji...@apache.org> on 2021/03/27 07:43:00 UTC

[jira] [Created] (CALCITE-4554) TIMESTAMP WITH LOCAL TIME ZONE type is not supported in Snapshot and MatchRecognize validation

Leonard Xu created CALCITE-4554:
-----------------------------------

             Summary: TIMESTAMP WITH LOCAL TIME ZONE type is not supported in Snapshot and  MatchRecognize validation
                 Key: CALCITE-4554
                 URL: https://issues.apache.org/jira/browse/CALCITE-4554
             Project: Calcite
          Issue Type: Improvement
            Reporter: Leonard Xu


When I plan to support `TIMESTAMP WITH LOCAL TIME ZONE`  type in Flink project , I found  only `TIMESTAMP` is supported in system period type of `Snapshot` node and   first orderBy column type of `MatchRecognize` node in Calcite.  So I have to override the class  `org.apache.calcite.sql.validate.SqlValidatorImpl` to skip the validate logic. 

Both `TIMESTAMP` and `TIMESTAMP WITH LOCAL TIME ZONE` belong to `SqlTypeFamily.TIMESTAMP`, Could we also support `TIMESTAMP WITH LOCAL TIME ZONE` in these situation? 



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