-
Notifications
You must be signed in to change notification settings - Fork 262
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
ESM数据迁移对于long型字段的数据如果长度大于17位,出现了精度丢失问题。 #36
Comments
有测试json文档么,提供一个 |
PUT test_long GET test_long/_search PUT test_long/_doc/1 注意:这个数字,不能通过kibana put,需要用java程序或者python等写到索引中。直接put最后一位的8就丢失了。用程序正常写入后,再用迁移工具迁移,精度就会丢失了,跟在kibana中put一样,最后一位数字8会变成0. |
hi:medcl,用新版0.4.5的windows版本迁移,报了这样的错。 |
验证了linux版本也有这个问题,现在4.5的版本一跑就会出错,请看一下,谢谢 |
es 什么版本? |
6.8.8 |
6.3.2也是一样的问题 |
重新下载试试看。 |
ok,可以了,谢谢 |
ESM数据迁移进对于long型字段的数据如果长度大于17位,出现了精度丢失问题。应该是代码中get数据时字符串转Long型出现了bug。
The text was updated successfully, but these errors were encountered: