| { |
| "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, |
| "exprs": [ |
| {"ref": "DE", "expr": " (cast(B as vardecimal(28, 9))) "}, |
| {"ref": "DE1", "expr": " cast(A as vardecimal(15, 6))"} |
| ], |
| "child": 1 |
| }, |
| { |
| "pop": "project", |
| "@id": 3, |
| "exprs": [{"ref": "DEC38ADD", "expr": " (DE + DE1) "}, {"ref": "DEC38SUB", "expr": " (DE - DE1) "}], |
| "child": 2 |
| }, |
| { |
| "pop": "project", |
| "@id": 4, |
| "exprs": [ |
| {"ref": "DEC38ADD", "expr": " cast(DEC38ADD as varchar(100)) "}, |
| {"ref": "DEC38SUB", "expr": " cast(DEC38SUB as varchar(100)) "} |
| ], |
| "child": 3 |
| }, |
| { |
| "pop": "screen", |
| "@id": 5, |
| "child": 4 |
| } |
| ] |
| } |