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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to