We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ABS(-1)
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 Send statement SELECT ABS(-1) to wren core will get SELECT 1 AS "abs(Int64(-1))". It's not an executable SQL.
SELECT ABS(-1)
SELECT 1 AS "abs(Int64(-1))"
To Reproduce
from wren_core import SessionContext session_context = SessionContext(manifest_str, function_path) sql = session_context.transform_sql("SELECT ABS(-1)") # sql = SELECT 1 AS "abs(Int64(-1))"
Wren engine Information
The text was updated successfully, but these errors were encountered:
It's also simplified by SimplifyExpressionRule. Fixed by #874
SimplifyExpressionRule
Sorry, something went wrong.
goldmedal
No branches or pull requests
Describe the bug
Send statement
SELECT ABS(-1)
to wren core will getSELECT 1 AS "abs(Int64(-1))"
. It's not an executable SQL.To Reproduce
Wren engine Information
The text was updated successfully, but these errors were encountered: