[ https://issues.apache.org/jira/browse/GRIFFIN-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16620172#comment-16620172 ]
William Guo edited comment on GRIFFIN-194 at 9/19/18 6:31 AM: -------------------------------------------------------------- yeah, List dbs = getAllDatabases(); foreach db in dbs: getAllTableNames(db) we can get all tables db by db, that can fix the payload issue. BTW, I like+ your idea for narrow down navigation table path in UI Part. Thanks, William was (Author: guoyp): yeah, List dbs = getAllDatabases(); foreach db in dbs: getAllTableNames(db) we can get all tables db by db, that can fix the payload issue. BTW, I like your idea for narrow down navigation table path in UI Part. Thanks, William > [service] Hive API improvement > ------------------------------ > > Key: GRIFFIN-194 > URL: https://issues.apache.org/jira/browse/GRIFFIN-194 > Project: Griffin (Incubating) > Issue Type: Sub-task > Reporter: Nikolay Sokolov > Priority: Minor > > Purpose is mainly to support GRIFFIN-195 with single request to get table > list information, while avoiding transferring all table metadata and making > lots of metastore requests. > Hive API provides following relevant APIs right now: > * listing DBs > * getting all table names in DB > * listing all table _objects_ in all _dbs_ > What's seems to be missing, is API call for all table names in all DBs (as > middle ground between n+1 API requests and 1 API request with huge payload > and n*m+1 metastore requests on backend). > This api request should take no parameters, and return Map<String, > List<String>> in response. > Proposed API endpoint: TBD -- This message was sent by Atlassian JIRA (v7.6.3#76005)