| { |
| "head" : { |
| "version" : 1, |
| "generator" : { |
| "type" : "DefaultSqlHandler", |
| "info" : "" |
| }, |
| "type" : "APACHE_DRILL_PHYSICAL", |
| "options" : [ { |
| "name" : "planner.enable_hashjoin", |
| "kind" : "BOOLEAN", |
| "type" : "SESSION", |
| "bool_val" : false |
| } ], |
| "queue" : 0, |
| "resultMode" : "EXEC" |
| }, |
| "graph" : [ { |
| "pop" : "parquet-scan", |
| "@id" : 9, |
| "entries" : [ { |
| "path" : "/tpch/nation.parquet" |
| } ], |
| "storage" : { |
| "type" : "file", |
| "enabled" : true, |
| "connection" : "classpath:///", |
| "workspaces" : null, |
| "formats" : null |
| }, |
| "format" : { |
| "type" : "parquet" |
| }, |
| "columns" : [ "`n_nationkey`", "`n_regionkey`" ], |
| "selectionRoot" : "/tpch/nation.parquet", |
| "cost" : { |
| "memoryCost" : 0, |
| "outputRowCount" : 25.0 |
| } |
| }, { |
| "pop" : "project", |
| "@id" : 8, |
| "exprs" : [ { |
| "ref" : "`n_nationkey`", |
| "expr" : "`n_nationkey`" |
| }, { |
| "ref" : "`$f3`", |
| "expr" : "add(`n_regionkey`, 1) " |
| } ], |
| "child" : 9, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : { |
| "memoryCost" : 0, |
| "outputRowCount" : 25.0 |
| } |
| }, { |
| "pop" : "external-sort", |
| "@id" : 6, |
| "child" : 8, |
| "orderings" : [ { |
| "order" : "ASC", |
| "expr" : "`$f3`", |
| "nullDirection" : "UNSPECIFIED" |
| } ], |
| "reverse" : false, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : { |
| "memoryCost" : 0, |
| "outputRowCount" : 25.0 |
| } |
| }, { |
| "pop" : "selection-vector-remover", |
| "@id" : 4, |
| "child" : 6, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : { |
| "memoryCost" : 0, |
| "outputRowCount" : 25.0 |
| } |
| }, { |
| "pop" : "parquet-scan", |
| "@id" : 7, |
| "entries" : [ { |
| "path" : "/tpch/region.parquet" |
| } ], |
| "storage" : { |
| "type" : "file", |
| "enabled" : true, |
| "connection" : "classpath:///", |
| "workspaces" : null, |
| "formats" : null |
| }, |
| "format" : { |
| "type" : "parquet" |
| }, |
| "columns" : [ "`r_regionkey`" ], |
| "selectionRoot" : "/tpch/region.parquet", |
| "cost" : { |
| "memoryCost" : 0, |
| "outputRowCount" : 25.0 |
| } |
| }, { |
| "pop" : "external-sort", |
| "@id" : 5, |
| "child" : 7, |
| "orderings" : [ { |
| "order" : "ASC", |
| "expr" : "`r_regionkey`", |
| "nullDirection" : "UNSPECIFIED" |
| } ], |
| "reverse" : false, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : { |
| "memoryCost" : 0, |
| "outputRowCount" : 25.0 |
| } |
| }, { |
| "pop" : "selection-vector-remover", |
| "@id" : 3, |
| "child" : 5, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : { |
| "memoryCost" : 0, |
| "outputRowCount" : 25.0 |
| } |
| }, { |
| "pop" : "merge-join", |
| "@id" : 2, |
| "left" : 4, |
| "right" : 3, |
| "conditions" : [ { |
| "relationship" : "==", |
| "left" : "add(`$f3`, 2)", |
| "right" : "`r_regionkey`" |
| } ], |
| "joinType" : "INNER", |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : { |
| "memoryCost" : 0, |
| "outputRowCount" : 25.0 |
| } |
| }, { |
| "pop" : "project", |
| "@id" : 1, |
| "exprs" : [ { |
| "ref" : "`n_nationkey`", |
| "expr" : "`n_nationkey`" |
| } ], |
| "child" : 2, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : { |
| "memoryCost" : 0, |
| "outputRowCount" : 25.0 |
| } |
| }, { |
| "pop" : "screen", |
| "@id" : 0, |
| "child" : 1, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : { |
| "memoryCost" : 0, |
| "outputRowCount" : 25.0 |
| } |
| } ] |
| } |