blob: 7d570ffce9ac39f440e795fb01cc10869f91c09e [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: "intColumn", type: "INT", mode: "REQUIRED"}
]}
]
},
{
@id:2,
child: 1,
pop:"project",
exprs: [
{ ref: "BigIntAddFloat8", expr:"10+20.1" },
{ ref: "Float8AddBigInt", expr:"20.1+10" },
{ ref: "Float8AddChar", expr:"20.1 + '10'" },
{ ref: "IntAddFloat8", expr:"cast('10' as int) + 20.1"},
{ ref: "IntAddBigInt", expr:"cast('10' as int) + cast('20' as bigint)"},
{ ref: "BigIntAddInt", expr:"cast('10' as bigint) + cast('20' as int)"},
{ ref: "IntAddFloat8_2", expr:"cast('10' as int) + cast('20.1' as float8)"},
{ ref: "Float8AddInt", expr:"cast('20.1' as float8) + cast('10' as int) "},
{ ref: "IntAddFloat4", expr:"cast('10' as int) + cast('20.1' as float4)"},
{ ref: "BigIntAddFloat4", expr:"cast('10' as bigint) + cast('20.1' as float4)"},
{ ref: "BigIntAddFloat8", expr:"cast('10' as bigint) + cast('20.1' as float8)"},
{ ref: "Float4AddFloat8", expr:"cast('10' as float4) + cast('20.1' as float8)"},
{ ref: "CharAddFloat4", expr:"'10' + cast('20.1' as float4)"},
{ ref: "CharAddFloat8", expr:"'10' + cast('20.1' as float8)"},
{ ref: "Float4AddFloat8_2", expr:"cast('10' as float4) + '20.1' "},
{ ref: "Float8AddChar", expr:"cast('10' as float8) + '20.1' "},
{ ref: "CompBigIntFloat8", expr:"10 < 20.1" },
{ ref: "CompCharFloat8", expr:"'10' < 20.1" },
{ ref: "CompFloat8Char", expr:"20.1 > '10' " },
{ ref: "nested1", expr:" 20.1 + 10 > '10' " },
{ ref: "nested2", expr:" 20.1 + 10 > '10' + 15.1" }
]
},
{
@id: 3,
child: 2,
pop: "screen"
}
]
}