You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a feature that involves converting SQL to DSL using Cadence. However, I noticed that the following SQL query is not supported:
SELECT field2 + field3 FROM index234
When attempting to execute this query, I receive the following error:
esql: *sqlparser.AliasedExpr not supported in select body
It would be highly beneficial if Cadence could support arithmetic operations (such as addition, subtraction, multiplication, and division) within the SELECT clause of SQL queries. This enhancement would greatly expand the flexibility and functionality of SQL to DSL conversions.
Thank you for considering this feature request!
The text was updated successfully, but these errors were encountered:
From the docs, it looks like the query should be supported, could you provide an example of your query that caused the error? Because from the error it sounds like you might be aliasing a field in the select statement
Issue Description:
I'm currently working on a feature that involves converting SQL to DSL using Cadence. However, I noticed that the following SQL query is not supported:
SELECT field2 + field3 FROM index234
When attempting to execute this query, I receive the following error:
esql: *sqlparser.AliasedExpr not supported in select body
It would be highly beneficial if Cadence could support arithmetic operations (such as addition, subtraction, multiplication, and division) within the SELECT clause of SQL queries. This enhancement would greatly expand the flexibility and functionality of SQL to DSL conversions.
Thank you for considering this feature request!
The text was updated successfully, but these errors were encountered: