| { |
| "head" : { |
| "version" : 1, |
| "generator" : { |
| "type" : "ExplainHandler", |
| "info" : "" |
| }, |
| "type" : "APACHE_DRILL_PHYSICAL", |
| "options" : [ ], |
| "queue" : 0, |
| "resultMode" : "EXEC" |
| }, |
| "graph" : [ { |
| "pop" : "fs-scan", |
| "@id" : 13, |
| "files" : [ "maprfs:/drill/testdata/json_storage/customer/customer.json" ], |
| "storage" : { |
| "type" : "file", |
| "enabled" : true, |
| "connection" : "maprfs:///", |
| "workspaces" : { |
| "root" : { |
| "location" : "/", |
| "writable" : false, |
| "storageformat" : null |
| }, |
| "tmp" : { |
| "location" : "/tmp", |
| "writable" : true, |
| "storageformat" : "csv" |
| }, |
| "drillTestDir" : { |
| "location" : "/drill/testdata/", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirAmplab" : { |
| "location" : "/drill/testdata/amplab", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirP1" : { |
| "location" : "/drill/testdata/p1tests", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirStress" : { |
| "location" : "/drill/testdata/stress", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirExchanges" : { |
| "location" : "/drill/testdata/exchanges_test", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirExplicit" : { |
| "location" : "/drill/testdata/explicit_cast", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirInformationSchema" : { |
| "location" : "/drill/testdata/information_schema", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirInformationSchemaHbase" : { |
| "location" : "/drill/testdata/information_schema", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirViews" : { |
| "location" : "/drill/testdata/views", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirJson" : { |
| "location" : "/drill/testdata/json_storage", |
| "writable" : true, |
| "storageformat" : "json" |
| }, |
| "drillTestDirText" : { |
| "location" : "/drill/testdata/text", |
| "writable" : true, |
| "storageformat" : "text" |
| }, |
| "drillTestDirUdfs" : { |
| "location" : "/drill/testdata/udfs", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirDatetime" : { |
| "location" : "/drill/testdata/datetime/datasources/", |
| "writable" : true, |
| "storageformat" : "parquet" |
| } |
| }, |
| "formats" : { |
| "psv" : { |
| "type" : "text", |
| "extensions" : [ "tbl" ], |
| "delimiter" : "|" |
| }, |
| "csv" : { |
| "type" : "text", |
| "extensions" : [ "csv" ], |
| "delimiter" : "," |
| }, |
| "tsv" : { |
| "type" : "text", |
| "extensions" : [ "tsv" ], |
| "delimiter" : "\t" |
| }, |
| "parquet" : { |
| "type" : "parquet" |
| }, |
| "json" : { |
| "type" : "json" |
| } |
| } |
| }, |
| "format" : { |
| "type" : "json" |
| }, |
| "selectionRoot" : "/drill/testdata/json_storage/customer", |
| "cost" : 457.0 |
| }, { |
| "pop" : "project", |
| "@id" : 11, |
| "exprs" : [ { |
| "ref" : "`T89¦¦*`", |
| "expr" : "`*`" |
| } ], |
| "child" : 13, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 457.0 |
| }, { |
| "pop" : "fs-scan", |
| "@id" : 15, |
| "files" : [ "maprfs:/drill/testdata/json_storage/orders/orders.json" ], |
| "storage" : { |
| "type" : "file", |
| "enabled" : true, |
| "connection" : "maprfs:///", |
| "workspaces" : { |
| "root" : { |
| "location" : "/", |
| "writable" : false, |
| "storageformat" : null |
| }, |
| "tmp" : { |
| "location" : "/tmp", |
| "writable" : true, |
| "storageformat" : "csv" |
| }, |
| "drillTestDir" : { |
| "location" : "/drill/testdata/", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirAmplab" : { |
| "location" : "/drill/testdata/amplab", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirP1" : { |
| "location" : "/drill/testdata/p1tests", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirStress" : { |
| "location" : "/drill/testdata/stress", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirExchanges" : { |
| "location" : "/drill/testdata/exchanges_test", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirExplicit" : { |
| "location" : "/drill/testdata/explicit_cast", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirInformationSchema" : { |
| "location" : "/drill/testdata/information_schema", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirInformationSchemaHbase" : { |
| "location" : "/drill/testdata/information_schema", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirViews" : { |
| "location" : "/drill/testdata/views", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirJson" : { |
| "location" : "/drill/testdata/json_storage", |
| "writable" : true, |
| "storageformat" : "json" |
| }, |
| "drillTestDirText" : { |
| "location" : "/drill/testdata/text", |
| "writable" : true, |
| "storageformat" : "text" |
| }, |
| "drillTestDirUdfs" : { |
| "location" : "/drill/testdata/udfs", |
| "writable" : true, |
| "storageformat" : "parquet" |
| }, |
| "drillTestDirDatetime" : { |
| "location" : "/drill/testdata/datetime/datasources/", |
| "writable" : true, |
| "storageformat" : "parquet" |
| } |
| }, |
| "formats" : { |
| "psv" : { |
| "type" : "text", |
| "extensions" : [ "tbl" ], |
| "delimiter" : "|" |
| }, |
| "csv" : { |
| "type" : "text", |
| "extensions" : [ "csv" ], |
| "delimiter" : "," |
| }, |
| "tsv" : { |
| "type" : "text", |
| "extensions" : [ "tsv" ], |
| "delimiter" : "\t" |
| }, |
| "parquet" : { |
| "type" : "parquet" |
| }, |
| "json" : { |
| "type" : "json" |
| } |
| } |
| }, |
| "format" : { |
| "type" : "json" |
| }, |
| "selectionRoot" : "/drill/testdata/json_storage/orders", |
| "cost" : 4403.0 |
| }, { |
| "pop" : "project", |
| "@id" : 14, |
| "exprs" : [ { |
| "ref" : "`T90¦¦*`", |
| "expr" : "`*`" |
| } ], |
| "child" : 15, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 4403.0 |
| }, { |
| "pop" : "filter", |
| "@id" : 12, |
| "child" : 14, |
| "expr" : "not(like(`T90¦¦o_comment`, '%special%requests%') ) ", |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 1100.75 |
| }, { |
| "pop" : "selection-vector-remover", |
| "@id" : 10, |
| "child" : 12, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 1100.75 |
| }, { |
| "pop" : "hash-join", |
| "@id" : 9, |
| "left" : 11, |
| "right" : 10, |
| "conditions" : [ { |
| "relationship" : "==", |
| "left" : "`T89¦¦c_custkey`", |
| "right" : "`T90¦¦o_custkey`" |
| } ], |
| "joinType" : "LEFT", |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 1100.75 |
| }, { |
| "pop" : "project", |
| "@id" : 8, |
| "exprs" : [ { |
| "ref" : "`T89¦¦c_custkey`", |
| "expr" : "`T89¦¦c_custkey`" |
| }, { |
| "ref" : "`T90¦¦o_orderkey`", |
| "expr" : "`T90¦¦o_orderkey`" |
| } ], |
| "child" : 9, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 1100.75 |
| }, { |
| "pop" : "hash-aggregate", |
| "@id" : 7, |
| "child" : 8, |
| "cardinality" : 1.0, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 550.375, |
| "groupByExprs" : [ { |
| "ref" : "`T89¦¦c_custkey`", |
| "expr" : "`T89¦¦c_custkey`" |
| } ], |
| "aggrExprs" : [ { |
| "ref" : "`EXPR$1`", |
| "expr" : "count(`T90¦¦o_orderkey`) " |
| } ] |
| }, { |
| "pop" : "project", |
| "@id" : 6, |
| "exprs" : [ { |
| "ref" : "`EXPR$1`", |
| "expr" : "`EXPR$1`" |
| } ], |
| "child" : 7, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 110.075 |
| }, { |
| "pop" : "hash-aggregate", |
| "@id" : 5, |
| "child" : 6, |
| "cardinality" : 1.0, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 55.0375, |
| "groupByExprs" : [ { |
| "ref" : "`EXPR$1`", |
| "expr" : "`EXPR$1`" |
| } ], |
| "aggrExprs" : [ { |
| "ref" : "`custdist`", |
| "expr" : "count(1) " |
| } ] |
| }, { |
| "pop" : "project", |
| "@id" : 4, |
| "exprs" : [ { |
| "ref" : "`EXPR$1`", |
| "expr" : "`EXPR$1`" |
| }, { |
| "ref" : "`custdist`", |
| "expr" : "`custdist`" |
| } ], |
| "child" : 5, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 11.0075 |
| }, { |
| "pop" : "external-sort", |
| "@id" : 3, |
| "child" : 4, |
| "orderings" : [ { |
| "order" : "DESC", |
| "expr" : "`custdist`", |
| "nullDirection" : "UNSPECIFIED" |
| }, { |
| "order" : "DESC", |
| "expr" : "`EXPR$1`", |
| "nullDirection" : "UNSPECIFIED" |
| } ], |
| "reverse" : false, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 11.0075 |
| }, { |
| "pop" : "selection-vector-remover", |
| "@id" : 2, |
| "child" : 3, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 11.0075 |
| }, { |
| "pop" : "project", |
| "@id" : 1, |
| "exprs" : [ { |
| "ref" : "`c_count`", |
| "expr" : "`EXPR$1`" |
| }, { |
| "ref" : "`custdist`", |
| "expr" : "`custdist`" |
| } ], |
| "child" : 2, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 11.0075 |
| }, { |
| "pop" : "screen", |
| "@id" : 0, |
| "child" : 1, |
| "initialAllocation" : 1000000, |
| "maxAllocation" : 10000000000, |
| "cost" : 11.0075 |
| } ] |
| } |