This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push: new 8ee19df648 [tmpfix](bug) fix compile bug after cherry-pick 8ee19df648 is described below commit 8ee19df64856ce6fbfa69460e616585b9c7e6a0e Author: morningman <morning...@163.com> AuthorDate: Mon Dec 19 14:44:59 2022 +0800 [tmpfix](bug) fix compile bug after cherry-pick --- be/src/vec/exec/scan/scanner_scheduler.cpp | 4 ++-- be/src/vec/exec/scan/vfile_scanner.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/be/src/vec/exec/scan/scanner_scheduler.cpp b/be/src/vec/exec/scan/scanner_scheduler.cpp index d45adc13b9..62b3d022a8 100644 --- a/be/src/vec/exec/scan/scanner_scheduler.cpp +++ b/be/src/vec/exec/scan/scanner_scheduler.cpp @@ -236,13 +236,13 @@ void ScannerScheduler::_scanner_scan(ScannerScheduler* scheduler, ScannerContext // The VFileScanner for external table may try to open not exist files, // Because FE file cache for external table may out of date. if (!status.ok() && (typeid(*scanner) == typeid(doris::vectorized::VFileScanner) && - !status.is<ErrorCode::NOT_FOUND>())) { + !status.is_not_found())) { LOG(WARNING) << "Scan thread read VOlapScanner failed: " << status.to_string(); // Add block ptr in blocks, prevent mem leak in read failed blocks.push_back(block); break; } - if (status.is<ErrorCode::NOT_FOUND>()) { + if (status.is_not_found()) { // The only case in this if branch is external table file delete and fe cache has not been updated yet. // Set status to OK. status = Status::OK(); diff --git a/be/src/vec/exec/scan/vfile_scanner.cpp b/be/src/vec/exec/scan/vfile_scanner.cpp index cf61384e81..60815a5236 100644 --- a/be/src/vec/exec/scan/vfile_scanner.cpp +++ b/be/src/vec/exec/scan/vfile_scanner.cpp @@ -534,7 +534,7 @@ Status VFileScanner::_get_next_reader() { if (init_status.is_end_of_file()) { continue; } else if (!init_status.ok()) { - if (init_status.is<ErrorCode::NOT_FOUND>()) { + if (init_status.is_not_found()) { return init_status; } return Status::InternalError("failed to init reader for file {}, err: {}", range.path, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org