Skip to content

Commit

Permalink
update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jacktengg committed Mar 15, 2024
1 parent c51bdc9 commit 5103ddc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion regression-test/data/datatype_p0/decimalv3/test_load.out
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
1.00500 0.10005

-- !decimalv3_underflow4 --
1.00100 2.00200
1.00100 0.00000
1.00200 0.00000
1.00300 0.10000
1.00400 0.10004
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@ suite("test_load") {
qt_decimalv3_underflow3 """
select * from test_sys_update_basic_test_update_decimal_tb order by 1, 2;
"""
// need to use "1.001"(quoted) because non-nereids dml seems treat 1.001 as double,
// which will cause wrong result of decimal comparision
sql """
UPDATE test_sys_update_basic_test_update_decimal_tb SET v1="0.00000001" WHERE k1 = 1.001;
UPDATE test_sys_update_basic_test_update_decimal_tb SET v1="0.00000001" WHERE k1 = "1.001";
"""
qt_decimalv3_underflow4 """
select * from test_sys_update_basic_test_update_decimal_tb order by 1, 2;
Expand Down

0 comments on commit 5103ddc

Please sign in to comment.