Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
zclllyybb committed Aug 14, 2024
1 parent 91f6049 commit 8890c61
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,21 @@
-- !sql --
0.8944271909999159

-- !sql_const1 --
0.0

-- !sql_const2 --
0.0

-- !sql_const3 --
0.0

-- !sql_const4 --
0.0

-- !sql_const5 --
0.0

-- !sql_const6 --
0.0

Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,11 @@ suite("test_corr") {
qt_sql "select corr(x,y) from test_corr"

qt_sql "select corr(cast(x as float),cast(y as float)) from test_corr"
sql """ DROP TABLE IF EXISTS test_corr """

qt_sql_const1 "select corr(x,1) from test_corr"
qt_sql_const2 "select corr(x,1e100) from test_corr"
qt_sql_const3 "select corr(x,1e-100) from test_corr"
qt_sql_const4 "select corr(1,y) from test_corr"
qt_sql_const5 "select corr(1e100,y) from test_corr"
qt_sql_const6 "select corr(1e-100,y) from test_corr"
}

0 comments on commit 8890c61

Please sign in to comment.