This is an automated email from the ASF dual-hosted git repository. lide 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 d9539d42a71 [fix](orc) be crash while read orc with mismatch types #30738 d9539d42a71 is described below commit d9539d42a7182afc8ce7db7b5f7dc8c25810462b Author: camby <camby...@tencent.com> AuthorDate: Fri Feb 2 11:29:40 2024 +0800 [fix](orc) be crash while read orc with mismatch types #30738 --- be/src/vec/exec/format/orc/vorc_reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/vec/exec/format/orc/vorc_reader.cpp b/be/src/vec/exec/format/orc/vorc_reader.cpp index b3e447e8a5f..8b0daf5a3f6 100644 --- a/be/src/vec/exec/format/orc/vorc_reader.cpp +++ b/be/src/vec/exec/format/orc/vorc_reader.cpp @@ -630,7 +630,7 @@ Status OrcReader::_decode_string_column(const std::string& col_name, const orc::TypeKind& type_kind, orc::ColumnVectorBatch* cvb, size_t num_values) { SCOPED_RAW_TIMER(&_statistics.decode_value_time); - auto* data = down_cast<orc::StringVectorBatch*>(cvb); + auto* data = dynamic_cast<orc::StringVectorBatch*>(cvb); if (data == nullptr) { return Status::InternalError("Wrong data type for colum '{}'", col_name); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org