We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaab60a commit 4711b0bCopy full SHA for 4711b0b
1 file changed
datafusion/sqllogictest/test_files/select.slt
@@ -960,6 +960,12 @@ physical_plan
960
01)ProjectionExec: expr=[c1@0 >= 2 AND c1@0 <= 3 as select_between_data.c1 BETWEEN Int64(2) AND Int64(3)]
961
02)--DataSourceExec: partitions=1, partition_sizes=[1]
962
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
969
970
# TODO: query_get_indexed_field
971
0 commit comments