You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Xikui Wang (JIRA)" <ji...@apache.org> on 2017/08/22 23:35:00 UTC

[jira] [Closed] (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:all-tabpanel ]

Xikui Wang closed ASTERIXDB-1833.
---------------------------------
    Resolution: Fixed

No need to fix for AQL.

> 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
>            Assignee: Yingyi Bu
>            Priority: Minor
>
> drop dataverse test if exists;
> create dataverse test;
> use dataverse test;
> create type TopicType as open {
> 	tid: int
> }
> create dataset Topic(TopicType) primary key tid;
> 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.4.14#64029)