[improvement][agg]import sub hashmap (#10937)

This commit is contained in:
Jerry Hu
2022-07-18 18:36:45 +08:00
committed by GitHub
parent b037aca4fd
commit 899acb6564
6 changed files with 946 additions and 1 deletions

View File

@ -170,6 +170,12 @@ void AggregationNode::_init_hash_method(std::vector<VExprContext*>& probe_exprs)
}
return;
}
case TYPE_CHAR:
case TYPE_VARCHAR:
case TYPE_STRING: {
_agg_data.init(AggregatedDataVariants::Type::string_key, is_nullable);
break;
}
default:
_agg_data.init(AggregatedDataVariants::Type::serialized);
}