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

value exceeds MAXINT64 it truncates

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.1, 5.0.0
    • 4.5.1, 5.0.0
    • query
    • None
    • Untriaged
    • Unknown

    Description

      insert into default values("k02",

      { "id":9223372036854775808 }

      ); — Any value grater than MAXINT64 value truncates to MAXINT64. Is this right behavior?
      insert into default values("k04",

      { "id":19223372036854775808 }

      ); — same as above
      Select sum(id) from default; — SUM exceeds MAXINT64 the value is truncated (returned value is -2). Is this right? Or it needs move to float64?

      Attachments

        Issue Links

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

          Activity

            People

              Prerna.Manaktala Prerna Manaktala (Inactive)
              Sitaram.Vemulapalli Sitaram Vemulapalli
              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