You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Yingyi Bu (JIRA)" <ji...@apache.org> on 2017/03/09 20:48:37 UTC

[jira] [Commented] (ASTERIXDB-1833) Builtin functions cannot be accessed in insert statement

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

Yingyi Bu commented on ASTERIXDB-1833:
--------------------------------------

[~idleft]  I think you're using AQL.  It should work in SQL++.

> Builtin functions cannot be accessed in insert statement
> --------------------------------------------------------
>
>                 Key: ASTERIXDB-1833
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1833
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Xikui Wang
>
> CREATE TYPE TopicType AS {
> 	id: int
> }
> CREATE DATASET Topic(TopicType) PRIMARY KEY id;
> use dataverse OldWorld;
> insert into dataset Topic({
> "tid":"123",
> "desc": regexp_replace("123 123", " ", "T")}
> )
> Exception:
>  Unknown function regexp_replace@3 [CompilationException]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)