You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@asterixdb.apache.org by Yingyi Bu <bu...@gmail.com> on 2015/10/08 19:57:41 UTC

FeedPolicyDropStatement

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

Re: FeedPolicyDropStatement

Posted by Raman Grover <ra...@gmail.com>.
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 <bu...@gmail.com> wrote:

> All right:-)
>
> Best,
> Yingyi
>
> On Thu, Oct 8, 2015 at 10:26 PM, abdullah alamoudi <ba...@gmail.com>
> 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 <bu...@gmail.com> 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

Re: FeedPolicyDropStatement

Posted by Yingyi Bu <bu...@gmail.com>.
All right:-)

Best,
Yingyi

On Thu, Oct 8, 2015 at 10:26 PM, abdullah alamoudi <ba...@gmail.com>
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 <bu...@gmail.com> 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
>>
>
>

Re: FeedPolicyDropStatement

Posted by abdullah alamoudi <ba...@gmail.com>.
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 <bu...@gmail.com> 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
>