-
Notifications
You must be signed in to change notification settings - Fork 89
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
c/driver/postgresql: GetTableSchema does not properly handle catalog or db_schema parameters #1339
Comments
Relevant part of the C++ code for reference: https://github.com/apache/arrow-adbc/blob/main/c/driver/postgresql/connection.cc#L1144 |
In Postgres, you can only access the database (catalog) you're connected to.
(https://www.postgresql.org/docs/current/ddl-schemas.html) However we should support schemas properly. |
When calling
GetTableSchema
on the postgresql driver, the following behavior is observed:catalog
is ignoreddb_schema
is set causes a postgres syntax errorI have been able to reproduce the issues with Go and Python bindings. Below are the steps for reproducing in Python:
Version Info
Python: 3.11.4
adbc_driver_postgresql: 0.8.0
The text was updated successfully, but these errors were encountered: