Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1409

substring-after doesn't work with data from dataset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • FUN - Functions
    • None

    Description

      This query:

      for $e in dataset externallibtest.Condor
      where not(is-null($e.RemoteHost))
      limit 1
      return substring-after($e.RemoteHost, "@")
      //return $e.RemoteHost
      

      Returns this error:

      Expects String Type. [AlgebricksException]
      

      The RemoteHost field is a String.

      Attachments

        Issue Links

          Activity

            People

              buyingyi Yingyi Bu
              cjgreen Christopher Green
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: