summaryrefslogtreecommitdiffstats
path: root/systemtest/testdata/rewriteset1
diff options
context:
space:
mode:
authorConstantin Jucovschi <cj@ubuntu.localdomain>2009-04-24 07:20:22 -0400
committerConstantin Jucovschi <cj@ubuntu.localdomain>2009-04-24 07:20:22 -0400
commit8f27e65bddd7d4b8515ce620fb485fdd78fcdf89 (patch)
treebd328a4dd4f92d32202241b5e3a7f36177792c5f /systemtest/testdata/rewriteset1
downloadrasdaman-upstream-8.0.tar.gz
rasdaman-upstream-8.0.tar.xz
rasdaman-upstream-8.0.zip
Initial commitv8.0
Diffstat (limited to 'systemtest/testdata/rewriteset1')
-rw-r--r--systemtest/testdata/rewriteset1/pushdownall.ql7
-rw-r--r--systemtest/testdata/rewriteset1/pushdownall.ql.java.out15
-rw-r--r--systemtest/testdata/rewriteset1/pushdownall.ql.out24
-rw-r--r--systemtest/testdata/rewriteset1/pushdownsome.ql7
-rw-r--r--systemtest/testdata/rewriteset1/pushdownsome.ql.java.out43
-rw-r--r--systemtest/testdata/rewriteset1/pushdownsome.ql.out64
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: