Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill, mail # dev - [05/10] DRILL-274: Spooling batch buffer


Copy link to this message
-
[05/10] DRILL-274: Spooling batch buffer
jacques@... 2013-12-02, 04:23
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