| { |
| head : { |
| type : "APACHE_DRILL_LOGICAL", |
| version : 1, |
| generator : { |
| type : "optiq", |
| info : "na" |
| } |
| }, |
| storage : { |
| parquet-local : { |
| type : "parquet", |
| dfsName : "file:///" |
| } |
| }, |
| query : [ { |
| op : "scan", |
| @id : 1, |
| memo : "initial_scan", |
| storageengine : "parquet-local", |
| selection : [ { |
| path : "/tmp/parquet" |
| } ], |
| ref : "_MAP" |
| }, { |
| op : "project", |
| @id : 2, |
| input : 1, |
| projections : [ { |
| ref : "EXPR$0", |
| expr : "_MAP.d" |
| }, { |
| ref : "C", |
| expr : "_MAP.b" |
| } ] |
| }, { |
| op : "order", |
| @id : 3, |
| input : 2, |
| within : null, |
| orderings : [ { |
| order : "asc", |
| expr : "EXPR$0", |
| nullCollation : "NULLS_LAST" |
| } ] |
| }, { |
| op : "store", |
| @id : 4, |
| memo : "output sink", |
| input : 3, |
| target : { |
| number : 0 |
| }, |
| partition : null, |
| storageEngine : "queue" |
| } ] |
| } |