[Bug](pipeline) fix pipeline jdbc coredump in regression test (#22892)

Issue Number: Bug fix pipeline jdbc coredump in regression test
This commit is contained in:
HappenLee
2023-08-13 22:56:09 +08:00
committed by GitHub
parent 49d503911e
commit 48037622cd

View File

@ -285,11 +285,8 @@ Status PipelineFragmentContext::prepare(const doris::TPipelineFragmentParams& re
typeid(*node) == typeid(vectorized::NewFileScanNode) ||
typeid(*node) == typeid(vectorized::NewOdbcScanNode) ||
typeid(*node) == typeid(vectorized::NewEsScanNode) ||
typeid(*node) == typeid(vectorized::VMetaScanNode)
#ifdef LIBJVM
|| typeid(*node) == typeid(vectorized::NewJdbcScanNode)
#endif
) {
typeid(*node) == typeid(vectorized::VMetaScanNode) ||
typeid(*node) == typeid(vectorized::NewJdbcScanNode)) {
auto* scan_node = static_cast<vectorized::VScanNode*>(scan_nodes[i]);
auto scan_ranges = find_with_default(local_params.per_node_scan_ranges, scan_node->id(),
no_scan_ranges);