-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support COUNT(DISTINCT timestamps) #319
Conversation
Hi! I'm pretty new to rust and this project so might have missed it but are there any tests I should add to? |
Hey @charlibot thanks for opening this PR - awesome.
Or with some more values to check whether the number of distinct values are calculated correctly. Currently we have some end-to-end tests in |
Hey @Dandandan, thanks for the pointer. I'll try to add that in tomorrow |
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 looks great to me. Thank you @charlibot and thanks for adding the test.
@@ -1959,6 +1959,19 @@ async fn to_timestamp() -> Result<()> { | |||
Ok(()) | |||
} | |||
|
|||
#[tokio::test] |
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.
❤️
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.
Looking great @charlibot ! Thanks 💯
Which issue does this PR close?
Closes #314 .
What changes are included in this PR?
Handles
DataType::Timestamp
inScalarValue::List
with a custom macrobuild_timestamp_list
that takes the time unit and timezone.Are there any user-facing changes?