Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2DAB0200C54 for ; Wed, 12 Apr 2017 23:41:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2C2B7160B95; Wed, 12 Apr 2017 21:41:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 725F7160B85 for ; Wed, 12 Apr 2017 23:41:27 +0200 (CEST) Received: (qmail 48994 invoked by uid 500); 12 Apr 2017 21:41:26 -0000 Mailing-List: contact dev-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list dev@asterixdb.apache.org Received: (qmail 48982 invoked by uid 99); 12 Apr 2017 21:41:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Apr 2017 21:41:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 03E79181069 for ; Wed, 12 Apr 2017 21:41:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id fNnX1MDy1OBZ for ; Wed, 12 Apr 2017 21:41:24 +0000 (UTC) Received: from mail-pg0-f53.google.com (mail-pg0-f53.google.com [74.125.83.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A3BED5FAE1 for ; Wed, 12 Apr 2017 21:41:23 +0000 (UTC) Received: by mail-pg0-f53.google.com with SMTP id 21so20710038pgg.1 for ; Wed, 12 Apr 2017 14:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=3+xdv1wVw17oAQZFk/yTI1lo82EmsHYVPBLAShZCdhU=; b=Ixsr2vOrFOr7zHkiESvPn2r3zmVakEmJ1qDlZkOsd79X6Zu8JDH4teuuCQJY+AyMtU rzny4kn6YeTPXS+O2nxr1LcxBQZWv60jtAiHqph94Q6IpnPT+VK8876Jl7ACi82WcmT/ lI1ir6a1UPjvvQmm/RLMYpmh6mLtxC+mfyWO1SpwU4wbGvNP4d6ErRjy2DYZGJ3nOUy2 7YAWMkrQvoJgxQ2UAcWU0dljY6qRaQHV/WtQFuoH55dLGh1ZDrQk0DCXljdGnGoYlGq+ 9aJunu+YWWAdYBSu2fphxx7nUUUbdwSdfA1XWPmS1z/tS8MKBZ43JI1LUZp1ZkfAQmST Xebw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=3+xdv1wVw17oAQZFk/yTI1lo82EmsHYVPBLAShZCdhU=; b=ogs9o+dRntHHVoGOI+HRXacHIatU70S59vwU2X2CRD63X0M2k4/jBsKVXyjUmC7YDa /swzj9EBukhTq2J2Yl7cOUvp6qvT9jlq7BQ+aj1KFxr8uv07L2m6391hZ6ViWP2a/kSg bNNfcXHBt9tXUOY5wT9nGIgsHt+FeF4xE0N5Dbnll4wUetr7CXa4rb9eTmJ/bi72sG2w h5X95AiVfkYXVYOiF3ufeXRHFIu62OwEi5aPXIB0V+gU4lvihEXV+CsPhb389r8ne5XO OPW0o2i245hq1jzsNu5e7aJuKpyiZrYpLXcBrzZad1y0LPU40bSSZrQCVksZixE6QBsj bzjg== X-Gm-Message-State: AN3rC/4y8R/2M/l6X3tdvd5oB1LlAG4wETennzXpRbcBucQPXOnyWpP5vF5O71sOWLE9vA== X-Received: by 10.84.213.137 with SMTP id g9mr23779183pli.53.1492033282615; Wed, 12 Apr 2017 14:41:22 -0700 (PDT) Received: from dhcp-053198.ics.uci.edu (dhcp-053198.ics.uci.edu. [128.195.53.198]) by smtp.googlemail.com with ESMTPSA id h25sm38279109pfk.119.2017.04.12.14.41.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Apr 2017 14:41:21 -0700 (PDT) Subject: Re: When is it appropirate to add reserved words to the AQL/SQL++ Grammar? To: dev@asterixdb.apache.org References: <9E61D7CA-57D3-4555-BB26-2FEBA0015954@gmail.com> From: Mike Carey Message-ID: <667cbe8c-6907-2cb7-6299-cae26b224e3e@gmail.com> Date: Wed, 12 Apr 2017 14:41:21 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------8358E0B4F222BB317F2C03D9" archived-at: Wed, 12 Apr 2017 21:41:28 -0000 --------------8358E0B4F222BB317F2C03D9 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit So you want to basically quiesce a dataset "all the way" - so that it's not open at all, and perhaps so that the buffer pool also has none of its pages resident? On 4/12/17 2:26 PM, Ian Maxon wrote: > That's a little different than from what I'd like to do. Basically I > want to evict the dataset entirely. My alterior motive here is to test > the correctness of persisted storage artifacts as right now in many > cases this is not covered. It has been a recurring theme in many bugs > that there is some stored artifact on disk that is written incorrectly > but never read during tests, because often the tests simply never > encounter the path in which this would occur (restart,eviction, etc.) > > On Wed, Apr 12, 2017 at 1:46 PM, Ildar Absalyamov > wrote: >> Ian, >> >> There is an existing API, which does exactly that. https://github.com/apache/asterixdb/blob/master/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/server/ConnectorApiServlet.java#L123 >> I have been successfully using it in my experiments. >> >>> On Apr 12, 2017, at 13:41, Ian Maxon wrote: >>> >>> Hey all, >>> I was working on a patch that would add a 'flush dataset' DDL command >>> (mainly for testing), and of course this would require adding 'flush' >>> as a new reserved word. What is the consensus on when this would be >>> permitted at this point? There are other ways to do this, of course, I >>> could expose this functionality through a separate API, and I am not >>> really partial to one solution or the other. >>> >>> Thanks, >>> - Ian >> Best regards, >> Ildar >> --------------8358E0B4F222BB317F2C03D9--