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

CLOCK_MILLIS() and NOW_MILLIS() not corrected upto decimal places as par with N1QL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Trivial
    • 6.0.0
    • 6.0.0
    • analytics
    • Untriaged
    • Unknown

    Description

      For CLOCK_MILLIS() and NOW_MILLIS() response is correct upto the 4 decimal places in N1QL

      SELECT NOW_MILLIS() AS CurrentTime;
       
      [
      {
      "CurrentTime": 1532333895628
      }
      ]
       
      SELECT CLOCK_MILLIS() AS CurrentTime;
      [
      {
      "CurrentTime": 1532334078778
      }
      ]

      Response from N1QL

      SELECT NOW_MILLIS() AS CurrentTime;
      [
      {
      "CurrentTime": 1532334118099.8877
      }
      ]
       
      SELECT CLOCK_MILLIS() AS CurrentTime;
      [
      {
      "CurrentTime": 1532334145989.153
      }
      ]

      Attachments

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

        Activity

          People

            till Till Westmann
            vikas.chaudhary Vikas Chaudhary
            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