[ https://issues.apache.org/jira/browse/ASTERIXDB-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yingyi Bu resolved ASTERIXDB-1409. ---------------------------------- Resolution: Fixed > substring-after doesn't work with data from dataset > --------------------------------------------------- > > Key: ASTERIXDB-1409 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1409 > Project: Apache AsterixDB > Issue Type: Bug > Components: Functions - AQL > Reporter: Christopher Green > Assignee: Yingyi Bu > > This query: > {code} > for $e in dataset externallibtest.Condor > where not(is-null($e.RemoteHost)) > limit 1 > return substring-after($e.RemoteHost, "@") > //return $e.RemoteHost > {code} > Returns this error: > {code} > Expects String Type. [AlgebricksException] > {code} > The RemoteHost field is a String. -- This message was sent by Atlassian JIRA (v6.3.4#6332)