Christopher Green created ASTERIXDB-1409:
--------------------------------------------
Summary: 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
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)