-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
expect_column_values_to_be_in_set fails on datetimes #422
Comments
The issue here is that GE is converting your values set to string prior to saving the expectation (to ensure the expectation configuration objects are fully json serializable), so the resulting object fails the comparison to your datetime object in the dataframe. Because datetimes are such an important case, for several other expectations (e.g. |
The new PR addresses the acute pain of this issue, but it's still counterintuitive to have to specify I think this touches on the need for types #207 and so if @RoyalTS agrees suggest we close this once we merge the PR as an acute fix and follow this issue there. |
This seems like it should validate correctly but doesn't:
The text was updated successfully, but these errors were encountered: