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 3637A200C63 for ; Thu, 11 May 2017 10:41:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 34CE0160BC7; Thu, 11 May 2017 08:41:09 +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 7B12E160BB2 for ; Thu, 11 May 2017 10:41:08 +0200 (CEST) Received: (qmail 72506 invoked by uid 500); 11 May 2017 08:41:07 -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 72495 invoked by uid 99); 11 May 2017 08:41:07 -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; Thu, 11 May 2017 08:41:07 +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 0D02D1802CC for ; Thu, 11 May 2017 08:41:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id RGUxK290h9zy for ; Thu, 11 May 2017 08:41:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0C52C5FD3F for ; Thu, 11 May 2017 08:41:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 67568E02C7 for ; Thu, 11 May 2017 08:41:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 22FE821E0B for ; Thu, 11 May 2017 08:41:04 +0000 (UTC) Date: Thu, 11 May 2017 08:41:04 +0000 (UTC) From: "Peter Vary (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-16643) BeeLine tests output should keep the PREHOOK/POSTHOOK Input/Output orderdering MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 11 May 2017 08:41:09 -0000 Peter Vary created HIVE-16643: --------------------------------- Summary: BeeLine tests output should keep the PREHOOK/POSTHOOK Input/Output orderdering Key: HIVE-16643 URL: https://issues.apache.org/jira/browse/HIVE-16643 Project: Hive Issue Type: New Feature Components: Testing Infrastructure Reporter: Peter Vary Assignee: Peter Vary The {{PreExecutePrinter}} and the {{PostExecutePrinter}} prints the query input and the output list in alphabetical order in {{printEntities}} method. Our goal is to have the same output from the BeeLine query tests, and the Cli query tests. Since the BeeLine tests are using test specific databases to run the tests, and only converting the results in the end to remove this specific database names from the output, we have to reorder the lists after this conversion. Raw BeeLine output: {code} [..] INFO : PREHOOK: Output: create_merge_compressed@src_rc_merge_test INFO : PREHOOK: Output: database:create_merge_compressed [..] {code} Before patch BeeLine output: {code} [..] PREHOOK: Output: default@src_rc_merge_test PREHOOK: Output: database:default [..] {code} Expected output: {code} [..] PREHOOK: Output: database:default PREHOOK: Output: default@src_rc_merge_test [..] {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)