Skip to content

Conversation

rpbouman
Copy link
Contributor

  • adds a test that demonstrates old implementation of getTables always throws an SQLException
  • rewrites getTables to provide handling for the catalog parameter.

- adds a test that demonstrates old implementation of getTables always throws an SQLException
- rewrites getTables to provide handling for the catalog parameter.
Copy link
Collaborator

@Mytherin Mytherin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! LGTM. Perhaps @Mause can also have a look?

…t_catalog, explicitly test catalog in resultset

- added test_get_tables_with_attached_catalog to test with attached catalog, as well as with null argument (all catalogs)
@Mytherin Mytherin merged commit 046182f into duckdb:master Feb 20, 2023
@Mytherin
Copy link
Collaborator

Looks good - thanks!

@rpbouman rpbouman deleted the issue-6227-DuckDBDatabaseMetaData-getTables-catalog-handling branch February 20, 2023 12:14
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.

2 participants