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)