blob: cc38d3f9a7ebd6bc02ccbefb4631d09c0039def9 [file] [log] [blame]
{
head:{
type:"APACHE_DRILL_PHYSICAL",
version:"1",
generator:{
type:"manual"
}
},
graph:[
{
@id:1,
pop:"mock-sub-scan",
url: "http://source1.apache.org",
entries:[
{records: 100, types: [
{name: "blue", type: "INT", mode: "REQUIRED"},
{name: "red", type: "INT", mode: "REQUIRED"},
{name: "green", type: "INT", mode: "REQUIRED"}
]}
]
},
{
pop : "external-sort",
@id : 2,
child : 1,
orderings : [ {
order : "ASC",
expr : "blue"
} ],
reverse : false
},
{
pop : "selection-vector-remover",
@id : 3,
child : 2
},
{
@id:4,
pop:"mock-sub-scan",
url: "http://source2.apache.org",
entries:[
{records: 2, types: [
{name: "blue1", type: "INT", mode: "REQUIRED"},
{name: "red1", type: "INT", mode: "REQUIRED"},
{name: "green1", type: "INT", mode: "REQUIRED"}
]}
]
},
{
pop : "external-sort",
@id : 5,
child : 4,
orderings : [ {
order : "ASC",
expr : "blue1"
} ],
reverse : false
},
{
pop : "selection-vector-remover",
@id : 6,
child : 5
},
{
@id: 7,
right: 6,
left: 3,
pop: "merge-join",
conditions: [ {relationship: "==", left: "blue", right: "blue1"} ],
joinType : "INNER"
},
{
pop : "limit",
@id : 8,
child : 7,
first : 0,
last : 100
}, {
pop : "selection-vector-remover",
@id : 9,
child : 8
},
{
@id: 10,
child: 9,
pop: "screen"
}
]
}