eldenmoon commented on code in PR #47688: URL: https://github.com/apache/doris/pull/47688#discussion_r1960828006
########## be/src/vec/exprs/vexpr.cpp: ########## @@ -653,7 +653,7 @@ Status VExpr::_evaluate_inverted_index(VExprContext* context, const FunctionBase context->get_inverted_index_context() ->get_storage_name_and_type_by_column_id(column_id); auto storage_type = remove_nullable(storage_name_type->second); - auto target_type = cast_expr->get_target_type(); + auto target_type = remove_nullable(cast_expr->get_target_type()); Review Comment: remove null to get real type, it's a bug in original code -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org