The handling of the statement is implemented in AqlTranslator and is useful in dropping of user-defined feed ingestion policies. The statement needs handling in the Aql.jj file. (drop feed policy (<identified>?).<identifier>); e.g. drop feed policy myDatavese.myCustomPolicy;
On Thu, Oct 8, 2015 at 10:57 PM, Yingyi Bu <[email protected]> wrote: > All right:-) > > Best, > Yingyi > > On Thu, Oct 8, 2015 at 10:26 PM, abdullah alamoudi <[email protected]> > wrote: > >> Please don't. I think we need it for when users want to delete user >> defined policies. >> I will take a look at it very soon. >> >> Thanks, >> Abdullah. >> >> Amoudi, Abdullah. >> >> On Thu, Oct 8, 2015 at 8:57 PM, Yingyi Bu <[email protected]> wrote: >> >>> I just found that the FeedPolicyDropStatement is not used in the AQL >>> parser (AQL.jj) nor anywhere else: >>> >>> https://github.com/apache/incubator-asterixdb/blob/master/asterix-aql/src/main/java/org/apache/asterix/aql/expression/FeedPolicyDropStatement.java >>> >>> Do we still need that statement? If not, I will remove it. >>> >>> Best, >>> Yingyi >>> >> >> > -- Raman
