| { |
| head:{ |
| type:"APACHE_DRILL_PHYSICAL", |
| version:"1", |
| generator:{ |
| type:"manual" |
| } |
| }, |
| graph:[ |
| { |
| @id:1, |
| pop:"mock-sub-scan", |
| url: "http://source1.apache.org", |
| entries:[ |
| {records: 100000, types: [ |
| {name: "blue", type: "INT", mode: "REQUIRED"}, |
| {name: "red", type: "INT", mode: "REQUIRED"}, |
| {name: "green", type: "INT", mode: "REQUIRED"} |
| ]} |
| ] |
| }, |
| { |
| @id:2, |
| pop:"mock-sub-scan", |
| url: "http://source2.apache.org", |
| entries:[ |
| {records: 1, types: [ |
| {name: "blue1", type: "INT", mode: "REQUIRED"}, |
| {name: "red1", type: "INT", mode: "REQUIRED"}, |
| {name: "green1", type: "INT", mode: "REQUIRED"} |
| ]} |
| ] |
| }, |
| { |
| @id: 3, |
| right: 1, |
| left: 2, |
| pop: "hash-join", |
| joinType: "RIGHT", |
| conditions: [ {relationship: "==", left: "blue1", right: "blue"} ] |
| }, |
| { |
| @id: 4, |
| child: 3, |
| pop: "screen" |
| } |
| ] |
| } |