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 B50C7200B82 for ; Fri, 16 Sep 2016 23:38:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B378E160AC4; Fri, 16 Sep 2016 21:38:17 +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 F0FC1160AB7 for ; Fri, 16 Sep 2016 23:38:16 +0200 (CEST) Received: (qmail 16503 invoked by uid 500); 16 Sep 2016 21:38:16 -0000 Mailing-List: contact commits-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 commits@asterixdb.apache.org Received: (qmail 16493 invoked by uid 99); 16 Sep 2016 21:38:16 -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, 16 Sep 2016 21:38:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C7359E0159; Fri, 16 Sep 2016 21:38:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: buyingyi@apache.org To: commits@asterixdb.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: asterixdb git commit: Add <> as a synonym to !=. Date: Fri, 16 Sep 2016 21:38:15 +0000 (UTC) archived-at: Fri, 16 Sep 2016 21:38:17 -0000 Repository: asterixdb Updated Branches: refs/heads/master 8c3da6fb6 -> 4a4b896d3 Add <> as a synonym to !=. Change-Id: I3c670cf3d0e53725dce8ef2acb33970f8030a0a8 Reviewed-on: https://asterix-gerrit.ics.uci.edu/1180 Sonar-Qube: Jenkins Tested-by: Jenkins Integration-Tests: Jenkins Reviewed-by: Till Westmann Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/4a4b896d Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/4a4b896d Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/4a4b896d Branch: refs/heads/master Commit: 4a4b896d3baa2a474454fe691df3382e94c0633b Parents: 8c3da6f Author: Yingyi Bu Authored: Fri Sep 16 12:09:11 2016 -0700 Committer: Yingyi Bu Committed: Fri Sep 16 14:33:40 2016 -0700 ---------------------------------------------------------------------- .../comparison/neq_02/neq_02.3.query.sqlpp | 23 ++++++++++++++++++++ .../resources/runtimets/testsuite_sqlpp.xml | 5 +++++ .../asterix-lang-sqlpp/src/main/javacc/SQLPP.jj | 8 +++++-- 3 files changed, 34 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/asterixdb/blob/4a4b896d/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/comparison/neq_02/neq_02.3.query.sqlpp ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/comparison/neq_02/neq_02.3.query.sqlpp b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/comparison/neq_02/neq_02.3.query.sqlpp new file mode 100644 index 0000000..8a6cf27 --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/comparison/neq_02/neq_02.3.query.sqlpp @@ -0,0 +1,23 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +select element x +from [1,2,2] as x +where x <> 2 +; http://git-wip-us.apache.org/repos/asf/asterixdb/blob/4a4b896d/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml index 932a602..54f06e6 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml +++ b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml @@ -1077,6 +1077,11 @@ neq_01 + + + neq_01 + +