Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 506EC112F0 for ; Mon, 18 Aug 2014 21:21:19 +0000 (UTC) Received: (qmail 72875 invoked by uid 500); 18 Aug 2014 21:21:18 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 72802 invoked by uid 500); 18 Aug 2014 21:21:18 -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 72790 invoked by uid 500); 18 Aug 2014 21:21:18 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 72787 invoked by uid 99); 18 Aug 2014 21:21:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2014 21:21:18 +0000 Date: Mon, 18 Aug 2014 21:21:18 +0000 (UTC) From: "Thejas M Nair (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7673) Authorization api: missing privilege objects in create table/view MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-7673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thejas M Nair updated HIVE-7673: -------------------------------- Attachment: HIVE-7673.3.patch HIVE-7673.3.patch - updating .q.out files for failed test cases > Authorization api: missing privilege objects in create table/view > ----------------------------------------------------------------- > > Key: HIVE-7673 > URL: https://issues.apache.org/jira/browse/HIVE-7673 > Project: Hive > Issue Type: Bug > Components: Authorization, SQLStandardAuthorization > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Attachments: HIVE-7673.1.patch, HIVE-7673.2.patch, HIVE-7673.3.patch > > > Issues being addressed: > - In case of create-table-as-select query, the database the table belongs to is not among the objects to be authorized. > - Create table has the objectName field of the table entry with the database prefix - like testdb.testtable, instead of just the table name. > - checkPrivileges(CREATEVIEW) does not include the name of the view being created in outputHObjs. -- This message was sent by Atlassian JIRA (v6.2#6252)