Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4554

TIMESTAMP WITH LOCAL TIME ZONE type is not supported in Snapshot and MatchRecognize validation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.35.0
    • None

    Description

      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 situations?

      Attachments

        Issue Links

          Activity

            People

              Sergey Nuyanzin Sergey Nuyanzin
              leonard Leonard Xu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m