Xikui Wang created ASTERIXDB-1914:
-------------------------------------

             Summary: Function dependency check when delete function
                 Key: ASTERIXDB-1914
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1914
             Project: Apache AsterixDB
          Issue Type: Improvement
            Reporter: Xikui Wang


When we remove a function from AsterixDB, we don't check whether this function 
is being used in other functions. A patch soon to be merged contains a 
reference count change to function meta data. We can use this for checking the 
function usages. Currently, following scenarios are not properly handled:
1. Remove function that is being used by other function
function A() {
B();
}
drop function B

2. Drop function that is used by other function which is used by feed (Actually 
it's the same as 1)
function A() {
B();
}
connect Feed to Dataset apply function A;
drop function B;



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to