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

guojh commented on HIVE-16770:
------------------------------

[~klsnre...@gmail.com] Our Hive version is 1.1.0, the command " ALTER TABLE 
tableName " seems only  react on nonPartition table, and "ALTER TABLE tableName 
PARTITION(xx='xx')" only act on one partition. So, do you have resolved this 
problem? can you share it?

> Concatinate is not working on Table/Partial Partition level 
> ------------------------------------------------------------
>
>                 Key: HIVE-16770
>                 URL: https://issues.apache.org/jira/browse/HIVE-16770
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 1.2.1
>         Environment: centOS7
>            Reporter: Kallam Reddy
>
> Not able to CONCATENATE at Table/Partial partition levels. I have table test 
> partitioned on year, month and date. If I try to concatenate by providing 
> corresponding year, month and date of partition it is working fine, but when 
> I want to concatenate ORC files for all the sub partition corresponding to 
> year and month, it is giving exception.
> hive> ALTER TABLE test PARTITION (year = '2017', month = '05') CONCATENATE;
> FAILED: SemanticException org.apache.hadoop.hive.ql.parse.SemanticException: 
> Partition not found {year=2017, month=05}
> hive> ALTER TABLE test CONCATENATE;
> FAILED: SemanticException org.apache.hadoop.hive.ql.parse.SemanticException: 
> source table test is partitioned but no partition desc found.
> I am expecting this to trigger concatenate in all available sub partitions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to