blob: 2ef2e9a73efe2f7a48f1de469222bb87247b8763 [file] [log] [blame]
{
"head" : {
"version" : 1,
"generator" : {
"type" : "DefaultSqlHandler",
"info" : ""
},
"type" : "APACHE_DRILL_PHYSICAL",
"options" : [ ],
"queue" : 0,
"resultMode" : "EXEC"
},
"graph" : [ {
"pop" : "parquet-scan",
"@id" : 5,
"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" : 5.0
}
}, {
"pop" : "project",
"@id" : 3,
"exprs" : [ {
"ref" : "`$f2`",
"expr" : "`r_regionkey`"
} ],
"child" : 5,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : {
"memoryCost" : 0,
"outputRowCount" : 5.0
}
}, {
"pop" : "parquet-scan",
"@id" : 6,
"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" : 4,
"exprs" : [ {
"ref" : "`n_nationkey`",
"expr" : "`n_nationkey`"
}, {
"ref" : "`$f3`",
"expr" : "add(`n_regionkey`, 1) "
} ],
"child" : 6,
"initialAllocation" : 1000000,
"maxAllocation" : 10000000000,
"cost" : {
"memoryCost" : 0,
"outputRowCount" : 25.0
}
}, {
"pop" : "hash-join",
"@id" : 2,
"left" : 4,
"right" : 3,
"conditions" : [ {
"relationship" : "==",
"left" : "add(`$f3`, 2)",
"right" : "`$f2`"
} ],
"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
}
} ]
}