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

Reverse substr is not working in SQL++. For eg: SUBSTR("abcdefg",-2) return abcdefg instead of fg.

    XMLWordPrintable

Details

    • Untriaged
    • No
    • CX Sprint 100, CX Sprint 115, CX Sprint 116

    Description

      Query: select SUBSTR("abcdefg",-2)

      SQL++:

      [
        {
          "$1": "abcdefg"
        }
      ]
      

      N1QL:

      [
        {
          "$1": "fg"
        }
      ]
      

      Attachments

        Issue Links

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

          Activity

            People

              tanzeem.ahmed Tanzeem Ahmed (Inactive)
              ritesh.agarwal Ritesh Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty