Skip to content
New issue

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

Aggregation functions do not work with complex expressions #10

Open
bggardner opened this issue Sep 18, 2014 · 0 comments
Open

Aggregation functions do not work with complex expressions #10

bggardner opened this issue Sep 18, 2014 · 0 comments

Comments

@bggardner
Copy link
Owner

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant