yiguolei commented on code in PR #65419:
URL: https://github.com/apache/doris/pull/65419#discussion_r3551140521
##########
be/src/storage/segment/column_reader_cache.cpp:
##########
@@ -117,6 +157,11 @@ Status ColumnReaderCache::get_column_reader(int32_t
col_uid,
}
RETURN_IF_ERROR(st_meta);
+ // Segments written before #26572 do not persist decimal precision/frac in
+ // ColumnMetaPB, so recover the logical p/s from TabletSchema before
+ // ColumnReader builds DataTypeDecimal.
+ fill_missing_decimal_precision_from_schema(&meta, _tablet_schema);
Review Comment:
如果你再这里修改了,那么上次的fix 还有用没?
另外,这里好像没区分decimalv2还是decimal v3? 比如如果是decimal v2 怎么办?
--
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]