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;