trinodb / trino-python-client

Python client for Trino
Apache License 2.0
327 stars 163 forks source link

implement `get_catalog_names` #401

Closed dungdm93 closed 1 year ago

dungdm93 commented 1 year ago

Description

I'd like to provide standard function get_catalog_names in SQLAlchemy's TrinoDialect.
This function could be used to list and switch between catalogs by client like proposed in Superset SIP-95

Non-technical explanation

Release notes

( ) This is not user-visible or docs only and no release notes are required. ( ) Release notes are required, please propose a release note for me. ( ) Release notes are required, with the following suggested text:

* Fix some things. ({issue}`issuenumber`)