Changeset: 14956e293414 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/14956e293414
Modified Files:
sql/test/nested/Tests/array.test
Branch: nested
Log Message:
Adds tests for literal array expressions
diffs (30 lines):
diff --git a/sql/test/nested/Tests/array.test b/sql/test/nested/Tests/array.test
--- a/sql/test/nested/Tests/array.test
+++ b/sql/test/nested/Tests/array.test
@@ -1,5 +1,26 @@
## fixed-length type array
+query T nosort array_literal_single
+select array[10, 11]
+----
+{10,11}
+
+query T nosort array_literal_single
+select (values (array[10, 11]))
+----
+{10,11}
+
+query T nosort array_literal_single
+select * from (values (array[10, 11]))
+----
+{10,11}
+
+query T nosort
+select * from (values (array[10, 11]), (array[20, 21]))
+----
+{10,11}
+{20,21}
+
statement ok
create table flent_arr (n int[])
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]