Open nj1973 opened 4 months ago
We have the same problem on Snowflake. We get a list of tables and then prefix with database names instead of schema names. This one might be subtly different because it might need a database.schema prefix. If that is the case then we can spin off a new issue if required.
On SQL Server the code in clients.py->list_tables() is not returning correct results.
This is the current code:
I tested this with
schema_name=pso_data_validator
and reviewed the list of tables:Note that calling
client.list_tables()
with no schema is giving me a list of table names in thedbo
schema. But calling it with the correct schema gives the correct results.I think we need to remove
"mssql"
from the list of clients referenced inlist_tables()
.When this has been resolved we can enable the
test_find_tables()
test intest_sql_server.py
.See also: https://github.com/GoogleCloudPlatform/professional-services-data-validator/issues/1043