MongoDB -> Elasticsearch :: json: unsupported value: NaN
ahmadsdk opened this issue · 0 comments
ahmadsdk commented
Directions
I am using transporter to migrate MongoDB data to Elasticsearch. One issue I've run into is when I have a JSON value NaN I get:
ERRO json: unsupported value: NaN
System info:
- Transporter version: 0.5.2
- OS: Ubuntu 18.04.2 LTS
- DB version(s): MongoDB 3.6.3 / Elasticsearch 7.7
Reproducible Steps:
- Have some value NaN in MongoDB
- try to migrate data to Elasticsearch
What did you expect to happen?
Data transfers successfully.
What actually happened?
ERRO json: unsupported value: NaN
Request:
Is there a way to check for NaN and update the database within transporter?