diff options
Diffstat (limited to 'systemtest/testdata/rewriteset1')
6 files changed, 160 insertions, 0 deletions
diff --git a/systemtest/testdata/rewriteset1/pushdownall.ql b/systemtest/testdata/rewriteset1/pushdownall.ql new file mode 100644 index 0000000..e868fc0 --- /dev/null +++ b/systemtest/testdata/rewriteset1/pushdownall.ql @@ -0,0 +1,7 @@ +-- all_cell( a and b ) -> all_cell( a ) and all_cell( b ) + +SELECT a+b +FROM ImgCharA as a, ImgCharB as b +WHERE all_cell ( a > 0 and b > 10 ) + + diff --git a/systemtest/testdata/rewriteset1/pushdownall.ql.java.out b/systemtest/testdata/rewriteset1/pushdownall.ql.java.out new file mode 100644 index 0000000..776212b --- /dev/null +++ b/systemtest/testdata/rewriteset1/pushdownall.ql.java.out @@ -0,0 +1,15 @@ + +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: <nn> + Domain................: [0:10,0:10] + TilingDomain..........: [0:356,0:356] + TileSize..............: 128000 bytes + Base Type Schema......: <nn> + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 121 + 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21
\ No newline at end of file diff --git a/systemtest/testdata/rewriteset1/pushdownall.ql.out b/systemtest/testdata/rewriteset1/pushdownall.ql.out new file mode 100644 index 0000000..212bf48 --- /dev/null +++ b/systemtest/testdata/rewriteset1/pushdownall.ql.out @@ -0,0 +1,24 @@ +-- Testbed line: result_type=set <marray <char, [0:10,0:10]>> +-- Testbed line: result_elements=1 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray <char, [0:10,0:10]> + Type Schema...........: marray< char > + Domain................: [0:10,0:10] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 121 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 +-- Testbed end block: diff --git a/systemtest/testdata/rewriteset1/pushdownsome.ql b/systemtest/testdata/rewriteset1/pushdownsome.ql new file mode 100644 index 0000000..a65fecc --- /dev/null +++ b/systemtest/testdata/rewriteset1/pushdownsome.ql @@ -0,0 +1,7 @@ +-- some_cell( a or b ) -> some_cell( a ) or some_cell( b ) + +SELECT a+b +FROM ImgCharA as a, ImgCharB as b +WHERE some_cell ( a > 0 OR b > 10 ) + + diff --git a/systemtest/testdata/rewriteset1/pushdownsome.ql.java.out b/systemtest/testdata/rewriteset1/pushdownsome.ql.java.out new file mode 100644 index 0000000..f3b0f63 --- /dev/null +++ b/systemtest/testdata/rewriteset1/pushdownsome.ql.java.out @@ -0,0 +1,43 @@ + +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: <nn> + Domain................: [0:10,0:10] + TilingDomain..........: [0:356,0:356] + TileSize..............: 128000 bytes + Base Type Schema......: <nn> + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 121 + 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: <nn> + Domain................: [0:10,0:10] + TilingDomain..........: [0:356,0:356] + TileSize..............: 128000 bytes + Base Type Schema......: <nn> + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 121 + 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 +rasj.RasMArrayByte + Object Name...........: + Object Type...........: 1 + Object Type Name......: + Type Structure........: + Type Schema...........: <nn> + Domain................: [0:10,0:10] + TilingDomain..........: [0:356,0:356] + TileSize..............: 128000 bytes + Base Type Schema......: <nn> + Base Type Length......: 1 + Data format...........: 0 + Data size (bytes).....: 121 + 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21
\ No newline at end of file diff --git a/systemtest/testdata/rewriteset1/pushdownsome.ql.out b/systemtest/testdata/rewriteset1/pushdownsome.ql.out new file mode 100644 index 0000000..20ccc3b --- /dev/null +++ b/systemtest/testdata/rewriteset1/pushdownsome.ql.out @@ -0,0 +1,64 @@ +-- Testbed line: result_type=set <marray <char, [0:10,0:10]>> +-- Testbed line: result_elements=3 +-- Testbed start block: +Image 1 +GMarray + Type Structure........: marray <char, [0:10,0:10]> + Type Schema...........: marray< char > + Domain................: [0:10,0:10] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 121 + 11 11 11 11 11 11 11 11 11 11 11 + 11 11 11 11 11 11 11 11 11 11 11 + 11 11 11 11 11 11 11 11 11 11 11 + 11 11 11 11 11 11 11 11 11 11 11 + 11 11 11 11 11 11 11 11 11 11 11 + 11 11 11 11 11 11 11 11 11 11 11 + 11 11 11 11 11 11 11 11 11 11 11 + 11 11 11 11 11 11 11 11 11 11 11 + 11 11 11 11 11 11 11 11 11 11 11 + 11 11 11 11 11 11 11 11 11 11 11 + 11 11 11 11 11 11 11 11 11 11 11 +Image 2 +GMarray + Type Structure........: marray <char, [0:10,0:10]> + Type Schema...........: marray< char > + Domain................: [0:10,0:10] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 121 + 20 20 20 20 20 20 20 20 20 20 20 + 20 20 20 20 20 20 20 20 20 20 20 + 20 20 20 20 20 20 20 20 20 20 20 + 20 20 20 20 20 20 20 20 20 20 20 + 20 20 20 20 20 20 20 20 20 20 20 + 20 20 20 20 20 20 20 20 20 20 20 + 20 20 20 20 20 20 20 20 20 20 20 + 20 20 20 20 20 20 20 20 20 20 20 + 20 20 20 20 20 20 20 20 20 20 20 + 20 20 20 20 20 20 20 20 20 20 20 + 20 20 20 20 20 20 20 20 20 20 20 +Image 3 +GMarray + Type Structure........: marray <char, [0:10,0:10]> + Type Schema...........: marray< char > + Domain................: [0:10,0:10] + Base Type Schema......: char + Base Type Length......: 1 + Data format.......... : Array + Data size (bytes).... : 121 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 + 21 21 21 21 21 21 21 21 21 21 21 +-- Testbed end block: |
