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

Anoop Sam John commented on HIVE-2589:
--------------------------------------

if(inheritKeys.contains("*")){
         inheritKeys =  tblParams.keySet();
       }
       for (String key : inheritKeys) {
...............

Can we make the for loop in else.. when the keys contains *, then already all 
the table params are added... even if some other keys are added in teh comma 
seperated values also no need to consider thos...
if(inheritKeys.contains("*")){
         inheritKeys =  tblParams.keySet();
       }
else{
       for (String key : inheritKeys) {
...............

}



                
> Newly created partition should inherit properties from table
> ------------------------------------------------------------
>
>                 Key: HIVE-2589
>                 URL: https://issues.apache.org/jira/browse/HIVE-2589
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.9.0
>
>         Attachments: hive-2589.patch, hive-2589.patch, hive-2589_1.patch
>
>
> This will make all the info contained in table properties available to 
> partitions. 

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

        

Reply via email to