From 49636caebbb38ac78c55bc37dc503e634187a88f Mon Sep 17 00:00:00 2001 From: fengzero Date: Fri, 28 Oct 2022 05:42:45 +0000 Subject: [PATCH 1/2] fix(ekuiper): float/double precision --- plugins/ekuiper/json_rw.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/ekuiper/json_rw.c b/plugins/ekuiper/json_rw.c index 7a66b634d..ccd4901eb 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 From 1bca0ace2a8acbed00bb20b2ff6c32e756ee1170 Mon Sep 17 00:00:00 2001 From: fengzero Date: Fri, 28 Oct 2022 05:50:47 +0000 Subject: [PATCH 2/2] version: 2.2.7 --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index 1506473e2..b539adea5 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.2.6 \ No newline at end of file +2.2.7 \ No newline at end of file