GitHub user rajkrrsingh opened a pull request:

    https://github.com/apache/hive/pull/341

    HIVE-19432 : GetTablesOperation is too slow if the hive has too many …

    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 the operation like follows
    ```
    con.getMetaData().getTables("", "", "%", new String[] \{ "TABLE", "VIEW" });
    ```
    build the getTableMeta call with wildcard *
    ```
     metastore.HiveMetaStore: 8: get_table_metas : db=* tbl=*
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rajkrrsingh/hive HIVE-19432

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/341.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #341
    
----
commit ee684cedcea545a17658be204b3b07e2fdbc56ed
Author: Rajkumar singh <rajkrrsingh@...>
Date:   2018-05-05T23:11:04Z

    HIVE-19432 : GetTablesOperation is too slow if the hive has too many 
databases and tables

----


---

Reply via email to