This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new faf3485ef40 branch-4.0: [Fix](file-scanner) Fix query result is
incorrect when non-deterministic func push down. #60186 (#60223)
faf3485ef40 is described below
commit faf3485ef40388b94a35253571a2e0d9479d696a
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Jan 26 17:12:08 2026 +0800
branch-4.0: [Fix](file-scanner) Fix query result is incorrect when
non-deterministic func push down. #60186 (#60223)
Cherry-picked from #60186
Co-authored-by: Qi Chen <[email protected]>
---
be/src/vec/exec/scan/file_scanner.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/vec/exec/scan/file_scanner.cpp
b/be/src/vec/exec/scan/file_scanner.cpp
index 7fff4237064..27ac138bf0c 100644
--- a/be/src/vec/exec/scan/file_scanner.cpp
+++ b/be/src/vec/exec/scan/file_scanner.cpp
@@ -336,9 +336,9 @@ Status FileScanner::_process_conjuncts() {
std::vector<int> slot_ids;
_get_slot_ids(cur_expr.get(), &slot_ids);
- if (slot_ids.size() == 0) {
+ if (slot_ids.empty()) {
_not_single_slot_filter_conjuncts.emplace_back(conjunct);
- return Status::OK();
+ continue;
}
bool single_slot = true;
for (int i = 1; i < slot_ids.size(); i++) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]