-
Notifications
You must be signed in to change notification settings - Fork 241
Athena support #2372
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
base: v4
Are you sure you want to change the base?
Athena support #2372
Conversation
f4624bc
to
d5bd638
Compare
|
@@ -5,8 +5,19 @@ | |||
|
|||
def convert_datetime_to_str(dt: datetime) -> Optional[str]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function gave issues with other DBs as well.
Changed it so the timezone is now set accordingly (see comments)
assert str(check_result.data_timestamp) == "2025-01-04 10:00:00+00:00" | ||
assert str(check_result.data_timestamp) in [ | ||
"2025-01-04 10:00:00+00:00", | ||
"2025-01-04 10:00:00", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not checking for a timestamp here, so if it's not included it's okay. But someone might have a different opinion, so I'm mentioning/highlighting it ;)
No description provided.