jprante / elasticsearch-jdbc

JDBC importer for Elasticsearch
Apache License 2.0
2.84k stars 709 forks source link

The value of a field will be missing, if the value in the database starts with "[]" #959

Open shenhj2016 opened 7 years ago

shenhj2016 commented 7 years ago

The value is "[143]abcd" in the database before using elasticsearch-jdbc.This value will be "[143]" in the elasticsearch.

shenhj2016 commented 7 years ago

There's a good chance it's about PlainKeyValueStreamListener.class

jprante commented 7 years ago

Yes, this is a bug. The bracket notation is used internally to generate JSON objects from table rows.