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

Division by zero output must be controllable in N1QL

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Major
    • Morpheus
    • 5.5.0
    • query
    • None

    Description

      Division by zero behavior must be configurable. Currently, select 2/0 from beer-sample, returns null. It should be controllable to be either null or division by zero exception.

       

      select 2/2 from `beer-sample` returns 1

      but select 2/0 from `beer-sample` returns NULL

      Attachments

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

        Activity

          People

            ajay.bhullar Ajay Bhullar
            ianmccloy Ian McCloy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty