hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <>
Subject [jira] [Updated] (HIVE-11196) Utilities.getPartitionDesc() should try to reuse TableDesc object
Date Fri, 24 Jul 2015 17:58:04 GMT


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

[~jcamachorodriguez] UsePartSchemaProperties is usually set to true by the caller if the table
is partitioned, i.e. if the table has partition columns.I have added the required comment
in patch#4.


> Utilities.getPartitionDesc() should try to reuse TableDesc object 
> ------------------------------------------------------------------
>                 Key: HIVE-11196
>                 URL:
>             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, HIVE-11196.4.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

View raw message