You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/31 21:05:00 UTC
[jira] [Updated] (HIVE-22453) Describe table unnecessarily fetches
partitions
[ https://issues.apache.org/jira/browse/HIVE-22453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-22453:
----------------------------------
Labels: pull-request-available (was: )
> Describe table unnecessarily fetches partitions
> -----------------------------------------------
>
> Key: HIVE-22453
> URL: https://issues.apache.org/jira/browse/HIVE-22453
> Project: Hive
> Issue Type: Bug
> Affects Versions: 2.3.6, 3.1.2
> Reporter: Toshihiko Uchida
> Assignee: Toshihiko Uchida
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Attachments: HIVE-22453.2.patch, HIVE-22453.2.patch, HIVE-22453.3.patch, HIVE-22453.4.patch, HIVE-22453.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)