Return-Path: X-Original-To: apmail-asterixdb-commits-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A40E1831E for ; Fri, 30 Oct 2015 23:16:13 +0000 (UTC) Received: (qmail 91403 invoked by uid 500); 30 Oct 2015 23:16:12 -0000 Delivered-To: apmail-asterixdb-commits-archive@asterixdb.apache.org Received: (qmail 91369 invoked by uid 500); 30 Oct 2015 23:16:12 -0000 Mailing-List: contact commits-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 commits@asterixdb.incubator.apache.org Received: (qmail 91360 invoked by uid 99); 30 Oct 2015 23:16:12 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 23:16:12 +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 728FE180981 for ; Fri, 30 Oct 2015 23:16:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1gZY5mWMuDZz for ; Fri, 30 Oct 2015 23:16:11 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id DEEE720524 for ; Fri, 30 Oct 2015 23:16:10 +0000 (UTC) Received: (qmail 91249 invoked by uid 99); 30 Oct 2015 23:16:10 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 23:16:10 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E948DE045F; Fri, 30 Oct 2015 23:16:09 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: buyingyi@apache.org To: commits@asterixdb.incubator.apache.org Date: Fri, 30 Oct 2015 23:16:09 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [01/51] [partial] incubator-asterixdb git commit: SQL++ parser: 1. refactored asterix-aql to become asterix-lang-common and asterix-lang-aql, where the former is the common part for different languages; 2. added asterix-lang-sqlpp on top of asterix-lang- Repository: incubator-asterixdb Updated Branches: refs/heads/master 6059af36c -> 391f09e56 http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/391f09e5/asterix-app/src/test/resources/parserts/results_parser_sqlpp/load-del-dataset.ast ---------------------------------------------------------------------- diff --git a/asterix-app/src/test/resources/parserts/results_parser_sqlpp/load-del-dataset.ast b/asterix-app/src/test/resources/parserts/results_parser_sqlpp/load-del-dataset.ast new file mode 100644 index 0000000..849a30c --- /dev/null +++ b/asterix-app/src/test/resources/parserts/results_parser_sqlpp/load-del-dataset.ast @@ -0,0 +1,22 @@ +DataverseUse demo0927 +TypeDecl CustomerType [ + closed RecordType { + cid : int32, + name : string, + age : int32?, + address : AddressType?, + lastorder : open RecordType { + oid : int32, + total : float + } + + } +] +TypeDecl AddressType [ + closed RecordType { + number : int32, + street : string, + city : string + } +] +DatasetDecl Customers(CustomerType) partitioned by [[cid]]