Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED21518AAA for ; Wed, 1 Jul 2015 20:32:04 +0000 (UTC) Received: (qmail 17882 invoked by uid 500); 1 Jul 2015 20:32:04 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 17854 invoked by uid 500); 1 Jul 2015 20:32:04 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 17843 invoked by uid 99); 1 Jul 2015 20:32:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2015 20:32:04 +0000 Date: Wed, 1 Jul 2015 20:32:04 +0000 (UTC) From: "Alan Gates (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-11145) Remove OFFLINE and NO_DROP from tables and partitions 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-11145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Gates updated HIVE-11145: ------------------------------ Attachment: HIVE-11145.3.patch > Remove OFFLINE and NO_DROP from tables and partitions > ----------------------------------------------------- > > Key: HIVE-11145 > URL: https://issues.apache.org/jira/browse/HIVE-11145 > Project: Hive > Issue Type: Improvement > Components: Metastore, SQL > Affects Versions: 2.0.0 > Reporter: Alan Gates > Assignee: Alan Gates > Attachments: HIVE-11145.2.patch, HIVE-11145.3.patch, HIVE-11145.patch > > > Currently a table or partition can be marked no_drop or offline. This prevents users from dropping or reading (and dropping) the table or partition. This was built in 0.7 before SQL standard authorization was an option. > This is an expensive feature as when a table is dropped every partition must be fetched and checked to make sure it can be dropped. > This feature is also redundant now that real authorization is available in Hive. > This feature should be removed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)