| { |
| head:{ |
| type:"APACHE_DRILL_PHYSICAL", |
| version:"1", |
| generator:{ |
| type:"manual" |
| } |
| }, |
| graph:[ |
| { |
| @id:1, |
| pop:"mock-scan", |
| url: "http://apache.org", |
| entries:[ |
| {records: 100, types: [ |
| {name: "blue", type: "INT", mode: "REQUIRED"}, |
| {name: "red", type: "BIGINT", mode: "REQUIRED"}, |
| {name: "green", type: "INT", mode: "REQUIRED"} |
| ]}, |
| {records: 100, types: [ |
| {name: "blue", type: "INT", mode: "REQUIRED"}, |
| {name: "red", type: "BIGINT", mode: "REQUIRED"}, |
| {name: "green", type: "INT", mode: "REQUIRED"} |
| ]} |
| ] |
| }, |
| { |
| @id:2, |
| pop: "hash-to-random-exchange", |
| child: 1 |
| }, |
| { |
| @id:3, |
| child: 2, |
| pop:"filter", |
| expr: "b > 5", |
| selectivity: 0.8 |
| }, |
| { |
| @id: 4, |
| child: 3, |
| pop: "mock-store" |
| }, |
| { |
| @id:5, |
| child: 4, |
| pop: "union-exchange" |
| }, |
| { |
| @id: 6, |
| child: 5, |
| pop: "screen" |
| } |
| ] |
| } |