From c8a7410009263e103e28ae974b336723e3289a36 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Tue, 10 Nov 2020 21:49:53 +0800 Subject: [PATCH] [TD-225] add a test case. --- tests/script/general/parser/constCol.sim | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/script/general/parser/constCol.sim b/tests/script/general/parser/constCol.sim index 7ae496f1ac..b5a4d4abea 100644 --- a/tests/script/general/parser/constCol.sim +++ b/tests/script/general/parser/constCol.sim @@ -347,6 +347,17 @@ if $rows != 3 then return -1 endi +sql select 0.1 + 0.2 from t1 +if $rows != 3 then + return -1 +endi + +print =============================> td-2036 +if $data00 != 0.3000000 then + print expect: 0.3000000, actual:$data00 + return -1 +endi + print ======================udc with normal column group by sql_error select from t1