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
Add toMillisecond
function
#60281
Add toMillisecond
function
#60281
Conversation
correct casing in documentation
This is an automated comment for commit 52b1fc6 with description of existing statuses. It's updated for the latest CI running ⏳ Click here to open a full report in a separate page Successful checks
|
@Blargian I made some fixes (including some in related code). The problem with this PR is that the millisecond calculation is wrong. Kindly see my annotations in tests/queries/0_stateless/02998_to_milliseconds.sql for the expected results (basically the millisecond component of the input, similar to what |
@rschu1ze I am probably overlooking something but the |
That's right,
|
Approved (will merge when the tests in CI are green), thanks a lot for taking care! |
Well, they are not |
Closes #54746
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Added function
toMillisecond
which returns the millisecond component for values of typeDateTime
orDateTime64
.Documentation entry for user-facing changes