From 8f27e65bddd7d4b8515ce620fb485fdd78fcdf89 Mon Sep 17 00:00:00 2001 From: Constantin Jucovschi Date: Fri, 24 Apr 2009 07:20:22 -0400 Subject: Initial commit --- systemtest/testdata/caset1/cond1.ql | 4 +++ systemtest/testdata/caset1/cond1.ql.java.out | 29 +++++++++++++++++ systemtest/testdata/caset1/cond1.ql.out | 44 ++++++++++++++++++++++++++ systemtest/testdata/caset1/cond2.ql | 4 +++ systemtest/testdata/caset1/cond2.ql.java.out | 29 +++++++++++++++++ systemtest/testdata/caset1/cond2.ql.out | 44 ++++++++++++++++++++++++++ systemtest/testdata/caset1/count1.ql | 3 ++ systemtest/testdata/caset1/count1.ql.java.out | 29 +++++++++++++++++ systemtest/testdata/caset1/count1.ql.out | 24 ++++++++++++++ systemtest/testdata/caset1/count2.ql | 3 ++ systemtest/testdata/caset1/count2.ql.java.out | 15 +++++++++ systemtest/testdata/caset1/count2.ql.out | 14 ++++++++ systemtest/testdata/caset1/count3.ql | 3 ++ systemtest/testdata/caset1/count3.ql.java.out | 15 +++++++++ systemtest/testdata/caset1/count3.ql.out | 14 ++++++++ systemtest/testdata/caset1/hist1.ql | 3 ++ systemtest/testdata/caset1/hist1.ql.java.out | 29 +++++++++++++++++ systemtest/testdata/caset1/hist1.ql.out | 24 ++++++++++++++ systemtest/testdata/caset1/hist2.ql | 4 +++ systemtest/testdata/caset1/hist2.ql.java.out | 29 +++++++++++++++++ systemtest/testdata/caset1/hist2.ql.out | 24 ++++++++++++++ systemtest/testdata/caset1/marray1.ql | 4 +++ systemtest/testdata/caset1/marray1.ql.java.out | 29 +++++++++++++++++ systemtest/testdata/caset1/marray1.ql.out | 44 ++++++++++++++++++++++++++ systemtest/testdata/caset1/marray2.ql.out | 23 ++++++++++++++ systemtest/testdata/caset1/marray3.ql.out | 44 ++++++++++++++++++++++++++ systemtest/testdata/caset1/marray4.ql | 4 +++ systemtest/testdata/caset1/marray4.ql.java.out | 15 +++++++++ systemtest/testdata/caset1/marray4.ql.out | 23 ++++++++++++++ systemtest/testdata/caset1/olap1.ql | 4 +++ systemtest/testdata/caset1/olap1.ql.java.out | 15 +++++++++ systemtest/testdata/caset1/olap1.ql.out | 15 +++++++++ systemtest/testdata/caset1/olap2.ql | 4 +++ systemtest/testdata/caset1/olap2.ql.java.out | 15 +++++++++ systemtest/testdata/caset1/olap2.ql.out | 15 +++++++++ 35 files changed, 641 insertions(+) create mode 100644 systemtest/testdata/caset1/cond1.ql create mode 100644 systemtest/testdata/caset1/cond1.ql.java.out create mode 100644 systemtest/testdata/caset1/cond1.ql.out create mode 100644 systemtest/testdata/caset1/cond2.ql create mode 100644 systemtest/testdata/caset1/cond2.ql.java.out create mode 100644 systemtest/testdata/caset1/cond2.ql.out create mode 100644 systemtest/testdata/caset1/count1.ql create mode 100644 systemtest/testdata/caset1/count1.ql.java.out create mode 100644 systemtest/testdata/caset1/count1.ql.out create mode 100644 systemtest/testdata/caset1/count2.ql create mode 100644 systemtest/testdata/caset1/count2.ql.java.out create mode 100644 systemtest/testdata/caset1/count2.ql.out create mode 100644 systemtest/testdata/caset1/count3.ql create mode 100644 systemtest/testdata/caset1/count3.ql.java.out create mode 100644 systemtest/testdata/caset1/count3.ql.out create mode 100644 systemtest/testdata/caset1/hist1.ql create mode 100644 systemtest/testdata/caset1/hist1.ql.java.out create mode 100644 systemtest/testdata/caset1/hist1.ql.out create mode 100644 systemtest/testdata/caset1/hist2.ql create mode 100644 systemtest/testdata/caset1/hist2.ql.java.out create mode 100644 systemtest/testdata/caset1/hist2.ql.out create mode 100644 systemtest/testdata/caset1/marray1.ql create mode 100644 systemtest/testdata/caset1/marray1.ql.java.out create mode 100644 systemtest/testdata/caset1/marray1.ql.out create mode 100644 systemtest/testdata/caset1/marray2.ql.out create mode 100644 systemtest/testdata/caset1/marray3.ql.out create mode 100644 systemtest/testdata/caset1/marray4.ql create mode 100644 systemtest/testdata/caset1/marray4.ql.java.out create mode 100644 systemtest/testdata/caset1/marray4.ql.out create mode 100644 systemtest/testdata/caset1/olap1.ql create mode 100644 systemtest/testdata/caset1/olap1.ql.java.out create mode 100644 systemtest/testdata/caset1/olap1.ql.out create mode 100644 systemtest/testdata/caset1/olap2.ql create mode 100644 systemtest/testdata/caset1/olap2.ql.java.out create mode 100644 systemtest/testdata/caset1/olap2.ql.out (limited to 'systemtest/testdata/caset1') diff --git a/systemtest/testdata/caset1/cond1.ql b/systemtest/testdata/caset1/cond1.ql new file mode 100644 index 0000000..695dcee --- /dev/null +++ b/systemtest/testdata/caset1/cond1.ql @@ -0,0 +1,4 @@ +-- count cells and add value by induction + +select a + condense + over x in sdom(a) using 1c +from ImgCharA as a diff --git a/systemtest/testdata/caset1/cond1.ql.java.out b/systemtest/testdata/caset1/cond1.ql.java.out new file mode 100644 index 0000000..0e601ce --- /dev/null +++ b/systemtest/testdata/caset1/cond1.ql.java.out @@ -0,0 +1,29 @@ + +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:10,0:10] + TilingDomain..........: [0:356,0:356] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 121 + 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:10,0:10] + TilingDomain..........: [0:356,0:356] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 121 + 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 \ No newline at end of file diff --git a/systemtest/testdata/caset1/cond1.ql.out b/systemtest/testdata/caset1/cond1.ql.out new file mode 100644 index 0000000..92ac81e --- /dev/null +++ b/systemtest/testdata/caset1/cond1.ql.out @@ -0,0 +1,44 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=2 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:10,0:10] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 121 + 121 121 121 121 121 121 121 121 121 121 121 + 121 121 121 121 121 121 121 121 121 121 121 + 121 121 121 121 121 121 121 121 121 121 121 + 121 121 121 121 121 121 121 121 121 121 121 + 121 121 121 121 121 121 121 121 121 121 121 + 121 121 121 121 121 121 121 121 121 121 121 + 121 121 121 121 121 121 121 121 121 121 121 + 121 121 121 121 121 121 121 121 121 121 121 + 121 121 121 121 121 121 121 121 121 121 121 + 121 121 121 121 121 121 121 121 121 121 121 + 121 121 121 121 121 121 121 121 121 121 121 +Image 2 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:10,0:10] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 121 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/cond2.ql b/systemtest/testdata/caset1/cond2.ql new file mode 100644 index 0000000..75ee59a --- /dev/null +++ b/systemtest/testdata/caset1/cond2.ql @@ -0,0 +1,4 @@ +-- sum cell values and add result by induction + +select a + condense + over x in sdom(a) using a[x] +from ImgCharA as a diff --git a/systemtest/testdata/caset1/cond2.ql.java.out b/systemtest/testdata/caset1/cond2.ql.java.out new file mode 100644 index 0000000..8504c07 --- /dev/null +++ b/systemtest/testdata/caset1/cond2.ql.java.out @@ -0,0 +1,29 @@ + +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:10,0:10] + TilingDomain..........: [0:356,0:356] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 121 + 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:10,0:10] + TilingDomain..........: [0:356,0:356] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 121 + 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 122 \ No newline at end of file diff --git a/systemtest/testdata/caset1/cond2.ql.out b/systemtest/testdata/caset1/cond2.ql.out new file mode 100644 index 0000000..873c469 --- /dev/null +++ b/systemtest/testdata/caset1/cond2.ql.out @@ -0,0 +1,44 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=2 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:10,0:10] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 121 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 +Image 2 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:10,0:10] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 121 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 + 122 122 122 122 122 122 122 122 122 122 122 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/count1.ql b/systemtest/testdata/caset1/count1.ql new file mode 100644 index 0000000..a6bf41b --- /dev/null +++ b/systemtest/testdata/caset1/count1.ql @@ -0,0 +1,3 @@ +select marray x in [0:0] values count_cells( a >= 0 ) +from ImgCharA as a + diff --git a/systemtest/testdata/caset1/count1.ql.java.out b/systemtest/testdata/caset1/count1.ql.java.out new file mode 100644 index 0000000..6e01fb6 --- /dev/null +++ b/systemtest/testdata/caset1/count1.ql.java.out @@ -0,0 +1,29 @@ + +rasj.RasMArrayLong + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:0] + TilingDomain..........: [0:15999] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 8 + Data format...........: 0 + Data size (bytes).....: 8 + 0 0 0 0 0 0 0 121 +rasj.RasMArrayLong + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:0] + TilingDomain..........: [0:15999] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 8 + Data format...........: 0 + Data size (bytes).....: 8 + 0 0 0 0 0 0 0 121 \ No newline at end of file diff --git a/systemtest/testdata/caset1/count1.ql.out b/systemtest/testdata/caset1/count1.ql.out new file mode 100644 index 0000000..5b55f5e --- /dev/null +++ b/systemtest/testdata/caset1/count1.ql.out @@ -0,0 +1,24 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=2 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< ulong > + Domain................: [0:0] + Base Type Schema......: ulong + Base Type Length......: 4 + Data format.......... : Array + Data size (bytes).... : 4 + 121 +Image 2 +GMarray + Type Structure........: marray + Type Schema...........: marray< ulong > + Domain................: [0:0] + Base Type Schema......: ulong + Base Type Length......: 4 + Data format.......... : Array + Data size (bytes).... : 4 + 121 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/count2.ql b/systemtest/testdata/caset1/count2.ql new file mode 100644 index 0000000..da8e5eb --- /dev/null +++ b/systemtest/testdata/caset1/count2.ql @@ -0,0 +1,3 @@ +select marray x in [0:0] values count_cells( a > 100 ) +from ImgCharD as a + diff --git a/systemtest/testdata/caset1/count2.ql.java.out b/systemtest/testdata/caset1/count2.ql.java.out new file mode 100644 index 0000000..ef66475 --- /dev/null +++ b/systemtest/testdata/caset1/count2.ql.java.out @@ -0,0 +1,15 @@ + +rasj.RasMArrayLong + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:0] + TilingDomain..........: [0:15999] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 8 + Data format...........: 0 + Data size (bytes).....: 8 + 0 0 0 0 0 0 0 20 \ No newline at end of file diff --git a/systemtest/testdata/caset1/count2.ql.out b/systemtest/testdata/caset1/count2.ql.out new file mode 100644 index 0000000..4470164 --- /dev/null +++ b/systemtest/testdata/caset1/count2.ql.out @@ -0,0 +1,14 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=1 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< ulong > + Domain................: [0:0] + Base Type Schema......: ulong + Base Type Length......: 4 + Data format.......... : Array + Data size (bytes).... : 4 + 20 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/count3.ql b/systemtest/testdata/caset1/count3.ql new file mode 100644 index 0000000..b5b874f --- /dev/null +++ b/systemtest/testdata/caset1/count3.ql @@ -0,0 +1,3 @@ +select marray x in [0:0] values count_cells( a >= 50 ) +from ImgULongC as a + diff --git a/systemtest/testdata/caset1/count3.ql.java.out b/systemtest/testdata/caset1/count3.ql.java.out new file mode 100644 index 0000000..0c60742 --- /dev/null +++ b/systemtest/testdata/caset1/count3.ql.java.out @@ -0,0 +1,15 @@ + +rasj.RasMArrayLong + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:0] + TilingDomain..........: [0:15999] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 8 + Data format...........: 0 + Data size (bytes).....: 8 + 0 0 0 0 0 0 0 50 \ No newline at end of file diff --git a/systemtest/testdata/caset1/count3.ql.out b/systemtest/testdata/caset1/count3.ql.out new file mode 100644 index 0000000..6d8ec71 --- /dev/null +++ b/systemtest/testdata/caset1/count3.ql.out @@ -0,0 +1,14 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=1 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< ulong > + Domain................: [0:0] + Base Type Schema......: ulong + Base Type Length......: 4 + Data format.......... : Array + Data size (bytes).... : 4 + 50 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/hist1.ql b/systemtest/testdata/caset1/hist1.ql new file mode 100644 index 0000000..b601fa2 --- /dev/null +++ b/systemtest/testdata/caset1/hist1.ql @@ -0,0 +1,3 @@ +select marray n in [0:1] values + condense + over x in sdom(a) using (a[x] = n[0])*1c +from ImgCharA as a diff --git a/systemtest/testdata/caset1/hist1.ql.java.out b/systemtest/testdata/caset1/hist1.ql.java.out new file mode 100644 index 0000000..6039b5e --- /dev/null +++ b/systemtest/testdata/caset1/hist1.ql.java.out @@ -0,0 +1,29 @@ + +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:1] + TilingDomain..........: [0:127999] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 2 + 121 0 +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:1] + TilingDomain..........: [0:127999] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 2 + 0 121 \ No newline at end of file diff --git a/systemtest/testdata/caset1/hist1.ql.out b/systemtest/testdata/caset1/hist1.ql.out new file mode 100644 index 0000000..0f625b9 --- /dev/null +++ b/systemtest/testdata/caset1/hist1.ql.out @@ -0,0 +1,24 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=2 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:1] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 2 + 121 0 +Image 2 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:1] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 2 + 0 121 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/hist2.ql b/systemtest/testdata/caset1/hist2.ql new file mode 100644 index 0000000..8b0c746 --- /dev/null +++ b/systemtest/testdata/caset1/hist2.ql @@ -0,0 +1,4 @@ +select marray n in [0:1] values + condense + over x in sdom(a) where a[x] = n[0] using 1c +from ImgCharA as a + diff --git a/systemtest/testdata/caset1/hist2.ql.java.out b/systemtest/testdata/caset1/hist2.ql.java.out new file mode 100644 index 0000000..6039b5e --- /dev/null +++ b/systemtest/testdata/caset1/hist2.ql.java.out @@ -0,0 +1,29 @@ + +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:1] + TilingDomain..........: [0:127999] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 2 + 121 0 +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:1] + TilingDomain..........: [0:127999] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 2 + 0 121 \ No newline at end of file diff --git a/systemtest/testdata/caset1/hist2.ql.out b/systemtest/testdata/caset1/hist2.ql.out new file mode 100644 index 0000000..0f625b9 --- /dev/null +++ b/systemtest/testdata/caset1/hist2.ql.out @@ -0,0 +1,24 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=2 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:1] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 2 + 121 0 +Image 2 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:1] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 2 + 0 121 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/marray1.ql b/systemtest/testdata/caset1/marray1.ql new file mode 100644 index 0000000..8ee87af --- /dev/null +++ b/systemtest/testdata/caset1/marray1.ql @@ -0,0 +1,4 @@ +-- initialize marray with constant + +select marray x in sdom(a) values 1 +from ImgCharC as a diff --git a/systemtest/testdata/caset1/marray1.ql.java.out b/systemtest/testdata/caset1/marray1.ql.java.out new file mode 100644 index 0000000..f386b12 --- /dev/null +++ b/systemtest/testdata/caset1/marray1.ql.java.out @@ -0,0 +1,29 @@ + +rasj.RasMArrayInteger + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:10,0:10] + TilingDomain..........: [0:177,0:177] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 4 + Data format...........: 0 + Data size (bytes).....: 484 + 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 +rasj.RasMArrayInteger + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:10,0:10] + TilingDomain..........: [0:177,0:177] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 4 + Data format...........: 0 + Data size (bytes).....: 484 + 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 \ No newline at end of file diff --git a/systemtest/testdata/caset1/marray1.ql.out b/systemtest/testdata/caset1/marray1.ql.out new file mode 100644 index 0000000..3833bd7 --- /dev/null +++ b/systemtest/testdata/caset1/marray1.ql.out @@ -0,0 +1,44 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=2 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< long > + Domain................: [0:10,0:10] + Base Type Schema......: long + Base Type Length......: 4 + Data format.......... : Array + Data size (bytes).... : 484 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 +Image 2 +GMarray + Type Structure........: marray + Type Schema...........: marray< long > + Domain................: [0:10,0:10] + Base Type Schema......: long + Base Type Length......: 4 + Data format.......... : Array + Data size (bytes).... : 484 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 + 1 1 1 1 1 1 1 1 1 1 1 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/marray2.ql.out b/systemtest/testdata/caset1/marray2.ql.out new file mode 100644 index 0000000..db49fb7 --- /dev/null +++ b/systemtest/testdata/caset1/marray2.ql.out @@ -0,0 +1,23 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=1 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< ulong > + Domain................: [0:9,0:9] + Base Type Schema......: ulong + Base Type Length......: 4 + Data format.......... : Array + Data size (bytes).... : 400 + 0 1 2 3 4 5 6 7 8 9 + 10 11 12 13 14 15 16 17 18 19 + 20 21 22 23 24 25 26 27 28 29 + 30 31 32 33 34 35 36 37 38 39 + 40 41 42 43 44 45 46 47 48 49 + 50 51 52 53 54 55 56 57 58 59 + 60 61 62 63 64 65 66 67 68 69 + 70 71 72 73 74 75 76 77 78 79 + 80 81 82 83 84 85 86 87 88 89 + 90 91 92 93 94 95 96 97 98 99 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/marray3.ql.out b/systemtest/testdata/caset1/marray3.ql.out new file mode 100644 index 0000000..312dbd1 --- /dev/null +++ b/systemtest/testdata/caset1/marray3.ql.out @@ -0,0 +1,44 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=2 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:10,0:10] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 121 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 + 0 0 0 0 0 0 0 0 0 0 0 +Image 2 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:10,0:10] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 121 + 2 2 2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2 2 2 + 2 2 2 2 2 2 2 2 2 2 2 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/marray4.ql b/systemtest/testdata/caset1/marray4.ql new file mode 100644 index 0000000..4818975 --- /dev/null +++ b/systemtest/testdata/caset1/marray4.ql @@ -0,0 +1,4 @@ +-- mirror mdd objects with marray + +select marray x in sdom(a) values a[ sdom(a)[0].hi-x[0], x[1] ] +from ImgULongC as a diff --git a/systemtest/testdata/caset1/marray4.ql.java.out b/systemtest/testdata/caset1/marray4.ql.java.out new file mode 100644 index 0000000..6045e9a --- /dev/null +++ b/systemtest/testdata/caset1/marray4.ql.java.out @@ -0,0 +1,15 @@ + +rasj.RasMArrayLong + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:9,0:9] + TilingDomain..........: [0:125,0:125] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 8 + Data format...........: 0 + Data size (bytes).....: 800 + 0 0 0 0 0 0 0 9 0 0 0 0 0 0 0 19 0 0 0 0 0 0 0 29 0 0 0 0 0 0 0 39 0 0 0 0 0 0 0 49 0 0 0 0 0 0 0 59 0 0 0 0 0 0 0 69 0 0 0 0 0 0 0 79 0 0 0 0 0 0 0 89 0 0 0 0 0 0 0 99 0 0 0 0 0 0 0 8 0 0 0 0 0 0 0 18 0 0 0 0 0 0 0 28 0 0 0 0 0 0 0 38 0 0 0 0 0 0 0 48 0 0 0 0 0 0 0 58 0 0 0 0 0 0 0 68 0 0 0 0 0 0 0 78 0 0 0 0 0 0 0 88 0 0 0 0 0 0 0 98 0 0 0 0 0 0 0 7 0 0 0 0 0 0 0 17 0 0 0 0 0 0 0 27 0 0 0 0 0 0 0 37 0 0 0 0 0 0 0 47 0 0 0 0 0 0 0 57 0 0 0 0 0 0 0 67 0 0 0 0 0 0 0 77 0 0 0 0 0 0 0 87 0 0 0 0 0 0 0 97 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 16 0 0 0 0 0 0 0 26 0 0 0 0 0 0 0 36 0 0 0 0 0 0 0 46 0 0 0 0 0 0 0 56 0 0 0 0 0 0 0 66 0 0 0 0 0 0 0 76 0 0 0 0 0 0 0 86 0 0 0 0 0 0 0 96 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 15 0 0 0 0 0 0 0 25 0 0 0 0 0 0 0 35 0 0 0 0 0 0 0 45 0 0 0 0 0 0 0 55 0 0 0 0 0 0 0 65 0 0 0 0 0 0 0 75 0 0 0 0 0 0 0 85 0 0 0 0 0 0 0 95 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 14 0 0 0 0 0 0 0 24 0 0 0 0 0 0 0 34 0 0 0 0 0 0 0 44 0 0 0 0 0 0 0 54 0 0 0 0 0 0 0 64 0 0 0 0 0 0 0 74 0 0 0 0 0 0 0 84 0 0 0 0 0 0 0 94 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 13 0 0 0 0 0 0 0 23 0 0 0 0 0 0 0 33 0 0 0 0 0 0 0 43 0 0 0 0 0 0 0 53 0 0 0 0 0 0 0 63 0 0 0 0 0 0 0 73 0 0 0 0 0 0 0 83 0 0 0 0 0 0 0 93 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 22 0 0 0 0 0 0 0 32 0 0 0 0 0 0 0 42 0 0 0 0 0 0 0 52 0 0 0 0 0 0 0 62 0 0 0 0 0 0 0 72 0 0 0 0 0 0 0 82 0 0 0 0 0 0 0 92 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 11 0 0 0 0 0 0 0 21 0 0 0 0 0 0 0 31 0 0 0 0 0 0 0 41 0 0 0 0 0 0 0 51 0 0 0 0 0 0 0 61 0 0 0 0 0 0 0 71 0 0 0 0 0 0 0 81 0 0 0 0 0 0 0 91 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10 0 0 0 0 0 0 0 20 0 0 0 0 0 0 0 30 0 0 0 0 0 0 0 40 0 0 0 0 0 0 0 50 0 0 0 0 0 0 0 60 0 0 0 0 0 0 0 70 0 0 0 0 0 0 0 80 0 0 0 0 0 0 0 90 \ No newline at end of file diff --git a/systemtest/testdata/caset1/marray4.ql.out b/systemtest/testdata/caset1/marray4.ql.out new file mode 100644 index 0000000..148c08f --- /dev/null +++ b/systemtest/testdata/caset1/marray4.ql.out @@ -0,0 +1,23 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=1 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< ulong > + Domain................: [0:9,0:9] + Base Type Schema......: ulong + Base Type Length......: 4 + Data format.......... : Array + Data size (bytes).... : 400 + 9 8 7 6 5 4 3 2 1 0 + 19 18 17 16 15 14 13 12 11 10 + 29 28 27 26 25 24 23 22 21 20 + 39 38 37 36 35 34 33 32 31 30 + 49 48 47 46 45 44 43 42 41 40 + 59 58 57 56 55 54 53 52 51 50 + 69 68 67 66 65 64 63 62 61 60 + 79 78 77 76 75 74 73 72 71 70 + 89 88 87 86 85 84 83 82 81 80 + 99 98 97 96 95 94 93 92 91 90 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/olap1.ql b/systemtest/testdata/caset1/olap1.ql new file mode 100644 index 0000000..0594e11 --- /dev/null +++ b/systemtest/testdata/caset1/olap1.ql @@ -0,0 +1,4 @@ +select marray x in [0:1,0:1] values + condense + over y in [0:6] using a[x[0]*7+y[0],x[1]]*1l +from OlapCharA as a + diff --git a/systemtest/testdata/caset1/olap1.ql.java.out b/systemtest/testdata/caset1/olap1.ql.java.out new file mode 100644 index 0000000..a2fd1cc --- /dev/null +++ b/systemtest/testdata/caset1/olap1.ql.java.out @@ -0,0 +1,15 @@ + +rasj.RasMArrayInteger + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:1,0:1] + TilingDomain..........: [0:177,0:177] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 4 + Data format...........: 0 + Data size (bytes).....: 16 + 0 0 0 21 0 0 0 119 0 0 0 70 0 0 0 -88 \ No newline at end of file diff --git a/systemtest/testdata/caset1/olap1.ql.out b/systemtest/testdata/caset1/olap1.ql.out new file mode 100644 index 0000000..91e70a1 --- /dev/null +++ b/systemtest/testdata/caset1/olap1.ql.out @@ -0,0 +1,15 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=1 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< long > + Domain................: [0:1,0:1] + Base Type Schema......: long + Base Type Length......: 4 + Data format.......... : Array + Data size (bytes).... : 16 + 21 70 + 119 168 +-- Testbed end block: diff --git a/systemtest/testdata/caset1/olap2.ql b/systemtest/testdata/caset1/olap2.ql new file mode 100644 index 0000000..4c1b962 --- /dev/null +++ b/systemtest/testdata/caset1/olap2.ql @@ -0,0 +1,4 @@ +select marray x in [0:6,0:1] values + condense + over y in [0:1] using (a[x[0]+y[0]*7,x[1]]) +from OlapCharA as a + diff --git a/systemtest/testdata/caset1/olap2.ql.java.out b/systemtest/testdata/caset1/olap2.ql.java.out new file mode 100644 index 0000000..1ddae78 --- /dev/null +++ b/systemtest/testdata/caset1/olap2.ql.java.out @@ -0,0 +1,15 @@ + +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: + Domain................: [0:6,0:1] + TilingDomain..........: [0:356,0:356] + TileSize..............: 128000 bytes + Base Type Schema......: + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 14 + 7 35 9 37 11 39 13 41 15 43 17 45 19 47 \ No newline at end of file diff --git a/systemtest/testdata/caset1/olap2.ql.out b/systemtest/testdata/caset1/olap2.ql.out new file mode 100644 index 0000000..fe211de --- /dev/null +++ b/systemtest/testdata/caset1/olap2.ql.out @@ -0,0 +1,15 @@ +-- Testbed line: result_type=set > +-- Testbed line: result_elements=1 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray + Type Schema...........: marray< char > + Domain................: [0:6,0:1] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 14 + 7 9 11 13 15 17 19 + 35 37 39 41 43 45 47 +-- Testbed end block: -- cgit