adonis0147 commented on code in PR #8786:
URL: https://github.com/apache/incubator-doris/pull/8786#discussion_r845819989
##########
be/src/olap/field.h:
##########
@@ -278,7 +278,7 @@ class Field {
FieldType type() const { return _type_info->type(); }
FieldAggregationMethod aggregation() const { return
_agg_info->agg_method(); }
- const TypeInfo* type_info() const { return _type_info; }
+ const TypeInfo* type_info() const { return _type_info.get(); }
Review Comment:
I agree that it is a potential risk which we should avoid.
--
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]