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

Float results get truncated #450

Closed
Closed
@theodesp

Description

@theodesp

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions