[ 
https://issues.apache.org/jira/browse/HIVE-11196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hari Sankar Sivarama Subramaniyan updated HIVE-11196:
-----------------------------------------------------
    Attachment: HIVE-11196.3.patch

[~jcamachorodriguez] Can you please review this patch #3. 

Thanks
Hari

> Utilities.getPartitionDesc() should try to reuse TableDesc object 
> ------------------------------------------------------------------
>
>                 Key: HIVE-11196
>                 URL: https://issues.apache.org/jira/browse/HIVE-11196
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-11196.1.patch, HIVE-11196.2.patch, 
> HIVE-11196.3.patch
>
>
> Currently, Utilities.getPartitionDesc() creates a new PartitionDesc object 
> which inturn creates new TableDesc object via 
> Utilities.getTableDesc(part.getTable()) for every call. This value needs to 
> be reused  so that we can avoid the expense of creating new Descriptor object 
> wherever possible



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

Reply via email to