[Enhencement](Backends) add HostName filed in backends table and delete backends table in information_schema (#18156)

1.  Add `HostName` field for `show backends` statement and `backends()` tvf.
2. delete the `backends` table in `information_schema` database
This commit is contained in:
Tiewei Fang
2023-04-07 08:30:42 +08:00
committed by GitHub
parent 22deeecbe1
commit 759f1da32e
70 changed files with 324 additions and 682 deletions

View File

@ -84,11 +84,6 @@ Status VSchemaScanNode::init(const TPlanNode& tnode, RuntimeState* state) {
_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));
}
if (tnode.schema_scan_node.__isset.catalog) {
_scanner_param.catalog = _pool->add(new std::string(tnode.schema_scan_node.catalog));
}