blob: 96dc981f9f26e94a002a0b1e4139a68ce176c6e7 [file] [log] [blame]
{
"head" : {
"version" : 1,
"generator" : {
"type" : "org.apache.drill.exec.planner.logical.DrillImplementor",
"info" : ""
},
"type" : "APACHE_DRILL_PHYSICAL",
"resultMode" : "EXEC"
},
graph:[
{
@id:1,
pop:"fs-scan",
format: {type: "json"},
storage:{type: "file", connection: "classpath:///"},
files:["#{TEST_FILE}"]
},
{
pop:"project",
@id:2,
child: 1,
exprs: [
{ ref: "TS1", expr: "age(cast('2010-01-01 10:10:10' as timestamp), cast('2001-01-01 11:10:10' as timestamp))"},
{ ref: "D1", expr: "age(cast('2005-07-11' as date), cast('1991-04-29' as date))"},
{ ref: "D2", expr: "age(cast('1991-04-29' as date), cast('2005-07-11' as date))"},
{ ref: "TS2", expr: "age(cast('1997-12-17 23:37:54' as timestamp), cast('2001-03-20 17:17:27' as timestamp))"}
]
},
{
@id: 3,
child: 2,
pop: "screen"
}
]
}