Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Catalog handling in database name #42

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

johnbrandborg
Copy link

The current setup doesn't allow for easy use of Catalogs from the Hive Metastore, and the Unity Catalog. This request adds the functionality so that catalogs can be selected.

The default catalog is hive_metastore when selecting a database with no period. (eg, \u default) If one period is given, it is assumed the format is <catalog>.<database>. This allows for easy selection of the catalog without to much complication. (eg, \u main.default)

Some addition minor updates/fixes on top of this:

  1. The list_databases method used by \lwas not returning the headers properly, but rather a database and catalog.
  2. A method called reconnect on the SQLExecute was made redundant by the method connect which did the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant