[refactor](es) Clean es tcp scannode and related thrift definitions (#9553)
PaloExternalSourcesService is designed for es_scan_node using tcp protocol. But es tcp protocol need deploy a tcp jar into es code. Both es version and lucene version are upgraded, and the tcp jar is not maintained any more. So that I remove all the related code and thrift definitions.
This commit is contained in:
@ -33,7 +33,6 @@
|
||||
#include "exec/cross_join_node.h"
|
||||
#include "exec/empty_set_node.h"
|
||||
#include "exec/es_http_scan_node.h"
|
||||
#include "exec/es_scan_node.h"
|
||||
#include "exec/except_node.h"
|
||||
#include "exec/exchange_node.h"
|
||||
#include "exec/hash_join_node.h"
|
||||
@ -428,10 +427,6 @@ Status ExecNode::create_node(RuntimeState* state, ObjectPool* pool, const TPlanN
|
||||
*node = pool->add(new OdbcScanNode(pool, tnode, descs));
|
||||
return Status::OK();
|
||||
|
||||
case TPlanNodeType::ES_SCAN_NODE:
|
||||
*node = pool->add(new EsScanNode(pool, tnode, descs));
|
||||
return Status::OK();
|
||||
|
||||
case TPlanNodeType::ES_HTTP_SCAN_NODE:
|
||||
if (state->enable_vectorized_exec()) {
|
||||
*node = pool->add(new vectorized::VEsHttpScanNode(pool, tnode, descs));
|
||||
@ -662,7 +657,6 @@ void ExecNode::collect_nodes(TPlanNodeType::type node_type, std::vector<ExecNode
|
||||
void ExecNode::collect_scan_nodes(vector<ExecNode*>* nodes) {
|
||||
collect_nodes(TPlanNodeType::OLAP_SCAN_NODE, nodes);
|
||||
collect_nodes(TPlanNodeType::BROKER_SCAN_NODE, nodes);
|
||||
collect_nodes(TPlanNodeType::ES_SCAN_NODE, nodes);
|
||||
collect_nodes(TPlanNodeType::ES_HTTP_SCAN_NODE, nodes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user