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

Incorrect format for timestamp literals in SqlDialect#quoteTimestampLiteral

    XMLWordPrintableJSON

Details

    Description

      The SqlDialect#quoteTimestampLiteral method uses the wrong format for standard SQL. Instead of "day of month" it uses "day of year", and instead of seconds is uses milliseconds. To fix this method, the format should be changed to: 

      yyyy-MM-dd HH:mm:ss

      Attachments

        Issue Links

          Activity

            People

              nobigo xiong duan
              freastro Gregory Hart
              Votes:
              0 Vote for this issue
              Watchers:
              7 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