This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 318fa4272ed [refactor](meta scan) Remove RPC from execute threads 
(#33378)
318fa4272ed is described below

commit 318fa4272ed79d09b3a1bf75f3a2aaf60e5eb515
Author: Gabriel <[email protected]>
AuthorDate: Mon Apr 8 20:27:17 2024 +0800

    [refactor](meta scan) Remove RPC from execute threads (#33378)
---
 be/src/vec/exec/scan/vmeta_scanner.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/be/src/vec/exec/scan/vmeta_scanner.cpp 
b/be/src/vec/exec/scan/vmeta_scanner.cpp
index e31846c21be..2680b2679d8 100644
--- a/be/src/vec/exec/scan/vmeta_scanner.cpp
+++ b/be/src/vec/exec/scan/vmeta_scanner.cpp
@@ -77,6 +77,7 @@ VMetaScanner::VMetaScanner(RuntimeState* state, 
pipeline::ScanLocalStateBase* lo
 Status VMetaScanner::open(RuntimeState* state) {
     VLOG_CRITICAL << "VMetaScanner::open";
     RETURN_IF_ERROR(VScanner::open(state));
+    RETURN_IF_ERROR(_fetch_metadata(_scan_range.meta_scan_range));
     return Status::OK();
 }
 
@@ -94,8 +95,6 @@ Status VMetaScanner::prepare(RuntimeState* state, const 
VExprContextSPtrs& conju
         // from a NULL value.
         return Status::InternalError("Logical error, VMetaScanner do not allow 
ColumnNullable");
     }
-
-    RETURN_IF_ERROR(_fetch_metadata(_scan_range.meta_scan_range));
     return Status::OK();
 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to