-
Notifications
You must be signed in to change notification settings - Fork 688
Open
Labels
ddlIssues related to creating or altering data definitionsIssues related to creating or altering data definitionsfeatureFeatures or general enhancementsFeatures or general enhancements
Description
Is your feature request related to a problem?
I see that we have an option to find Tables using
con.list_tables() method, but in many DBs Views are also considered as tables, as in INFORMATION_SCHEMA most DB's list Views as well
If there is a way to add a param to backend to remove Views that would be great
Describe the solution you'd like
Add a default param table_types=[] to con.list_tables() Function
Suggesting as table_types, as some DB will have different other types as well and will be flexible for users to specify table type
In all DB's logic add a condition,
if table_types:
- SQL Server, add filter
table_type IN ( ','.join(table_type) ) - Postgres, add filter
table_type IN ( ','.join(table_type) ) - BigQuery, add filter
table_type IN ( ','.join(table_type) )
etc
What version of ibis are you running?
8.0.0
What backend(s) are you using, if any?
SQL Server
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
ddlIssues related to creating or altering data definitionsIssues related to creating or altering data definitionsfeatureFeatures or general enhancementsFeatures or general enhancements
Type
Projects
Status
cooking