| { |
| head:{ |
| type:"APACHE_DRILL_PHYSICAL", |
| version:"1", |
| generator:{ |
| type:"manual" |
| } |
| }, |
| graph:[ |
| { |
| @id:1, |
| pop:"mock-sub-scan", |
| url: "http://apache.org", |
| entries:[ |
| {records: 100, types: [ |
| {name: "blue", type: "INT", mode: "REQUIRED"}, |
| {name: "green", type: "INT", mode: "REQUIRED"} |
| ]}, |
| {records: 100, types: [ |
| {name: "blue", type: "INT", mode: "REQUIRED"}, |
| {name: "green", type: "INT", mode: "REQUIRED"} |
| ]} |
| ] |
| }, |
| { |
| @id:2, |
| child: 1, |
| pop:"project", |
| exprs: [ |
| { ref: "blue", expr:"blue" }, |
| { ref: "alt", expr:"alternate3()" } |
| ] |
| }, |
| { |
| @id:3, |
| child: 2, |
| pop:"sort", |
| orderings: [ |
| {expr: "blue"}, |
| {expr: "alt", order: "DESC"} |
| ] |
| }, |
| { |
| @id:4, |
| child: 3, |
| pop:"selection-vector-remover" |
| }, |
| { |
| @id: 5, |
| child: 4, |
| pop: "screen" |
| } |
| ] |
| } |