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

Can parse ORDER BY with aggregation expression #323

Closed
terrymanu opened this issue Aug 10, 2017 · 1 comment
Closed

Can parse ORDER BY with aggregation expression #323

terrymanu opened this issue Aug 10, 2017 · 1 comment

Comments

@terrymanu
Copy link
Member

Please answer these questions before submitting your issue. Thanks!

Which version of Sharding-Jdbc do you using?

1.5.0

Expected behavior

parse SQL

SELECT user_id, SUM(order_id) FROM t_order GROUP BY user_id ORDER BY SUM(order_id)

Order By SQL Context should be: SUM(order_id)

Actual behavior

Order By SQL Context is ignore

terrymanu added a commit that referenced this issue Aug 10, 2017
@terrymanu
Copy link
Member Author

fixed at 1.5.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