| { |
| head : { |
| version : 1, |
| generator : { |
| type : "optiq", |
| info : "na" |
| }, |
| type : "APACHE_DRILL_PHYSICAL" |
| }, |
| graph:[ |
| { |
| @id:1, |
| pop:"mock-sub-scan", |
| url: "http://apache.org", |
| entries:[ |
| {records: 1, types: [ |
| {name: "blue", type: "BIGINT", mode: "REQUIRED"} |
| ]} |
| ] |
| }, { |
| pop : "project", |
| @id : 2, |
| exprs : [ |
| { ref : "ref1", expr : " trunc(101.11) "}, |
| { ref : "ref2", expr : " div(101, 111) "}, |
| { ref : "ref3", expr : " mod(101, 111) " }, |
| { ref : "ref4", expr : " trunc(1010.00) "}, |
| { ref : "ref6", expr : " mod(101, 0) " }, |
| { ref : "ref8", expr : " div(1010.1010, 2.1) "}, |
| { ref : "ref9", expr : " mod(1010.10110, 2.1) " } |
| ], |
| child : 1 |
| }, { |
| pop : "screen", |
| @id : 3, |
| child : 2 |
| } ] |
| } |