diff --git a/be/src/pipeline/pipeline_fragment_context.cpp b/be/src/pipeline/pipeline_fragment_context.cpp index ceaf70ac123237..ae91ab3381f91a 100644 --- a/be/src/pipeline/pipeline_fragment_context.cpp +++ b/be/src/pipeline/pipeline_fragment_context.cpp @@ -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(scan_nodes[i]); auto scan_ranges = find_with_default(local_params.per_node_scan_ranges, scan_node->id(), no_scan_ranges);