[ https://issues.apache.org/jira/browse/HIVE-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421062#comment-13421062 ]
Hudson commented on HIVE-3261: ------------------------------ Integrated in Hive-trunk-h0.21 #1562 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1562/]) HIVE-3261. alter the number of buckets for a non-empty partitioned table should not be allowed. (njain via kevinwilfong) (Revision 1364815) Result = FAILURE kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1364815 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java * /hive/trunk/ql/src/test/queries/clientnegative/alter_numbuckets_partitioned_table.q * /hive/trunk/ql/src/test/queries/clientpositive/bucket_groupby.q * /hive/trunk/ql/src/test/queries/clientpositive/exim_04_evolved_parts.q * /hive/trunk/ql/src/test/results/clientnegative/alter_numbuckets_partitioned_table.q.out * /hive/trunk/ql/src/test/results/clientpositive/bucket_groupby.q.out * /hive/trunk/ql/src/test/results/clientpositive/exim_04_evolved_parts.q.out > 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 > Components: Query Processor > Reporter: Namit Jain > Assignee: Namit Jain > Labels: bucketing > Fix For: 0.10.0 > > > 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