Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Float results get truncated #450

Closed
theodesp opened this issue Oct 12, 2018 · 1 comment
Closed

Float results get truncated #450

theodesp opened this issue Oct 12, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@theodesp
Copy link
Contributor

I'm trying to implement #392 and I noticed that the float64 results get truncated as integers.

I've also tested via another function AVG and that is also happening. For example:

Mysql-8

mysql> select avg(23.222);
+-------------+
| avg(23.222) |
+-------------+
|  23.2220000 |
+-------------+
1 row in set (0.01 sec)

go-mysql-server

mysql> select avg(23.222);
+-------------+
| AVG(23.222) |
+-------------+
|          23 |
+-------------+
1 row in set (0.00 sec)

Until that is solved some issues cannot go forward

@smola smola changed the title Float results get trancated Float results get truncated Oct 16, 2018
@ajnavarro ajnavarro added the bug Something isn't working label Oct 16, 2018
@kuba-- kuba-- self-assigned this Oct 16, 2018
@theodesp
Copy link
Contributor Author

Cool I will continue with the #392

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants