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 BD12F200CAE for ; Wed, 7 Jun 2017 06:52:31 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BBBF5160BD3; Wed, 7 Jun 2017 04:52:31 +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 0DF98160BC6 for ; Wed, 7 Jun 2017 06:52:30 +0200 (CEST) Received: (qmail 72894 invoked by uid 500); 7 Jun 2017 04:52:30 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 72856 invoked by uid 99); 7 Jun 2017 04:52:29 -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, 07 Jun 2017 04:52:29 +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 647A4182914 for ; Wed, 7 Jun 2017 04:52:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-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 zBi4Y0tdLcde for ; Wed, 7 Jun 2017 04:52:28 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id EABBA5FB84 for ; Wed, 7 Jun 2017 04:52:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id v574qQ8l013399; Wed, 7 Jun 2017 04:52:26 GMT Message-Id: <201706070452.v574qQ8l013399@ip-10-146-233-104.ec2.internal> Date: Wed, 7 Jun 2017 04:52:26 +0000 From: "Dimitris Tsirogiannis (Code Review)" To: impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Alex Behm , Marcel Kornacker Reply-To: dtsirogiannis@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4965=3A_Authorize_access_to_runtime_profile_and_exec_summary=0A?= X-Gerrit-Change-Id: I2255d587367c2d328590ae8534a5406c4b0c9b15 X-Gerrit-ChangeURL: X-Gerrit-Commit: d217a396782a146cda88cc57264a75c14e78b160 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.7 archived-at: Wed, 07 Jun 2017 04:52:31 -0000 Dimitris Tsirogiannis has posted comments on this change. Change subject: IMPALA-4965: Authorize access to runtime profile and exec summary ...................................................................... Patch Set 1: (5 comments) http://gerrit.cloudera.org:8080/#/c/7064/1/tests/authorization/test_authorization.py File tests/authorization/test_authorization.py: Line 92: def test_access_runtime_profile(self): > Nice test! Done Line 135: execute_statement_req.statement = """create view if not exists tpch.customer_view as > Can we put this into a different db? Might be good to make sure this view i We need a db in which we have access to the tables for the positive test. Open to recommendations if you can think of a better option. Line 137: execute_statement_resp = self.hs2_client.ExecuteStatement(execute_statement_req) > also test that EXPLAIN works Done Line 145: # Repeat as a deleted user > delegated Done Line 281: """Runs statement 'stmt' and retrieves the runtime profile and exec summary. If > remove 'statement' Done -- To view, visit http://gerrit.cloudera.org:8080/7064 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I2255d587367c2d328590ae8534a5406c4b0c9b15 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Dimitris Tsirogiannis Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Dimitris Tsirogiannis Gerrit-Reviewer: Marcel Kornacker Gerrit-HasComments: Yes