Replies: 2 comments 4 replies
-
seems floating point precision, not sure what is wrong in data your provided |
Beta Was this translation helpful? Give feedback.
2 replies
-
@tomatolog is correct. Float numbers themselves don't change after being inserted; it's just that they can be displayed with different precision. For example, in MySQL, you can format the display using the mysql> drop table if exists t; create table t(f float); insert into t(f) values(19.45); select f, format(f, 6) from t;
Query OK, 0 rows affected (0.13 sec)
Query OK, 0 rows affected (0.39 sec)
Query OK, 1 row affected (0.01 sec)
+-------+--------------+
| f | format(f, 6) |
+-------+--------------+
| 19.45 | 19.450001 |
+-------+--------------+
1 row in set (0.00 sec) In Manticore there's no |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Running a query to automatically create a table:
the query fails, but the table is created.
add entries to the table:
while viewing the table, found that some float numbers are less than or greater than 0.000001
Please explain, why this is happening?
Manticoresearch run in docker-compose with minimal config
Beta Was this translation helpful? Give feedback.
All reactions