Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-22536

DATE_RANGE_STR() and DATE_RANGE_MILLIS() give wrong results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.6.2, 5.0.0
    • 4.6.0, 5.0.0
    • query
    • None
    • Untriaged
    • Unknown
    • Query-Sprint-02-13-2018

    Description

      This query gives wrong results at the end.

      select date_range_str("1980-01-01", "9999-12-31", "year");

      The later years have 5 digits.

      Attachments

        Issue Links

          Activity

            People

              prasanna.gholap Prasanna Gholap [X] (Inactive)
              gerald Gerald Sangudi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty