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 7AEAAD43A for ; Thu, 19 Jul 2012 18:36:36 +0000 (UTC) Received: (qmail 85909 invoked by uid 500); 19 Jul 2012 18:36:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 85758 invoked by uid 500); 19 Jul 2012 18:36:35 -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 85625 invoked by uid 500); 19 Jul 2012 18:36:35 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 85584 invoked by uid 99); 19 Jul 2012 18:36:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 18:36:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id BCA35142868 for ; Thu, 19 Jul 2012 18:36:34 +0000 (UTC) Date: Thu, 19 Jul 2012 18:36:34 +0000 (UTC) From: "Kevin Wilfong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1040496463.77342.1342722994778.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1781980041.57049.1342431874579.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HIVE-3261) alter the number of buckets for a non-empty partitioned table should not be allowed 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-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418550#comment-13418550 ] Kevin Wilfong commented on HIVE-3261: ------------------------------------- This seems ok for now, but could you file a follow up task to use partition metadata instead of table metadata wherever bucketing information is used, and mention that the error message added by this JIRA can be removed once that is done. One small comment on the diff. > alter the number of buckets for a non-empty partitioned table should not be allowed > ----------------------------------------------------------------------------------- > > Key: HIVE-3261 > URL: https://issues.apache.org/jira/browse/HIVE-3261 > Project: Hive > Issue Type: Bug > Reporter: Namit Jain > Assignee: Namit Jain > > This is dangerous since the code uses the table metadata everywhere to get the number of buckets -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira