csun5285 commented on code in PR #57561:
URL: https://github.com/apache/doris/pull/57561#discussion_r2480447307
##########
be/src/vec/columns/column_variant.cpp:
##########
@@ -2319,7 +2319,9 @@ void
ColumnVariant::Subcolumn::deserialize_from_sparse_column(const ColumnString
// array needs to check nested type is same as least common type's nested
type
if (!same_as_least_common_type && type == PrimitiveType::TYPE_ARRAY) {
- const auto* nested_start_data = start_data + 1;
+ // |PrimitiveType::TYPE_ARRAY| + |size_t| + |nested_type|
Review Comment:
之前获取的 `nested_type` 是错的,大部分情况下都命中第一个分支就不会出错
--
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]