hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-19432) HIVE-7575: GetTablesOperation is too slow if the hive has too many databases and tables
Date Wed, 24 Jun 2020 00:27:02 GMT

     [ https://issues.apache.org/jira/browse/HIVE-19432?focusedWorklogId=450118&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-450118
]

ASF GitHub Bot logged work on HIVE-19432:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Jun/20 00:26
            Start Date: 24/Jun/20 00:26
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] closed pull request #341:
URL: https://github.com/apache/hive/pull/341


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 450118)
    Time Spent: 20m  (was: 10m)

> HIVE-7575: GetTablesOperation is too slow if the hive has too many databases and tables
> ---------------------------------------------------------------------------------------
>
>                 Key: HIVE-19432
>                 URL: https://issues.apache.org/jira/browse/HIVE-19432
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive, HiveServer2
>    Affects Versions: 2.2.0
>            Reporter: Rajkumar Singh
>            Assignee: Rajkumar Singh
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-19432.01.patch, HIVE-19432.01.patch, HIVE-19432.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> GetTablesOperation is too slow since it does not check for the authorization for databases
and try pulling all the tables from all the databases using getTableMeta. for operation like
follows
> {code}
> con.getMetaData().getTables("", "", "%", new String[] \{ "TABLE", "VIEW" });
> {code}
> build the getTableMeta call with wildcard *
> {code}
>  metastore.HiveMetaStore: 8: get_table_metas : db=* tbl=*
> {code}
>  



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

Mime
View raw message