Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0CCD6178E3 for ; Sat, 11 Oct 2014 13:36:55 +0000 (UTC) Received: (qmail 27285 invoked by uid 500); 11 Oct 2014 13:36:54 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 27259 invoked by uid 500); 11 Oct 2014 13:36:54 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 27250 invoked by uid 99); 11 Oct 2014 13:36:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Oct 2014 13:36:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 11 Oct 2014 13:36:53 +0000 Received: (qmail 26938 invoked by uid 99); 11 Oct 2014 13:36:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Oct 2014 13:36:33 +0000 Date: Sat, 11 Oct 2014 13:36:33 +0000 (UTC) From: "Chris Matta (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1530) Support for the != operator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-1530?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Matta updated DRILL-1530: ------------------------------- Issue Type: Improvement (was: Bug) > Support for the !=3D operator > --------------------------- > > Key: DRILL-1530 > URL: https://issues.apache.org/jira/browse/DRILL-1530 > Project: Apache Drill > Issue Type: Improvement > Components: Execution - Operators > Affects Versions: 0.6.0 > Reporter: Chris Matta > Priority: Minor > > Tableau is using the !=3D operator in the bellow query which failed tonig= ht with Drill. This operator isn=E2=80=99t technically ANSI SQL, but almost= all DBMS support it, any chance this support would be added? > {code:sql} > SELECT CASE=20 > WHEN `twitter_tweets`.`favorite_count` / 1 < 0=20 > AND `twitter_tweets`.`favorite_count` / 1 !=3D `twitter_t= weets`.`favorite_count` / 1 THEN `twitter_tweets`.`favorite_count` / 1 - 1= =20 > ELSE `twitter_tweets`.`favorite_count` / 1=20 > END AS `Favorite_Count__bin_`,=20 > COUNT(`twitter_tweets`.`favorite_count`) AS `cnt_favorite_count_ok= `=20 > FROM `mfs.views`.`twitter_tweets` `twitter_tweets`=20 > INNER JOIN `mfs.views`.`twitter_users` `twitter_users` ON (`twitter_tweet= s`.`user_id` =3D `twitter_users`.`user_id`)=20 > GROUP BY CASE=20 > WHEN `twitter_tweets`.`favorite_count` / 1 < 0=20 > AND `twitter_tweets`.`favorite_count` / 1 !=3D `twitter= _tweets`.`favorite_count` / 1 THEN `twitter_tweets`.`favorite_count` / 1 - = 1=20 > ELSE `twitter_tweets`.`favorite_count` / 1=20 > END > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)