diff --git a/plugins/ekuiper/json_rw.c b/plugins/ekuiper/json_rw.c index 7a66b634..ccd4901e 100644 --- a/plugins/ekuiper/json_rw.c +++ b/plugins/ekuiper/json_rw.c @@ -155,9 +155,10 @@ int json_encode_read_resp_tags(void *json_object, void *param) } neu_json_elem_t tag_elem = { - .name = json_tag.name, - .t = json_tag.t, - .v = json_tag.value, + .name = json_tag.name, + .t = json_tag.t, + .v = json_tag.value, + .precision = trans_data->tags[i].value.precision, }; ret = neu_json_encode_field((0 != json_tag.error) ? errors_object