blob: 24ac9b9b654e504e1b0328728bbed7d3f447be3d [file]
{
"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:///",
"enabled": true
},
"files" : [ "#{TEST_FILE}" ]
}, {
"pop" : "project",
"@id" : 2,
"child" : 1,
"exprs" : [ {
"ref" : "IntervalYear1",
"expr" : "cast('P1Y2M' as intervalyear) + cast('P1Y' as intervalyear)"
}, {
"ref" : "IntervalDay1",
"expr" : "cast('P1DT1H2M3S' as intervalday) + cast('P1D' as intervalday)"
}, {
"ref" : "IntervalYear2",
"expr" : "cast('P1Y2M' as intervalyear) - cast('P1Y' as intervalyear)"
}, {
"ref" : "IntervalDay2",
"expr" : "cast('P1DT1H2M3S' as intervalday) - cast('P1D' as intervalday)"
}, {
"ref" : "IntervalYear3",
"expr" : "cast('P1Y2M' as intervalyear) * 2"
}, {
"ref" : "IntervalDay3",
"expr" : " 2 * cast('PT1H0M3S' as intervalday)"
}, {
"ref" : "IntervalYear4",
"expr" : "cast('P1Y2M' as intervalyear) / 2"
}, {
"ref" : "IntervalDay4",
"expr" : " cast('PT1H0M3S' as intervalday) / 2"
}, {
"ref" : "IntervalYear5",
"expr" : "cast('P1Y2M' as intervalyear) * 2.4"
}, {
"ref" : "IntervalDay5",
"expr" : " 2.4 * cast('PT1H0M3S' as intervalday)"
}, {
"ref" : "IntervalYear6",
"expr" : "cast('P1Y2M' as intervalyear) / 2.1"
}, {
"ref" : "IntervalDay6",
"expr" : " cast('PT1H0M3S' as intervalday) / 2.1"
} ]
}, {
"@id" : 3,
"child" : 2,
"pop" : "screen"
} ]
}