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

[N1QL] DATE_FORMAT_STR does not return expression in given format

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 5.0.0
    • 4.6.0
    • query
    • Build Version: 4.6.0-3376
    • Untriaged
    • Unknown

    Description

      Query:

      SELECT DATE_FORMAT_STR("2006-01-02 15:04:05+07:00", "2006-01-02 15:04:05Z07:00");
      

      returns:

      {
          "requestID": "c85a4243-731f-41a3-9be0-55f80a074da9",
          "clientContextID": "40b15863-08bc-4840-81c7-3a8122400435",
          "signature": {
              "$1": "string"
          },
          "results": [
              {
                  "$1": "2006-01-02T15:04:05+07:00"
              }
          ],
          "status": "success",
          "metrics": {
              "elapsedTime": "522.732µs",
              "executionTime": "491.719µs",
              "resultCount": 1,
              "resultSize": 57
          }
      }
      

      Attachments

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

        Activity

          People

            isha Isha Kandaswamy (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