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

[BP to 7.1.1] - Negative integer in the 64bit range causes rounding

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes

    Description

      Add the document key "f01"  value {"c1":-5106534569952410475 } via UI
       
      select d.c1 from default d USE KEYS "f01" ; 

      int64 range -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

      negative range length is 20  

      https://github.com/couchbase/go_json/blob/master/simple.go#L339  negative account for sign

      Attachments

        Issue Links

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

          Activity

            People

              Donald.haggart Donald Haggart
              Donald.haggart Donald Haggart
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty