| { |
| "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:["/input_simple_decimal.json"] |
| }, { |
| "pop" : "project", |
| "@id" : 2, |
| "exprs" : [ |
| { "ref" : "DEC9_COL", "expr": "(cast(cast(INT_COL as int) as vardecimal(10, 0)))" }, |
| { "ref" : "DEC38_COL", "expr": "(cast(BIGINT_COL as vardecimal(38, 0)))" } |
| ], |
| |
| "child" : 1 |
| }, |
| { |
| "pop" : "project", |
| "@id" : 4, |
| "exprs" : [ |
| {"ref": "DEC9_INT", "expr" : "cast(DEC9_COL as int)"}, |
| {"ref": "DEC38_INT", "expr" : "cast(DEC38_COL as int)"}, |
| {"ref": "DEC9_BIGINT", "expr" : "cast(DEC9_COL as bigint)"}, |
| {"ref": "DEC38_BIGINT", "expr" : "cast(DEC38_COL as bigint)"} |
| ], |
| |
| "child" : 2 |
| }, |
| { |
| "pop" : "screen", |
| "@id" : 5, |
| "child" : 4 |
| } ] |
| } |