We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
str_to_date
What is the bug? str_to_date function in https://opensearch.org/docs/latest/search-plugins/sql/functions/#date-and-time does not work with two-digits year (RFC 822 date-time formatted).
How can one reproduce the bug? Steps to reproduce the behavior: Make a similar query
SELECT str_to_date('03-Jan-24', '%d-%b-%y');
returns 0024-01-03 00:00:00
0024-01-03 00:00:00
What is the expected behavior? Return 2024-01-03 00:00:00
2024-01-03 00:00:00
What is your host/environment?
Do you have any screenshots? If applicable, add screenshots to help explain your problem.
Do you have any additional context? Add any other context about the problem.
The text was updated successfully, but these errors were encountered:
[Catch All Triage - Attendees 1, 2, 3, 4, 5]
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
What is the bug?
str_to_date
function in https://opensearch.org/docs/latest/search-plugins/sql/functions/#date-and-time does not work with two-digits year (RFC 822 date-time formatted).How can one reproduce the bug?
Steps to reproduce the behavior:
Make a similar query
returns
0024-01-03 00:00:00
What is the expected behavior?
Return
2024-01-03 00:00:00
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: