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] [Assigned] (ASTERIXDB-1833) Builtin functions cannot be accessed in insert statement
Date Thu, 09 Mar 2017 20:51:38 GMT

     [ https://issues.apache.org/jira/browse/ASTERIXDB-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yingyi Bu reassigned ASTERIXDB-1833:
------------------------------------

       Assignee: Yingyi Bu
       Priority: Minor  (was: Major)
    Description: 
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]


  was:

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]



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