This is an automated email from the ASF dual-hosted git repository.
zhangstar333 pushed a commit to branch paimon-blob-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/paimon-blob-4.1 by this push:
new 00d6d9ba088 fix compile (#69058)
00d6d9ba088 is described below
commit 00d6d9ba088be9baf9a6c41192ab98fec410c6ad
Author: zhangstar333 <[email protected]>
AuthorDate: Wed Oct 14 14:23:53 2026 +0800
fix compile (#69058)
---
be/src/exprs/function/cast/cast_to_variant.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/be/src/exprs/function/cast/cast_to_variant.h
b/be/src/exprs/function/cast/cast_to_variant.h
index 8b95aca904f..0b5731e1c1c 100644
--- a/be/src/exprs/function/cast/cast_to_variant.h
+++ b/be/src/exprs/function/cast/cast_to_variant.h
@@ -180,8 +180,8 @@ struct CastToVariant {
};
// create corresponding variant value to wrap from_type
-WrapperType create_cast_to_variant_wrapper(const DataTypePtr& from_type,
- const DataTypeVariant& to_type) {
+inline WrapperType create_cast_to_variant_wrapper(const DataTypePtr& from_type,
+ const DataTypeVariant&
to_type) {
if (from_type->get_primitive_type() == TYPE_VARIANT) {
// variant_max_subcolumns_count is not equal
return create_unsupport_wrapper(from_type->get_name(),
to_type.get_name());
@@ -190,8 +190,8 @@ WrapperType create_cast_to_variant_wrapper(const
DataTypePtr& from_type,
}
// create corresponding type convert from variant
-WrapperType create_cast_from_variant_wrapper(const DataTypeVariant& from_type,
- const DataTypePtr& to_type) {
+inline WrapperType create_cast_from_variant_wrapper(const DataTypeVariant&
from_type,
+ const DataTypePtr&
to_type) {
if (to_type->get_primitive_type() == TYPE_VARIANT) {
// variant_max_subcolumns_count is not equal
return create_unsupport_wrapper(from_type.get_name(),
to_type->get_name());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]