liaoxin01 commented on code in PR #9582: URL: https://github.com/apache/incubator-doris/pull/9582#discussion_r877688404
########## be/src/vec/sink/mysql_result_writer.cpp: ########## @@ -419,9 +447,13 @@ Status VMysqlResultWriter::append_block(Block& input_block) { } case TYPE_DECIMALV2: { if (type_ptr->is_nullable()) { - status = _add_one_column<PrimitiveType::TYPE_DECIMALV2, true>(column_ptr, result); + auto& nested_type = + assert_cast<const DataTypeNullable&>(*type_ptr).get_nested_type(); + status = _add_one_column<PrimitiveType::TYPE_DECIMALV2, true>(column_ptr, result, Review Comment: used for _add_one_column function to infer the type of decimal column. -- 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