[
https://issues.apache.org/jira/browse/ASTERIXDB-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steven Jacobs resolved ASTERIXDB-2181.
--------------------------------------
Resolution: Fixed
Assignee: Steven Jacobs
> 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
> Assignee: 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)