You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Steven Jacobs (JIRA)" <ji...@apache.org> on 2017/11/30 20:41:00 UTC

[jira] [Created] (ASTERIXDB-2181) Nothing prevents creation of unusable functions

Steven Jacobs created ASTERIXDB-2181:
----------------------------------------

             Summary: Nothing prevents creation of unusable functions
                 Key: ASTERIXDB-2181
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2181
             Project: Apache AsterixDB
          Issue Type: Bug
            Reporter: Steven Jacobs


The following DDL will work correctly, and create two functions that are currently unusable. It would be better to check whether a function is usable before creating it.

drop dataverse steven if exists;
create dataverse steven;
use steven;

create function impossible(){
(select * from something_that_is_not_there)
};
create function impossible2(){
function_that_is_not_there()
};




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)