eldenmoon commented on code in PR #24603:
URL: https://github.com/apache/doris/pull/24603#discussion_r1363021397


##########
be/src/olap/tablet_schema.cpp:
##########
@@ -521,7 +521,7 @@ vectorized::AggregateFunctionPtr 
TabletColumn::get_aggregate_function_union(
 
 vectorized::AggregateFunctionPtr 
TabletColumn::get_aggregate_function(std::string suffix) const {
     auto type = 
vectorized::DataTypeFactory::instance().create_data_type(*this);
-    if (type && type->get_type_as_primitive_type() == 
PrimitiveType::TYPE_AGG_STATE) {
+    if (type && type->get_type_as_type_descriptor().type == 
PrimitiveType::TYPE_AGG_STATE) {

Review Comment:
   type_descriptor has structured info like it's sub column type, but primitive 
type does not 



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

Reply via email to