[ 
https://issues.apache.org/jira/browse/ASTERIXDB-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254932#comment-15254932
 ] 

ASF subversion and git services commented on ASTERIXDB-1409:
------------------------------------------------------------

Commit eb2170ea1e766446a0253f00317330977035d1b0 in incubator-asterixdb's branch 
refs/heads/master from [~buyingyi]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-asterixdb.git;h=eb2170e ]

ASTERIXDB-1409: fix the type check for functions with two string arguments.

Change-Id: Idd36d9f5ee0f7d6d20afdff2e0669d6be6c6769b
Reviewed-on: https://asterix-gerrit.ics.uci.edu/829
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Reviewed-by: Yingyi Bu <buyin...@gmail.com>


> 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)

Reply via email to