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

String to NUMBER conversion should handle integers correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 6.6.3, 7.0.0
    • query
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      SELECT TO_NUMBER(TO_STR(1639300746363797500))
      "$1": 1639300746363797504

      https://forums.couchbase.com/t/number-ulong64-cas-value-conversion-issue/32406/10

      http://review.couchbase.org/c/go_json/+/143228 similar fix need in TO_NUMBER()

      Attachments

        Issue Links

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

          Activity

            People

              pierre.regazzoni Pierre Regazzoni
              Sitaram.Vemulapalli Sitaram Vemulapalli
              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