You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Toshihiko Uchida (Jira)" <ji...@apache.org> on 2020/02/09 10:09:00 UTC

[jira] [Comment Edited] (HIVE-22453) Describe table unnecessarily fetches partitions

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

Toshihiko Uchida edited comment on HIVE-22453 at 2/9/20 10:08 AM:
------------------------------------------------------------------

[~vgarg]
Thanks for taking a look at this issue.

> Can you rebase and reupload the patch?
Sure.

Resubmitted the second patch to retest it.


was (Author: touchida):
[~vgarg]
Thanks for taking a look at this issue.

> Can you rebase and reupload the patch?
Sure.

Resubmitted the second patch (HIVE-22453.2.patch) to retest it.

> Describe table unnecessarily fetches partitions
> -----------------------------------------------
>
>                 Key: HIVE-22453
>                 URL: https://issues.apache.org/jira/browse/HIVE-22453
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.1.2, 2.3.6
>            Reporter: Toshihiko Uchida
>            Assignee: Toshihiko Uchida
>            Priority: Minor
>         Attachments: HIVE-22453.2.patch, HIVE-22453.2.patch, HIVE-22453.patch
>
>
> The simple describe table command without EXTENDED and FORMATTED (i.e., DESCRIBE table_name) fetches all partitions when no partition is specified, although it does not display partition statistics in nature.
> The command should not fetch partitions since it can take a long time for a large amount of partitions.
> For instance, in our environment, the command takes around 8 seconds for a table with 8760 (24 * 365) partitions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)