Skip to content

Commit

Permalink
fix(ekuiper): float/double precision
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzeroz committed Oct 28, 2022
1 parent 77ce24a commit 49636ca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/ekuiper/json_rw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 49636ca

Please sign in to comment.