[
https://issues.apache.org/jira/browse/HIVE-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978428#comment-14978428
]
Aihua Xu commented on HIVE-7575:
--------------------------------
Thanks @navis to add the coverage. Sorry, I didn't see the tests already there.
Would it be better to create a class like TableMeta and return a list of
TableMeta instead of list of strings?
To Yongzhi's question: when we have many databases, the performance of the
original getTables could be bad since we are making at least one trip for each
database. Is that right?
> GetTables thrift call is very slow
> ----------------------------------
>
> Key: HIVE-7575
> URL: https://issues.apache.org/jira/browse/HIVE-7575
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 0.12.0, 0.13.0
> Reporter: Ashu Pachauri
> Assignee: Navis
> Attachments: HIVE-7575.1.patch.txt, HIVE-7575.2.patch.txt,
> HIVE-7575.3.patch.txt, HIVE-7575.4.patch.txt, HIVE-7575.5.patch.txt
>
>
> The GetTables thrift call takes a long time when the number of table is large.
> With around 5000 tables, the call takes around 80 seconds compared to a "Show
> Tables" query on the same HiveServer2 instance which takes 3-7 seconds.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)