How to
Check whether the target column has only DATE values or not.
?
How to
Check whether the target column has only DATE values or not.
?
Best answer by anna.spakova
Hello
From the DQ rules perspective, you can write rules that will check if the values are e.g. only numbers (example would be to use trashNonDigits
function and compare to the original value) etc., but I can imagine this can get pretty complicated for DATE as you can have different date formats. You may need to use some regex expressions… Also important is to keep in mind that the rule can get assigned only to the attribute with the corresponding data type as the input attribute of the rule (so if you have an INTEGER column, you are not able to assign rule with STRING as an input attribute).
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.