{ | |
head:{ | |
type:"APACHE_DRILL_PHYSICAL", | |
version:"1", | |
generator:{ | |
type:"manual" | |
} | |
}, | |
graph:[ | |
{ | |
@id:1, | |
pop:"mock-scan", | |
url: "http://apache.org", | |
entries:[ | |
{records: 100, types: [ | |
{name: "blue", type: "INT", mode: "REQUIRED"}, | |
{name: "red", type: "BIGINT", mode: "REQUIRED"}, | |
{name: "green", type: "INT", mode: "REQUIRED"} | |
]} | |
] | |
}, | |
{ | |
@id:2, | |
child: 1, | |
pop:"filter", | |
expr: "b > 5", | |
selectivity: 0.80 | |
}, | |
{ | |
@id: 3, | |
child: 2, | |
pop: "mock-store" | |
}, | |
{ | |
@id: 4, | |
child: 3, | |
pop: "screen" | |
} | |
] | |
} |