| { |
| "head" : { |
| "type" : "APACHE_DRILL_PHYSICAL", |
| "version" : 1, |
| "generator" : { |
| "type" : "optiq", |
| "info" : "na" |
| } |
| }, |
| "graph" : [ { |
| "pop" : "parquet-scan", |
| "@id" : 1, |
| "entries" : [ { |
| "path" : "/tmp/region.parquet" |
| } ], |
| "ref" : "_MAP", |
| "storageengine" : { |
| "type" : "parquet", |
| "dfsName" : "file:///" |
| }, |
| "fragmentPointer" : 0 |
| }, { |
| "pop" : "project", |
| "@id" : 2, |
| "exprs" : [ { |
| "ref" : "REGIONKEY", |
| "expr" : "_MAP.R_REGIONKEY" |
| }, { |
| "ref" : "NAME", |
| "expr" : "_MAP.R_NAME" |
| } ], |
| "child" : 1 |
| }, { |
| "pop" : "project", |
| "@id" : 3, |
| "exprs" : [ { |
| "ref" : "REGIONKEY0", |
| "expr" : "REGIONKEY" |
| }, { |
| "ref" : "NAME0", |
| "expr" : "NAME" |
| } ], |
| "child" : 2 |
| }, { |
| "pop" : "sort", |
| "@id" : 4, |
| "child" : 3, |
| "orderings" : [ { |
| "order" : "ASC", |
| "expr" : "NAME0" |
| } ], |
| "reverse" : false |
| }, { |
| "pop" : "selection-vector-remover", |
| "@id" : 5, |
| "child" : 4 |
| }, { |
| "pop" : "parquet-scan", |
| "@id" : 6, |
| "entries" : [ { |
| "path" : "/tmp/nation.parquet" |
| } ], |
| "storageengine" : { |
| "type" : "parquet", |
| "dfsName" : "file:///" |
| }, |
| "ref" : "_MAP", |
| "fragmentPointer" : 0 |
| }, { |
| "pop" : "project", |
| "@id" : 7, |
| "exprs" : [ { |
| "ref" : "NAME", |
| "expr" : "_MAP.N_NAME" |
| }, { |
| "ref" : "REGIONKEY", |
| "expr" : "_MAP.N_REGIONKEY" |
| } ], |
| "child" : 6 |
| }, { |
| "pop" : "sort", |
| "@id" : 8, |
| "child" : 7, |
| "orderings" : [ { |
| "order" : "ASC", |
| "expr" : "REGIONKEY" |
| } ], |
| "reverse" : false |
| }, { |
| "pop" : "selection-vector-remover", |
| "@id" : 9, |
| "child" : 8 |
| }, { |
| "pop" : "merge-join", |
| "@id" : 10, |
| "left" : 9, |
| "right" : 5, |
| "conditions" : [ { |
| "relationship" : "==", |
| "left" : "REGIONKEY", |
| "right" : "NAME0" |
| } ] |
| }, { |
| "pop" : "selection-vector-remover", |
| "@id" : 11, |
| "child" : 10 |
| }, { |
| "pop" : "project", |
| "@id" : 12, |
| "exprs" : [ { |
| "ref" : "NAME", |
| "expr" : "NAME" |
| }, { |
| "ref" : "NAME0", |
| "expr" : "NAME0" |
| } ], |
| "child" : 11 |
| }, { |
| "pop" : "screen", |
| "@id" : 13, |
| "child" : 12 |
| } ] |
| } |