This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 3d03ecb8750 branch-4.0: [Bug](datetype) add PGenericType for varbinary
type #56375 (#56404)
3d03ecb8750 is described below
commit 3d03ecb8750bfc297c8d3e9a7673f1301a5a0cac
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 25 11:04:48 2025 -0700
branch-4.0: [Bug](datetype) add PGenericType for varbinary type #56375
(#56404)
Cherry-picked from #56375
Co-authored-by: zhangstar333 <[email protected]>
---
be/src/vec/data_types/data_type_factory.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/be/src/vec/data_types/data_type_factory.cpp
b/be/src/vec/data_types/data_type_factory.cpp
index 56d81dac7e2..98c0aa1cff9 100644
--- a/be/src/vec/data_types/data_type_factory.cpp
+++ b/be/src/vec/data_types/data_type_factory.cpp
@@ -282,6 +282,9 @@ DataTypePtr DataTypeFactory::create_data_type(const
PColumnMeta& pcolumn) {
case PGenericType::HLL:
nested = std::make_shared<DataTypeHLL>();
break;
+ case PGenericType::VARBINARY:
+ nested = std::make_shared<DataTypeVarbinary>();
+ break;
case PGenericType::LIST:
DCHECK(pcolumn.children_size() == 1);
nested =
std::make_shared<DataTypeArray>(create_data_type(pcolumn.children(0)));
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]