Skip to content

Commit 4711b0b

Browse files
committed
add query
1 parent aaab60a commit 4711b0b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

datafusion/sqllogictest/test_files/select.slt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,12 @@ physical_plan
960960
01)ProjectionExec: expr=[c1@0 >= 2 AND c1@0 <= 3 as select_between_data.c1 BETWEEN Int64(2) AND Int64(3)]
961961
02)--DataSourceExec: partitions=1, partition_sizes=[1]
962962

963+
# regression test: full i64 BETWEEN bounds should not overflow
964+
query I
965+
SELECT * FROM (VALUES (1)) AS t(x)
966+
WHERE x BETWEEN -9223372036854775808 AND 9223372036854775807
967+
----
968+
1
963969

964970
# TODO: query_get_indexed_field
965971

0 commit comments

Comments
 (0)