[ 
https://issues.apache.org/jira/browse/HIVE-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13461441#comment-13461441
 ] 

Phabricator commented on HIVE-3492:
-----------------------------------

njain has commented on the revision "HIVE-3492 [jira] Provide ALTER for 
partition changing bucket number".

INLINE COMMENTS
  ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java:1881 Add 
a new error in ErrorMsg.java
  ql/src/test/queries/clientpositive/alter_numbuckets_partitioned_table.q:25 
Why do you want to introduce this new token ?

  Why not support???

  alter table tst1 into 4 buckets;

  and

  alter table tst1 partition (ds='1') into 6 buckets;


  Basically, support the existing syntax

  alter table tst1 clustered by <key> into 4 buckets;

  without the clustered by


REVISION DETAIL
  https://reviews.facebook.net/D5589

To: JIRA, navis
Cc: njain

                
> Provide ALTER for partition changing bucket number 
> ---------------------------------------------------
>
>                 Key: HIVE-3492
>                 URL: https://issues.apache.org/jira/browse/HIVE-3492
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.10.0
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>         Attachments: HIVE-3492.1.patch.txt
>
>
> As a follow up of HIVE-3283, bucket number of a partition could be 
> set/changed individually by query like 'ALTER table srcpart 
> PARTIRION(ds='1999') SET BUCKETNUM 5'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to