blob: 9fd0110a791e0bdb06ef23e35237c0dfbef95e76 [file] [log] [blame]
{
head:{
type:"APACHE_DRILL_PHYSICAL",
version:"1",
generator:{
type:"manual"
}
},
graph:[
{
@id:1,
pop:"mock-sub-scan",
url: "http://apache.org",
entries:[
{records: 1, types: [
{name: "varcharcol", type: "VARCHAR", mode: "REQUIRED"},
{name: "nullvarcharcol", type: "VARCHAR", mode: "OPTIONAL"}
]}
]
},
{
@id:2,
child: 1,
pop:"project",
exprs: [
{ ref : "ref1", expr : " ascii('apache') "},
{ ref : "ref2", expr : " ascii('Apache') "},
{ ref : "ref3", expr : " ascii('अपाचे') "},
{ ref : "ref4", expr : " chr(65) "},
{ ref : "ref5", expr : " btrim('xyxbtrimyyx', 'xy') "},
{ ref : "ref6", expr : " repeatstr('Peace ', 3) "},
{ ref : "ref7", expr : " repeatstr('हकुना मताता ', 2) "},
{ ref : "ref8", expr : " reverse('tictak') "},
{ ref : "ref9", expr : " toascii('âpple','ISO-8859-1') "},
{ ref : "ref10", expr : " reverse('मदन') "}
]
},
{
@id: 3,
child: 2,
pop: "screen"
}
]
}