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

[CX] A few functions are undefined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 5.5.0
    • CBAS DP
    • analytics
    • Untriaged
    • Unknown

    Description

      Query issued:
      SELECT ISSTR(name) as type_output FROM default_shadow;
       
      Result:
      "msg": "function null.ISSTR@1 is undefined "
       
       SELECT TOSTR(join_mo) month FROM default_shadow;
      "msg": "function null.TOSTR@1 is undefined "
       
       
      SELECT tonum("12.12") - tonum("0.12") as num;
      	"msg": "function null.tonum@1 is undefined "
       
      SELECT tobool("true") as boo;
      function null.tobool@1 is undefined "
       
       select now_str() as now;
      	"msg": "function null.now_str@0 is undefined "
       
       SELECT TYPENAME(name) as type_output FROM default_shadow;
      	"msg": "function null.TYPENAME@1 is undefined "
       
      select date_part_str(now_str(), "hour") as hour, date_part_str(now_str(),"minute") as minute, date_part_str(now_str(),"second") 
      	"msg": "function null.date_part_str@2 is undefined "
       
      select now_millis() as now;
         	"msg": "function null.now_millis@0 is undefined "
       
      select str_to_millis('2016-09-29') as now;
          	"msg": "function null.str_to_millis@1 is undefined "
       
      select millis_to_str(str_to_millis('2010-01-01')) as date;
      	"msg": "function null.millis_to_str@1 is undefined "
      

      Attachments

        Issue Links

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

          Activity

            People

              dmitry.lychagin Dmitry Lychagin (Inactive)
              Prerna.Manaktala Prerna Manaktala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty