[ https://issues.apache.org/jira/browse/DRILL-7115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802891#comment-16802891 ]
ASF GitHub Bot commented on DRILL-7115: --------------------------------------- ihuzenko commented on issue #1706: DRILL-7115: Improve Hive schema show tables performance URL: https://github.com/apache/drill/pull/1706#issuecomment-477196081 Hi @vdiravka , according to the [PR discussion](https://github.com/apache/drill/pull/461#discussion_r58753354) , show tables authorization was left in inconsistent state (all tables shown for SQL Standard mode, only accessible shown for Storage Based mode). I have spent some time investigating the issues and even found how to fix listing for SQL Standard mode. But performance acceptable solution for Storage Based mode is still unknown. I think that listing of only accessible tables wasn't Drill users requirement, and in case of such Jira appearance it should be implemented as finalized feature with acceptable performance and consistency for both authorization modes. Until Drill users require the feature, it'll be much better to return all tables as fast as possible. ---------------------------------------------------------------- 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: us...@infra.apache.org > Improve Hive schema show tables performance > ------------------------------------------- > > Key: DRILL-7115 > URL: https://issues.apache.org/jira/browse/DRILL-7115 > Project: Apache Drill > Issue Type: Improvement > Components: Storage - Hive, Storage - Information Schema > Affects Versions: 1.15.0 > Reporter: Igor Guzenko > Assignee: Igor Guzenko > Priority: Major > Fix For: 1.16.0 > > > In Sqlline(Drill), "show tables" on a Hive schema is taking nearly 15mins to > 20mins. The schema has nearly ~8000 tables. > Whereas the same in beeline(Hive) is throwing the result in a split second(~ > 0.2 secs). > I tested the same in my test cluster by creating 6000 tables(empty!) in Hive > and then doing "show tables" in Drill. It took more than 2 mins(~140 secs). -- This message was sent by Atlassian JIRA (v7.6.3#76005)