Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xudong963 committed Nov 30, 2023
1 parent 2cbdde0 commit b630f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/query/service/src/interpreters/interpreter_explain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl Interpreter for ExplainInterpreter {
res.extend(query);
}
}
res
vec![DataBlock::concat(&res)?]
}
_ => self.explain_plan(&self.plan)?,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,7 @@ Filter
query T
explain insert into t2 select * from t1;
----
Insert { catalog: "default", database: "default", table: "t2", schema: TableSchema { fields: [TableField { name: "a", default_expr: None, data_type: Nullable(Number(Int32)), column_id: 0, computed_expr: None }, TableField { name: "b", default_expr: None, data_type: Nullable(Number(Int32)), column_id: 1, computed_expr: None }, TableField { name: "c", default_expr: None, data_type: Nullable(String), column_id: 2, computed_expr: None }], metadata: {}, next_column_id: 3 }, overwrite: false }
TableScan
├── table: default.default.t1
├── output columns: [a (#0), b (#1), c (#2)]
Expand All @@ -1721,7 +1722,6 @@ TableScan
├── partitions scanned: 0
├── push downs: [filters: [], limit: NONE]
└── estimated rows: 0.00
Insert { catalog: "default", database: "default", table: "t2", schema: TableSchema { fields: [TableField { name: "a", default_expr: None, data_type: Nullable(Number(Int32)), column_id: 0, computed_expr: None }, TableField { name: "b", default_expr: None, data_type: Nullable(Number(Int32)), column_id: 1, computed_expr: None }, TableField { name: "c", default_expr: None, data_type: Nullable(String), column_id: 2, computed_expr: None }], metadata: {}, next_column_id: 3 }, overwrite: false }


statement ok
Expand Down

0 comments on commit b630f12

Please sign in to comment.