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

Add DEFAULT as keyword

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.6.0
    • 7.6.0
    • query
    • None
    • Untriaged
    • 0
    • No

    Description

      For (native) recursive CTE implementation, there is an optional CYCLE clause that includes the DEFAULT keyword:
      CYCLE <exprs> SET <expr> TO <expr> DEFAULT <expr>

      A potential issue with adding DEFAULT as keyword is that "default" is already used in other places without it being a keyword, e.g. as the default namespace name. Thus adding DEFAULT as keyword would normally require such uses to be quoted in backticks.

      To minimize impact to existing users we will add DEFAULT as a special keyword that still allows the normal uses of "default" as (equivalent to) an identifier.

      Attachments

        Issue Links

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

          Activity

            People

              bingjie.miao Bingjie Miao
              bingjie.miao Bingjie Miao
              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