Skip to content

Commit

Permalink
add truncate and reverse slt
Browse files Browse the repository at this point in the history
  • Loading branch information
kche0169 committed Jan 13, 2025
1 parent c86fa51 commit 685aa4b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/sql/dql/type/math.slt
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,13 @@ select c2 from test_math where isfinite(1.0);
2.500000
-2.500000

query XII
SELECT c2, trunc(c2, 2) FROM test_math WHERE c1 > 9;
----
2.400000 2.00
-2.400000 -2.00
2.500000 3.00
-2.500000 -3.00

statement ok
DROP TABLE test_math;
5 changes: 5 additions & 0 deletions test/sql/dql/type/varchar.slt
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,10 @@ abcddddc abcddddd 2 1
abcdddde abcddddd 3 1
abcdddde abcdddde 4 1

query XXI
SELECT *, reverse(c1) FROM test_varchar_filter where c1 < c2;
----
abcddddc abcddddd 2 cddddcba

statement ok
DROP TABLE test_varchar_filter;

0 comments on commit 685aa4b

Please sign in to comment.