You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by ja...@apache.org on 2013/12/02 05:23:52 UTC

[05/10] DRILL-274: Spooling batch buffer

http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/2c811a83/exec/java-exec/src/test/resources/work/batch/multiple_exchange.json
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/resources/work/batch/multiple_exchange.json b/exec/java-exec/src/test/resources/work/batch/multiple_exchange.json
new file mode 100644
index 0000000..143331d
--- /dev/null
+++ b/exec/java-exec/src/test/resources/work/batch/multiple_exchange.json
@@ -0,0 +1,48 @@
+{
+    head:{
+        type:"APACHE_DRILL_PHYSICAL",
+        version:"1",
+        generator:{
+            type:"manual"
+        }
+    },
+    graph:[
+        {
+            @id:1,
+            pop:"mock-scan",
+            url: "http://apache.org",
+            entries:[
+              {records: 1000000, types: [
+                {name: "blue", type: "INT", mode: "REQUIRED"},
+                {name: "red", type: "BIGINT", mode: "REQUIRED"}
+              ]}
+            ]
+        },
+        {
+            @id: 2,
+            child: 1,
+            pop: "union-exchange"
+        },
+        {
+            @id: 3,
+            child: 2,
+            pop: "union-exchange"
+        },
+        {
+            @id: 4,
+            child: 3,
+            pop: "union-exchange"
+        },
+        {
+            @id: 5,
+            child: 4,
+            pop: "filter",
+            expr: "red < 9000000000000000000"
+        },
+        {
+            @id: 6,
+            child: 5,
+            pop: "screen"
+        }
+    ]
+}
\ No newline at end of file