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

morningman pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new f36c233c7a9 [fix](paimon) Fix paimon native reader don't use late 
materialization. (#55690)
f36c233c7a9 is described below

commit f36c233c7a93b8889dd69b4aa50f978d28f866dd
Author: Qi Chen <[email protected]>
AuthorDate: Mon Sep 8 11:14:04 2025 +0800

    [fix](paimon) Fix paimon native reader don't use late materialization. 
(#55690)
---
 be/src/vec/exec/scan/vfile_scanner.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/be/src/vec/exec/scan/vfile_scanner.cpp 
b/be/src/vec/exec/scan/vfile_scanner.cpp
index d6059347f02..6d7dac8d573 100644
--- a/be/src/vec/exec/scan/vfile_scanner.cpp
+++ b/be/src/vec/exec/scan/vfile_scanner.cpp
@@ -721,9 +721,6 @@ Status VFileScanner::_get_next_reader() {
         // for compatibility, if format_type is not set in range, use the 
format type of params
         TFileFormatType::type format_type =
                 range.__isset.format_type ? range.format_type : 
_params->format_type;
-        // JNI reader can only push down column value range
-        bool push_down_predicates =
-                !_is_load && _params->format_type != 
TFileFormatType::FORMAT_JNI;
         // for compatibility, this logic is deprecated in 3.1
         if (format_type == TFileFormatType::FORMAT_JNI && 
range.__isset.table_format_params) {
             if (range.table_format_params.table_format_type == "paimon" &&
@@ -739,6 +736,8 @@ Status VFileScanner::_get_next_reader() {
                 }
             }
         }
+        // JNI reader can only push down column value range
+        bool push_down_predicates = !_is_load && format_type != 
TFileFormatType::FORMAT_JNI;
         bool need_to_get_parsed_schema = false;
         switch (format_type) {
         case TFileFormatType::FORMAT_JNI: {


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

Reply via email to