1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
source: datafusion-cli/tests/cli_integration.rs
info:
program: datafusion-cli
args:
- "--command"
- EXPLAIN SELECT 123
env:
DATAFUSION_EXPLAIN_FORMAT: pgjson
---
success: true
exit_code: 0
----- stdout -----
[CLI_VERSION]
+--------------+-----------------------------------------+
| plan_type | plan |
+--------------+-----------------------------------------+
| logical_plan | [ |
| | { |
| | "Plan": { |
| | "Expressions": [ |
| | "Int64(123)" |
| | ], |
| | "Node Type": "Projection", |
| | "Output": [ |
| | "Int64(123)" |
| | ], |
| | "Plans": [ |
| | { |
| | "Node Type": "EmptyRelation", |
| | "Output": [], |
| | "Plans": [] |
| | } |
| | ] |
| | } |
| | } |
| | ] |
+--------------+-----------------------------------------+
1 row(s) fetched.
[ELAPSED]
----- stderr -----