DVT tool taking only default schema 'dbo' for MSSQL for validation #363
Labels
priority: p0
Highest priority. Critical issue. Will be fixed prior to next release.
Release
Next release candidate
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
DVT tool taking only default schema 'dbo' for MSSQL for validation
Example: I have a database named dvt,multiple shemas underneath like dbo,Sales,Person,...when I run validation it works only for dbo like below
Error:pyodbc.ProgrammingError: ('42000', '[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cannot open database "dbo" requested by the login. The login failed. (4060) (SQLDriverConnect)')
**
╒════╤═══════════════════╤═══════════════════╤═════════════════════╤══════════════════════╤════════════════════╤═════════════════════╤══════════════════════╤════════════════════╤════════════════════╤══════════════╤══════════════════╤══════════╕
│ │ validation_name │ validation_type │ source_table_name │ source_column_name │ source_agg_value │ target_table_name │ target_column_name │ target_agg_value │ group_by_columns │ difference │ pct_difference │ status │
╞════╪═══════════════════╪═══════════════════╪═════════════════════╪══════════════════════╪════════════════════╪═════════════════════╪══════════════════════╪════════════════════╪════════════════════╪══════════════╪══════════════════╪══════════╡
│ 0 │ count │ Column │ dvt.ErrorLog │ │ 0 │ dvt.ErrorLog │ │ 0 │ │ 0 │ nan │ success │
╘════╧═══════════════════╧═══════════════════╧═════════════════════╧══════════════════════╧════════════════════╧═════════════════════╧══════════════════════╧════════════════════╧════════════════════╧══════════════╧══════════════════╧══════════╛
It works only for default schema dbo but not for other schemas.Likewise I noticed a note stating for Postgres it takes 'Public' as default schema
MSSQL and POSTGRES should address all schema for validtaion
The text was updated successfully, but these errors were encountered: