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

[SQL] Support MySQL ROUND and POWER function. #456

Closed
dongzl opened this issue Oct 13, 2022 · 0 comments · Fixed by #547
Closed

[SQL] Support MySQL ROUND and POWER function. #456

dongzl opened this issue Oct 13, 2022 · 0 comments · Fixed by #547
Assignees
Labels
SQL SQL support
Milestone

Comments

@dongzl
Copy link
Contributor

dongzl commented Oct 13, 2022

What would you like to be added:

Why is this needed:

ref #454

official document:
https://dev.mysql.com/doc/refman/5.6/en/mathematical-functions.html#function_round
https://dev.mysql.com/doc/refman/5.6/en/mathematical-functions.html#function_power

reference code:

https://github.com/arana-db/arana/tree/master/pkg/runtime/function2/abs.go

@dongzl dongzl added the SQL SQL support label Oct 13, 2022
@dongzl dongzl added this to the 0.2.0 milestone Oct 13, 2022
@dongzl dongzl changed the title [SQL] Support MySQL ROUND and POWER function. SQL [SQL] Support MySQL ROUND and POWER function. Oct 13, 2022
@dongzl dongzl assigned raspberry-hu and unassigned robbinhan Nov 19, 2022
dongzl pushed a commit that referenced this issue Nov 27, 2022
* add round

* [SQL] Support MySQL ROUND and POWER function

* [SQL] Support MySQL ROUND and POWER function

* [SQL] Support MySQL ROUND and POWER function

* [SQL] Support MySQL ROUND and POWER function

* [SQL] Support MySQL ROUND and POWER function
GavinLam164 pushed a commit to GavinLam164/arana that referenced this issue Feb 25, 2023
* add round

* [SQL] Support MySQL ROUND and POWER function

* [SQL] Support MySQL ROUND and POWER function

* [SQL] Support MySQL ROUND and POWER function

* [SQL] Support MySQL ROUND and POWER function

* [SQL] Support MySQL ROUND and POWER function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SQL SQL support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants