| { |
| head:{ |
| type:"APACHE_DRILL_PHYSICAL", |
| version:"1", |
| generator:{ |
| type:"manual" |
| } |
| }, |
| graph:[ |
| { |
| @id:1, |
| pop:"mock-scan", |
| url: "http://apache.org", |
| entries:[ |
| {records: 10000000, types: [ |
| {name: "green", type: "BIGINT", mode: "REQUIRED"} |
| ]} |
| ] |
| }, |
| { |
| @id: 2, |
| pop: "project", |
| child: 1, |
| exprs: [ |
| { ref: "blue", expr: "randomBigInt(100000)" } |
| ] |
| }, |
| { |
| @id: 3, |
| pop: "union-exchange", |
| child: 2, |
| maxAllocation: 1000000 |
| }, |
| { |
| @id:4, |
| child: 3, |
| pop:"external-sort", |
| orderings: [ |
| {expr: "blue", order : "DESC"} |
| ], |
| initialAllocation: 1000000, |
| maxAllocation: 30000000 |
| }, |
| { |
| @id:5, |
| child: 4, |
| pop:"selection-vector-remover", |
| maxAllocation: 1000000 |
| }, |
| { |
| @id: 6, |
| child: 5, |
| pop: "screen", |
| maxAllocation: 1000000 |
| } |
| ] |
| } |