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 1E80B200D0B for ; Wed, 27 Sep 2017 17:11:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1D1711609BC; Wed, 27 Sep 2017 15:11: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 639961609CA for ; Wed, 27 Sep 2017 17:11:16 +0200 (CEST) Received: (qmail 19373 invoked by uid 500); 27 Sep 2017 15:11:15 -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 19267 invoked by uid 99); 27 Sep 2017 15:11:15 -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; Wed, 27 Sep 2017 15:11:15 +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 930461811E0; Wed, 27 Sep 2017 15:11:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id FzyPhb4K89Np; Wed, 27 Sep 2017 15:11:13 +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 9087A61073; Wed, 27 Sep 2017 15:11:12 +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 D38F6E061C; Wed, 27 Sep 2017 15:11:11 +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 3FE23C405FB; Wed, 27 Sep 2017 15:11:10 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2399789028483825815==" MIME-Version: 1.0 Subject: Re: Review Request 62442: HIVE-17569: Compare filtered output files in BeeLine tests From: Marta Kuczora To: Peter Vary Cc: hive , Marta Kuczora Date: Wed, 27 Sep 2017 15:11:09 -0000 Message-ID: <20170927151109.32396.19751@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Marta Kuczora X-ReviewGroup: hive X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/62442/ X-Sender: Marta Kuczora References: <20170922155043.9074.98702@reviews-vm2.apache.org> In-Reply-To: <20170922155043.9074.98702@reviews-vm2.apache.org> Reply-To: Marta Kuczora X-ReviewRequest-Repository: hive-git archived-at: Wed, 27 Sep 2017 15:11:17 -0000 --===============2399789028483825815== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Sept. 22, 2017, 3:50 p.m., Peter Vary wrote: > > Overall looks good. Just a few nits, which might be a matter of taste anyway. Feel free to object, it you find it unreasonable. > > > > Thanks for the patch! Thanks a lot Peter for the review. I fixed the issues you raised. > On Sept. 22, 2017, 3:50 p.m., Peter Vary wrote: > > itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CoreBeeLineDriver.java > > Lines 91 (patched) > > > > > > I think it would be nice to have the default value as a boolean instead of a string, and we might want to call this method getBooleanPropertyValue. What do you think? Yeah, we can do it like that. > On Sept. 22, 2017, 3:50 p.m., Peter Vary wrote: > > itests/util/src/main/java/org/apache/hive/beeline/QFile.java > > Lines 70 (patched) > > > > > > We might want to use regexps here where we have separators like DESCRIBE[\s\n]+EXTENDED - just an example, which probably should be changed to be valid :) It makes sense, thanks for pointing it out. I fixed the entries. - Marta ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62442/#review185995 ----------------------------------------------------------- On Sept. 20, 2017, 3:11 p.m., Marta Kuczora wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62442/ > ----------------------------------------------------------- > > (Updated Sept. 20, 2017, 3:11 p.m.) > > > Review request for hive and Peter Vary. > > > Bugs: HIVE-17569 > https://issues.apache.org/jira/browse/HIVE-17569 > > > Repository: hive-git > > > Description > ------- > > Introduce a new property "test.beeline.compare.portable" with the default value false and if this property is set to true, the result of the commands "EXPLAIN", "DESCRIBE EXTENDED" and "DESCRIBE FORMATTED" will be filtered out from the out files before comparing them in BeeLine tests. > > > Diffs > ----- > > itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CoreBeeLineDriver.java 9dfc253 > itests/util/src/main/java/org/apache/hive/beeline/QFile.java e70ac38 > > > Diff: https://reviews.apache.org/r/62442/diff/1/ > > > Testing > ------- > > > Thanks, > > Marta Kuczora > > --===============2399789028483825815==--