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

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


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

commit 3c044cf46ea39e783a2ebfc658d969cfc013fc74
Author: Qi Chen <[email protected]>
AuthorDate: Fri Sep 12 10:39:54 2025 +0800

    branch-3.1: [fix](paimon) Fix paimon native reader don't use late 
materialization. #55894 (#55917)
    
    bp #55894
---
 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 3665e52270f..54f9c807989 100644
--- a/be/src/vec/exec/scan/vfile_scanner.cpp
+++ b/be/src/vec/exec/scan/vfile_scanner.cpp
@@ -943,9 +943,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" &&
@@ -961,6 +958,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