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 5AF4F200D56 for ; Tue, 28 Nov 2017 07:10:53 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 59948160C14; Tue, 28 Nov 2017 06:10:53 +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 9E8B2160C13 for ; Tue, 28 Nov 2017 07:10:52 +0100 (CET) Received: (qmail 95409 invoked by uid 500); 28 Nov 2017 06:10:51 -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 95397 invoked by uid 99); 28 Nov 2017 06:10:51 -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; Tue, 28 Nov 2017 06:10:51 +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 76582180624 for ; Tue, 28 Nov 2017 06:10:50 +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 XxlywdazLGw6 for ; Tue, 28 Nov 2017 06:10:49 +0000 (UTC) Received: from mail-ot0-f180.google.com (mail-ot0-f180.google.com [74.125.82.180]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 53C255F23E for ; Tue, 28 Nov 2017 06:10:47 +0000 (UTC) Received: by mail-ot0-f180.google.com with SMTP id s4so26493280ote.4 for ; Mon, 27 Nov 2017 22:10:47 -0800 (PST) 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:content-language; bh=gefFCAGMrMfMtBBuYW4vtMooSvfy5CBSuulIF0GKqTQ=; b=l2S7XQJ+0AcUvw0IJS1aZ1uV7oOxK3CQwGS3d2fXqGTJE1ehII7C48H+BNpzcsnWvb GORcvGmBfABgHEMNdUQ/Bax7wzcFAeC8ExT2Fan/NlAF0pyX5t/6KQ1g7Bo4kaJuFUKN tJlPthhZyEdRLnvik/29tDIx1RxhoOxnyYyztiToDawdR29cJ6kk13TGkOa2Yi6+Sm5e 1hZYW10Fx/NpVLzYYSfLnkqH2m2KfBNnnVpNWxh3QFizfBo4PQn0+hbval9pfGyJk4O3 G7lotRLmt6A7SfoKwAmCDRH3yDUP1A+CnQoOSTXEE3s3+otmuhna2d2MISHeGJTxhqoM Z9rg== 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:content-language; bh=gefFCAGMrMfMtBBuYW4vtMooSvfy5CBSuulIF0GKqTQ=; b=F24PI1AOK2sa+6WwB/iHJSyDyYc+uI0NzONwFJsnhsSIPxg4bmeznoUxlpCrtZ1UkQ 9mJkN1oKWNxD+4w+qr3zgnqbzPl1i0GYj7WT86eLfA6vVbXwHHPOUXSSRl68rnMmrWYJ IYubQ/ExyP55MkvhRPGM8Wvko3LSmR5qDgMA0jQLnxR3jqEjAuzpp+1VeEv6SECbHHOd grH5JqFPn4+BrfZQU8zz7+bxfsrVnR+INjqukZaFi0Qi3naz8CwNmS7gZBlQLFVIX/vE JWokpj4LmV1W8dHGYkkMP2vlYkq7Q957k4wbOIJfLdWpxOyRttEecSUUDhhlH7MzAa/7 tlwg== X-Gm-Message-State: AJaThX4+Vcp9TjWUHIFkhiMcV4ENwTtjY65UafFpuaqJfIHvBqC7b+qR hUBsgda0IpNErbMJpDh+uD877A== X-Google-Smtp-Source: AGs4zMbpzkw6sGDSFVTP2lCI2fYZEMsOvTcM7w9Hyeckt2i2yVlHWCbpaBWASL2hq2W0BstCtlsR1Q== X-Received: by 10.157.14.84 with SMTP id n20mr30019234otd.329.1511849446574; Mon, 27 Nov 2017 22:10:46 -0800 (PST) Received: from mikejcarey.local ([2600:8802:4500:fc:3445:fe8a:25df:758c]) by smtp.googlemail.com with ESMTPSA id a45sm13246806otj.73.2017.11.27.22.10.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 22:10:45 -0800 (PST) Subject: Re: Change in merge policy syntax To: "dev@asterixdb.apache.org" References: <43F3FBA1-205B-466D-BD05-936279E2D068@gmail.com> From: Mike Carey Message-ID: <91f057ad-85b5-2940-6998-7cd38d097bbf@gmail.com> Date: Mon, 27 Nov 2017 22:10:43 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <43F3FBA1-205B-466D-BD05-936279E2D068@gmail.com> Content-Type: multipart/alternative; boundary="------------88954D89207ED8794BD08544" Content-Language: en-US archived-at: Tue, 28 Nov 2017 06:10:53 -0000 --------------88954D89207ED8794BD08544 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit +1 Could you share the resulting full proposed BNF rule for the CREATE DATASET statement? On 11/27/17 7:24 PM, abdullah alamoudi wrote: > Dear devs, > We would like to get your input on changing the syntax of the merge policy definition. > > Current syntax: > prefix_merge (("number"="123"),("size"="456")); > > Proposed syntax > {"compaction policy": {"name": "prefix_merge", "parameters": {"number": 123,"size": 456}}}; > > Advantages: > 1. Compaction and policy are not key words anymore. > 2. Use a JSON for key value pairs instead of a strange syntax. > > Thoughts? --------------88954D89207ED8794BD08544--