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

[CX] Invalid infinity value in DP3 documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • CBAS DP3
    • CBAS DP3
    • analytics
    • None
    • Untriaged
    • Unknown
    • CX Sprint 69, CX Sprint 70

    Description

      DP3 documentation has incorrect example of infinity double values in

      http://docs.couchbase.com/prerelease/analytics-dp3/9_data_type.html

      It says for DOUBLE/FLOAT types:

      • Example:
        {{ { "v1": double("NaN"), "v2": double("INF"), "v3": double("-INF"), "v4": "-2013.593823748327284" }; }}
      • The expected result is:
        {{ { "v1": "NaN", "v2": "Infinity", "v3": "-Infinity", "v4": -2013.5938237483274 }}}

       

      However we serialize INF/-INF as INF/-INF, instead of Infitity/-Infinity. It was changed by https://issues.apache.org/jira/browse/ASTERIXDB-2000

      Attachments

        For Gerrit Dashboard: MB-25954
        # Subject Branch Project Status CR V

        Activity

          People

            till Till Westmann
            dmitry.lychagin Dmitry Lychagin (Inactive)
            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