justinpark commented on PR #37298: URL: https://github.com/apache/superset/pull/37298#issuecomment-3792170425
> Are you considering that the databases are not expanded by default? In other words, the schemas would only be fetched when a database is expanded, which would be similar to changing the database. We would have one expanded database by default. Even if we display databases in a collapsed state by default, there are scalability issues with putting them into a tree view. Unlike schema/catalog APIs, fetching the list of databases is done via a pagination API. Even assuming we increase the page size to retrieve the entire list at once, from a UI perspective, it would actually be more inconvenient for users to search for a specific table when all database names are exposed together. (At the very least, I believe we should only show the list of databases currently linked to the editor.) One possible improvement would be to support a multi-select option for databases, so that users can choose only the databases they want to list in the tree. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
