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
Describe the bug Unable to compare DATETIME and TIMESTAMP for logical operators and CASE.
Or for query issues:'
Expected behavior The SQL plugin should be able to compare DATETIME and TIMESTAMP or SUBDATE and ADDDATE should have output of type TIMESTAMP.
Screenshots
The text was updated successfully, but these errors were encountered:
The root cause seems implicit conversion between DATETIME and TIMESTAMP is not supported. Code: https://github.com/opensearch-project/sql/blob/main/core/src/main/java/org/opensearch/sql/data/type/ExprCoreType.java#L58
Sorry, something went wrong.
Yury-Fridlyand
Successfully merging a pull request may close this issue.
Describe the bug
Unable to compare DATETIME and TIMESTAMP for logical operators and CASE.
Or for query issues:'
Expected behavior
The SQL plugin should be able to compare DATETIME and TIMESTAMP or SUBDATE and ADDDATE should have output of type TIMESTAMP.
Screenshots
The text was updated successfully, but these errors were encountered: