Skip to content

Added tableTypes argument to readAllSqlTables #1270

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

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

Conversation

Jolanrensen
Copy link
Collaborator

In other databases like DuckDB, this type is actually "BASE TABLE" instead of "TABLE", making the function return 0 results. Setting it to null makes the integration do its default behavior, which usually is no filtering at all.

In other databases like DuckDB, this type is actually "BASE TABLE" instead of "TABLE", making the function return 0 results. Setting it to `null` makes the integration do its default behavior, which usually is no filtering at all.
@Jolanrensen Jolanrensen added this to the 1.0.0-Beta3 milestone Jun 23, 2025
@Jolanrensen Jolanrensen requested a review from zaleslaw June 23, 2025 15:10
@Jolanrensen Jolanrensen added the bug Something isn't working label Jun 23, 2025
@Jolanrensen
Copy link
Collaborator Author

Okay this breaks on PostgreSQL. We need the types argument, but it should be customizable at least

…l error when no tables are found, hinting at the tableTypes argument and what the database supports
@Jolanrensen Jolanrensen changed the title Removed types = ["TABLE"] argument from readAllSqlTables Added tableTypes argument to readAllSqlTables Jun 23, 2025
@Jolanrensen
Copy link
Collaborator Author

Adjusted it to include the tableTypes parameter instead. Hopefully it's okay to break the api dump for jdbc? as it's not considered stable yet

@Jolanrensen Jolanrensen mentioned this pull request Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant