From 273de7b974a9c4e1d49ad3fce297e91327547521 Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 22 Nov 2023 11:21:23 +0800 Subject: [PATCH] chore(test): add more null range scan test (#13566) --- e2e_test/batch/basic/null_range_scan.slt.part | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/e2e_test/batch/basic/null_range_scan.slt.part b/e2e_test/batch/basic/null_range_scan.slt.part index f41f2fbe5b92e..85c71f143c28d 100644 --- a/e2e_test/batch/basic/null_range_scan.slt.part +++ b/e2e_test/batch/basic/null_range_scan.slt.part @@ -28,3 +28,20 @@ drop materialized view mv; statement ok drop table t0; + +statement ok +create table t (v int primary key); + +statement ok +create materialized view rev_t as select * from t order by v desc; + +statement ok +insert into t values (10), (20), (NULL); + +query I rowsort +select * from rev_t where v > 15; +---- +20 + +statement ok +drop table t cascade;