| { |
| "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": ["/input_simple_decimal.json"] |
| }, |
| { |
| "pop": "project", |
| "@id": 2, |
| "exprs": [ |
| {"ref": "DEC9_COL", "expr": "(cast(DEC9 as vardecimal(9, 4)))"}, |
| {"ref": "DEC38_COL", "expr": "(cast(DEC18 as vardecimal(38, 4)))"} |
| ], |
| "child": 1 |
| }, |
| { |
| "pop": "project", |
| "@id": 4, |
| "exprs": [ |
| {"ref": "DEC9_FLOAT", "expr": "cast(DEC9_COL as float4)"}, |
| {"ref": "DEC38_FLOAT", "expr": "cast(DEC38_COL as float4)"}, |
| {"ref": "DEC9_DOUBLE", "expr": "cast(DEC9_COL as float8)"}, |
| {"ref": "DEC38_DOUBLE", "expr": "cast(DEC38_COL as float8)"} |
| ], |
| "child": 2 |
| }, |
| { |
| "pop": "screen", |
| "@id": 5, |
| "child": 4 |
| } |
| ] |
| } |