-
Notifications
You must be signed in to change notification settings - Fork 112
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
validate column: Sum on Oracle and Teradata TIMESTAMP Throws Exception #762
Comments
Same problem on Teradata. Test table:
Test command:
Exception:
|
Part of this PR could also include removing timestamp from the default aggregations IMO. |
Yes, that makes sense. Summing a timestamp is probably not expected so should be ok to be on request instead of default behaviour. |
As per PR #930 this issue applies to MySQL as well: https://github.com/GoogleCloudPlatform/professional-services-data-validator/pull/930/files#diff-88ae20acbc246ca04d5c5a361ba4475ee45dc1d478385466d1c1521c41d8ef2bR545 |
It's fair to day that a SUM on a date based column doesn't make a lot of sense but we support it on other engines and it will often get triggered through columns being provided using
*
.Test table:
Test command:
Exception:
The problem SQL expressions are:
EXTRACT(epoch …)
is invalid syntax on Oracle.When complete we need to enable the integration test for this problem. Search for "issue-762" in
tests/system/data_sources/test_oracle.py
andtests/system/data_sources/test_teradata.py
to action this. Enabling this test is blocked by #759.The text was updated successfully, but these errors were encountered: