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

Gabriel39 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 9bf0817dc3b fix: block type reset after dict filter (#63168)
9bf0817dc3b is described below

commit 9bf0817dc3b63057cc352d848f29847828adba5b
Author: wlong <[email protected]>
AuthorDate: Wed May 20 10:24:48 2026 +0800

    fix: block type reset after dict filter (#63168)
    
    ### What problem does this PR solve?
    
    Fix parquet reader reporting: Read parquet file xxxxx.parquet failed, 
reason =
    [INTERNAL_ERROR]comparison must input two same type column or column
    type is decimalv3/numeric, lhs=Int32, rhs=String
    
    ---------
    
    Co-authored-by: wanglong16 <[email protected]>
---
 be/src/format/parquet/vparquet_group_reader.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/be/src/format/parquet/vparquet_group_reader.cpp 
b/be/src/format/parquet/vparquet_group_reader.cpp
index 7fb2c6fe67c..7d910e49203 100644
--- a/be/src/format/parquet/vparquet_group_reader.cpp
+++ b/be/src/format/parquet/vparquet_group_reader.cpp
@@ -752,6 +752,7 @@ Status RowGroupReader::_do_lazy_read(Block* block, size_t 
batch_size, size_t* re
         DCHECK_EQ(pre_read_rows + _cached_filtered_rows, 0);
         *read_rows = 0;
         *batch_eof = true;
+        RETURN_IF_ERROR(_convert_dict_cols_to_string_cols(block));
         return Status::OK();
     }
 


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

Reply via email to