yiguolei commented on code in PR #50290:
URL: https://github.com/apache/doris/pull/50290#discussion_r2057363855


##########
be/src/exec/table_connector.cpp:
##########
@@ -231,8 +232,11 @@ Status TableConnector::convert_column_data(const 
vectorized::ColumnPtr& column_p
             if (arr_nested->is_null_at(idx)) {
                 fmt::format_to(_insert_stmt_buffer, "{}", "NULL");
             } else {
-                RETURN_IF_ERROR(convert_column_data(arr_nested, nested_type, 
type.children[0], idx,
-                                                    table_type));
+                RETURN_IF_ERROR(convert_column_data(arr_nested, nested_type,
+                                                    assert_cast<const 
vectorized::DataTypeArray*>(
+                                                            
vectorized::remove_nullable(type).get())

Review Comment:
   这里为啥要remove nullable??



-- 
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

Reply via email to