This is an automated email from the ASF dual-hosted git repository.
gabriellee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 7945b29db60 [fix](nullable) Fix nullable property for array (#57179)
7945b29db60 is described below
commit 7945b29db603db6396aa91f15cf1b6e3ac0b0147
Author: Gabriel <[email protected]>
AuthorDate: Tue Oct 21 16:33:36 2025 +0800
[fix](nullable) Fix nullable property for array (#57179)
---
be/src/vec/data_types/data_type_factory.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/vec/data_types/data_type_factory.cpp
b/be/src/vec/data_types/data_type_factory.cpp
index 59c45ad656c..2dcf634dce3 100644
--- a/be/src/vec/data_types/data_type_factory.cpp
+++ b/be/src/vec/data_types/data_type_factory.cpp
@@ -592,7 +592,7 @@ DataTypePtr DataTypeFactory::create_data_type(
if (primitive_type == TYPE_ARRAY) {
++(*idx);
nested =
std::make_shared<vectorized::DataTypeArray>(create_data_type(
- types, idx, node.has_contains_null() ?
node.has_contains_null() : true));
+ types, idx, node.has_contains_null() ?
node.contains_null() : true));
} else if (primitive_type == TYPE_MAP) {
DataTypes data_types;
data_types.resize(2, nullptr);
@@ -631,7 +631,7 @@ DataTypePtr DataTypeFactory::create_data_type(
case TTypeNodeType::ARRAY: {
++(*idx);
nested = std::make_shared<vectorized::DataTypeArray>(create_data_type(
- types, idx, node.has_contains_null() ?
node.has_contains_null() : true));
+ types, idx, node.has_contains_null() ? node.contains_null() :
true));
break;
}
case TTypeNodeType::MAP: {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]