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 E3A36200C54 for ; Wed, 12 Apr 2017 19:47:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E0A54160B95; Wed, 12 Apr 2017 17:47:33 +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 330FD160B85 for ; Wed, 12 Apr 2017 19:47:33 +0200 (CEST) Received: (qmail 4858 invoked by uid 500); 12 Apr 2017 17:47:27 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 4847 invoked by uid 99); 12 Apr 2017 17:47:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Apr 2017 17:47:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E1276C66F5; Wed, 12 Apr 2017 17:47:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3 X-Spam-Level: *** X-Spam-Status: No, score=3 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id f_Ze0tBg60fo; Wed, 12 Apr 2017 17:47:26 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 445AD5FAE0; Wed, 12 Apr 2017 17:47:25 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9269AE0069; Wed, 12 Apr 2017 17:47:24 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 4E9A4C402CA; Wed, 12 Apr 2017 17:47:24 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3736391104531056633==" MIME-Version: 1.0 Subject: Re: Review Request 58181: HIVE-15986 Support for 'is [NOT] distinct from' From: pengcheng xiong To: Ashutosh Chauhan , =?utf-8?q?Jes=C3=BAs_Camacho_Rodr=C3=ADguez?= , Pengcheng Xu Cc: pengcheng xiong , hive , Vineet Garg Date: Wed, 12 Apr 2017 17:47:24 -0000 Message-ID: <20170412174724.48405.88084@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: pengcheng xiong X-ReviewGroup: hive X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/58181/ X-Sender: pengcheng xiong References: <20170412001441.22151.39074@reviews-vm2.apache.org> In-Reply-To: <20170412001441.22151.39074@reviews-vm2.apache.org> X-ReviewBoard-Diff-For: ql/src/test/queries/clientpositive/is_distinct_from.q X-ReviewBoard-Diff-For: ql/src/test/results/clientpositive/llap/is_distinct_from.q.out Reply-To: pengcheng xiong X-ReviewRequest-Repository: hive-git archived-at: Wed, 12 Apr 2017 17:47:34 -0000 --===============3736391104531056633== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58181/#review171760 ----------------------------------------------------------- ql/src/test/queries/clientpositive/is_distinct_from.q Lines 1 (patched) Patch LGTM. It would be better if you can add more tests including column is distinct from column and also expr is distinct from expr, etc rather than only comparing constants. - pengcheng xiong On April 12, 2017, 12:14 a.m., Vineet Garg wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/58181/ > ----------------------------------------------------------- > > (Updated April 12, 2017, 12:14 a.m.) > > > Review request for hive, Ashutosh Chauhan, Jesús Camacho Rodríguez, and Pengcheng Xu. > > > Bugs: HIVE-15986 > https://issues.apache.org/jira/browse/HIVE-15986 > > > Repository: hive-git > > > Description > ------- > > This patch adds support for 'is distinct from' and 'is not distinct from'. > > > Diffs > ----- > > itests/src/test/resources/testconfiguration.properties fb85b9ece2 > ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/SqlFunctionConverter.java 85450c999f > ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g 8c4ee8a38b > ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java f979c1432e > ql/src/test/queries/clientpositive/is_distinct_from.q PRE-CREATION > ql/src/test/results/clientpositive/llap/is_distinct_from.q.out PRE-CREATION > > > Diff: https://reviews.apache.org/r/58181/diff/5/ > > > Testing > ------- > > Added new tests > Pre-commit testing > > > Thanks, > > Vineet Garg > > --===============3736391104531056633==--