yiguolei commented on code in PR #39030: URL: https://github.com/apache/doris/pull/39030#discussion_r1713299726
########## be/src/vec/functions/function_string.h: ########## @@ -3145,23 +3145,20 @@ class FunctionReplace : public IFunction { Status execute_impl(FunctionContext* context, Block& block, const ColumnNumbers& arguments, size_t result, size_t input_rows_count) const override { auto col_origin = - assert_cast<const ColumnString*>(block.get_by_position(arguments[0]) - .column->convert_to_full_column_if_const() - .get()); + block.get_by_position(arguments[0]).column->convert_to_full_column_if_const(); Review Comment: add comment -- 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