Return-Path: X-Original-To: apmail-asterixdb-dev-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B5D218C1E for ; Fri, 9 Oct 2015 07:56:13 +0000 (UTC) Received: (qmail 52807 invoked by uid 500); 9 Oct 2015 07:56:13 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 52760 invoked by uid 500); 9 Oct 2015 07:56:13 -0000 Mailing-List: contact dev-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list dev@asterixdb.incubator.apache.org Received: (qmail 52748 invoked by uid 99); 9 Oct 2015 07:56:12 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2015 07:56:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7746DC0041 for ; Fri, 9 Oct 2015 07:56:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.15 X-Spam-Level: *** X-Spam-Status: No, score=3.15 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id v4Us3Ygk-TuP for ; Fri, 9 Oct 2015 07:56:08 +0000 (UTC) Received: from mail-io0-f170.google.com (mail-io0-f170.google.com [209.85.223.170]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 5CE87439DF for ; Fri, 9 Oct 2015 07:56:08 +0000 (UTC) Received: by iofl186 with SMTP id l186so1920391iof.2 for ; Fri, 09 Oct 2015 00:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NkJiFEN3UGdLudFi5QjAfB+Sf3zzUfxN41wecOL87Lo=; b=taXVKf0/rYouCICDxBn0F5zaoPZ2TL4y+t6kRxIOhcXAKx4mALvL7XU5bLCVm2KjAO AGtvJqxoOy4Y3UfOTogNH32oLMfvjkyRS0KA2o6z1p1YqRmts+8iI4d23uNPuBEtSVjC tsOyrBCoriHy1IlZwishmwCP75m09v1ZOkkQKx419m/BuStzedAF3JaqCaym43+PtQFF 7rOlhOdbrrLUlNpCs3uc5g2nmYRtJ0Pv19VMhsfqtl70psnjqqj5CprKdDOy85WJws/R iN+/ZTaT4DYmN7/lv3neqJz70fIbGmrPI6ldRLMUcsobU/8p9oE7NzglN6qbi+UJksXP tgjA== MIME-Version: 1.0 X-Received: by 10.107.14.14 with SMTP id 14mr13614651ioo.6.1444377367865; Fri, 09 Oct 2015 00:56:07 -0700 (PDT) Received: by 10.107.147.138 with HTTP; Fri, 9 Oct 2015 00:56:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Oct 2015 00:56:07 -0700 Message-ID: Subject: Re: FeedPolicyDropStatement From: Raman Grover To: Yingyi Bu Cc: abdullah alamoudi , dev@asterixdb.incubator.apache.org, Heri Ramampiaro Content-Type: multipart/alternative; boundary=001a1140a5e8eef25a0521a74f38 --001a1140a5e8eef25a0521a74f38 Content-Type: text/plain; charset=UTF-8 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 (?).); e.g. drop feed policy myDatavese.myCustomPolicy; On Thu, Oct 8, 2015 at 10:57 PM, Yingyi Bu wrote: > All right:-) > > Best, > Yingyi > > On Thu, Oct 8, 2015 at 10:26 PM, abdullah alamoudi > 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 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 --001a1140a5e8eef25a0521a74f38--