Skip to content
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

Custom Query Column Validation not supported for DB2 to Bigquery #714

Closed
madhu-jain opened this issue Feb 10, 2023 · 0 comments
Closed

Custom Query Column Validation not supported for DB2 to Bigquery #714

madhu-jain opened this issue Feb 10, 2023 · 0 comments
Assignees
Labels
priority: p0 Highest priority. Critical issue. Will be fixed prior to next release.

Comments

@madhu-jain
Copy link

Column validation with custom query is not workking for count, max etc

Command used :

1) Count check

data-validation validate custom-query
--custom-query-type column
--source-query-file db2_count_src.sql
--target-query-file db2_count_tgt.sql
-sc DB2_CONN
-tc BQ_CONN
--bq-result-handler rite-aid-371612.data_validator.results

Error :

AttributeError: 'DB2Client' object has no attribute '_get_schema_using_query'

2) Max check

data-validation validate custom-query
--custom-query-type column
--source-query-file db2_count_src.sql
--target-query-file db2_count_tgt.sql
-sc DB2_CONN
-tc BQ_CONN
--bq-result-handler rite-aid-371612.data_validator.results
--max order_amount

Error :

AttributeError: 'DB2Client' object has no attribute '_get_schema_using_query'

@nehanene15 nehanene15 added the priority: p0 Highest priority. Critical issue. Will be fixed prior to next release. label Mar 20, 2023
@piyushsarraf piyushsarraf self-assigned this Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p0 Highest priority. Critical issue. Will be fixed prior to next release.
Projects
None yet
Development

No branches or pull requests

3 participants