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

Brock Noland commented on HIVE-5302:
------------------------------------

The change looks reasonable to me. About this change Ashutosh said "[Your 
changes in MetaStoreUtils are indeed reasonable. I just wanted to make sure 
whether they are really needed. If you can come up with a testcase, which shows 
the failure without changes in MetaStoreUtils, that will make it easier to 
concretize why these changes are 
useful.|https://issues.apache.org/jira/browse/HIVE-4789?focusedCommentId=13732634&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13732634]";
 in HIVE-4789.
                
> PartitionPruner fails on Avro non-partitioned data
> --------------------------------------------------
>
>                 Key: HIVE-5302
>                 URL: https://issues.apache.org/jira/browse/HIVE-5302
>             Project: Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>    Affects Versions: 0.11.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Blocker
>              Labels: avro
>         Attachments: HIVE-5302.1-branch-0.12.patch.txt, 
> HIVE-5302.1.patch.txt, HIVE-5302.1.patch.txt
>
>
> While updating HIVE-3585 I found a test case that causes the failure in the 
> MetaStoreUtils partition retrieval from back in HIVE-4789.
> in this case, the failure is triggered when the partition pruner is handed a 
> non-partitioned table and has to construct a pseudo-partition.
> e.g.
> {code}
>   INSERT OVERWRITE TABLE partitioned_table PARTITION(col) SELECT id, foo, col 
> FROM non_partitioned_table WHERE col <= 9;
> {code}

--
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