zhangstar333 commented on a change in pull request #8614:
URL: https://github.com/apache/incubator-doris/pull/8614#discussion_r841029836
##########
File path: be/src/vec/functions/function_cast.h
##########
@@ -803,6 +804,56 @@ struct ConvertThroughParsing {
}
};
+//convert string to bitmap or hll type
+template <typename FromDataType, typename ToDataType, typename Name>
+struct ConvertToComplex {
+ static_assert(std::is_same_v<FromDataType, DataTypeString>,
+ "ConvertToComplex is only applicable for String or
FixedString data types");
+
+ using ToFieldType = typename ToDataType::FieldType;
+ using ColVecTo = ColumnComplexType<ToFieldType>;
+
+ template <typename Additions = void*>
Review comment:
done
--
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]