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

Lefty Leverenz commented on HIVE-3649:
--------------------------------------

Doc note and question:  I added the ALTER TABLE syntax to the DDL wikidoc 
(please review) but don't know what to document about CONCATENATE, which is 
mentioned in the design doc.  The CREATE TABLE syntax was already documented.

* [DDL -- Alter Table Skewed or Stored as Directories | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-AlterTableSkewedorStoredasDirectories]
* [List Bucketing -- Design | 
https://cwiki.apache.org/confluence/display/Hive/ListBucketing#ListBucketing-Design]:
  "When such a table is being loaded, it would be good to create a 
sub-directory per skewed key. The infrastructure similar to dynamic partitions 
can be used."
* [DDL -- AlterTable/Partition Concatenate | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-AlterTable/PartitionConcatenate]
* [DDL -- Create Table (syntax) | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-CreateTable]
* [DDL -- Create Table -- Skewed Tables | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-SkewedTables]

So does ALTER TABLE ... CONCATENATE need any doc?


> Hive List Bucketing - enhance DDL to specify list bucketing table
> -----------------------------------------------------------------
>
>                 Key: HIVE-3649
>                 URL: https://issues.apache.org/jira/browse/HIVE-3649
>             Project: Hive
>          Issue Type: New Feature
>    Affects Versions: 0.10.0
>            Reporter: Gang Tim Liu
>            Assignee: Gang Tim Liu
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3649.patch.4, HIVE-3649.patch.6, HIVE-3649.patch.7, 
> HIVE-3649.patch.8, HIVE-3649.patch.9
>
>
> We need to differ normal skewed table from list bucketing table. we use an 
> optional parameter "store as DIRECTORIES"
> 4 main cases:
> 1. create table <name> skewed by .. on .. stored as directories;
> 2. alter table <name> skewed by .. on .. stored as directories;
> 3. alter table <name> not skewed;
> 4. alter table <name> not stored as directories;
> details in https://cwiki.apache.org/confluence/display/Hive/ListBucketing



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to