eldenmoon commented on code in PR #62409:
URL: https://github.com/apache/doris/pull/62409#discussion_r3073012321
##########
be/src/storage/segment/variant/variant_column_reader.cpp:
##########
@@ -1205,6 +1205,10 @@ Status VariantColumnReader::init(const
ColumnReaderOptions& opts, ColumnMetaAcce
_statistics->subcolumns_non_null_size.emplace(relative_path.get_path(),
column_pb.none_null_size());
}
+ // 3.1.2 may store a flat JSON key like {"a.b": 1} as a single
PathInData part.
+ // New compaction schema and query path expect a dot-split multi-part
shape.
+ // Normalize here before inserting into the meta tree to match that
shape.
+ relative_path.normalize_legacy_flat_dot_key();
Review Comment:
relative_path = PathInData(relative_path.get_path()); 这样可以吗
--
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]