[feature](information_schema) add backends information_schema table (#13086)

This commit is contained in:
Tiewei Fang
2022-11-08 22:15:10 +08:00
committed by GitHub
parent ae3c513d74
commit 826cfdaf93
16 changed files with 519 additions and 18 deletions

View File

@ -82,6 +82,11 @@ Status SchemaScanNode::init(const TPlanNode& tnode, RuntimeState* state) {
if (tnode.schema_scan_node.__isset.thread_id) {
_scanner_param.thread_id = tnode.schema_scan_node.thread_id;
}
if (tnode.schema_scan_node.__isset.table_structure) {
_scanner_param.table_structure = _pool->add(
new std::vector<TSchemaTableStructure>(tnode.schema_scan_node.table_structure));
}
return Status::OK();
}