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

[N1QL]ARRAY_DATE_RANGE erturns NULL if expression1 and expression2 are not similar

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Major
    • 4.6.0
    • 4.6.0
    • query
    • None
    • Build: 4.6.0-3376
    • Untriaged
    • Unknown

    Description

      Query:

      SELECT ARRAY_DATE_RANGE("2006-01-02 15:04:05.999+07:00", "2306-01-02", "century")
      SELECT ARRAY_DATE_RANGE("2006-01-02 15:04:05.999+07:00", "2306-01-02T15:04:05.999+07:00", "month")
      SELECT ARRAY_DATE_RANGE("2006-01-02T15:04:05", "2306-01-02T15:04:05.999+07:00", "day")
      

      Result:

      [
        {
          "$1": null
        }
      ]
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty