Changeset: a5ea8fe4fbd9 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a5ea8fe4fbd9
Modified Files:
        sql/test/nested/Tests/inserts.test
Branch: nested
Log Message:

Adds composite with composite-array type in test


diffs (32 lines):

diff --git a/sql/test/nested/Tests/inserts.test 
b/sql/test/nested/Tests/inserts.test
--- a/sql/test/nested/Tests/inserts.test
+++ b/sql/test/nested/Tests/inserts.test
@@ -19,6 +19,14 @@ create type cbat as (na int[], m text)
 statement ok
 create table cbat_col (cba cbat)
 
+# composite with composite-array type
+
+statement ok
+create type ccat as (ca ct[], m text)
+
+statement ok
+create table ccat_col (cca ccat)
+
 # arrays
 
 statement ok
@@ -42,6 +50,13 @@ insert into cbat_col values (((1, 2), 'a
 ###statement ok
 ###insert into cbat_col values ((array[1, 2], 'alice')), ((array[3, 4], 'bob'))
 
+statement ok
+insert into ccat_col values ((array[(1, 'tic'), (2, 'tac')], 'alice'))
+
+### CRASH
+###statement ok
+###insert into ccat_col values ((array[(10, 'one'), (20, 'two')], 'bob')), 
((array[(30, 'hop')], 'joe'))
+
 ### CRASH
 ###statement ok
 ###insert into bt_arr values (array[1, 2]), (array[10, 20])
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to