asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yingyi Bu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ASTERIXDB-1833) Builtin functions cannot be accessed in insert statement
Date Thu, 09 Mar 2017 20:48:37 GMT

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

Mime
View raw message