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
This is a limitation of Google's original Java implementation of the aggregation functions. While most SQL engines can easily support complex expressions in aggregation functions, the library's query engine currently does not and will only accept a column name as the argument. Support for complex expressions would take a major rewrite (I think).
Working example: SELECT SUM(x)
Non-working example: SELECT SUM(x + 1)
The text was updated successfully, but these errors were encountered:
This is a limitation of Google's original Java implementation of the aggregation functions. While most SQL engines can easily support complex expressions in aggregation functions, the library's query engine currently does not and will only accept a column name as the argument. Support for complex expressions would take a major rewrite (I think).
Working example:
SELECT SUM(x)
Non-working example:
SELECT SUM(x + 1)
The text was updated successfully, but these errors were encountered: