cambyzju commented on code in PR #9582:
URL: https://github.com/apache/incubator-doris/pull/9582#discussion_r875922111
##########
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:
why we need nested_type here?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]