I am loading from a mongodb table to mysql table using kettle 4.4 one of the column at some row gives an error : Incorrect string value: '\xF0\x9F\x98\x8D' for column. I checked some of the forums and modified the column to utf8mb4_general_ci , but still it gives the same error.
The table has 12 lakhs + records and I am not able to identify which row is giving the error. In the table there is _id which is object id. I tried to load with order by on _id column and when it stopped with the error, then tried to load with > max(_id) from my previous load. With this it gives duplicates and am not able to identify which row is giving the error.
1) Is there a way to identify which row is giving the error or to solve this error?
2) In the table output step, there is a option called insert ignore errors, i checked it and tried to run. Now it does not give me any errors, but on kettle it shows no. of records written as 1192628 but the table has only 1192626 records. So 2 records are missing. Does ignore insert errors option ignores the lines with errors? If so where are these errors logged ? I tried to read some documents but none of them have this info.
It would be great if anyone of you could help me.
Thank you, Deepthi