amorynan commented on code in PR #51696:
URL: https://github.com/apache/doris/pull/51696#discussion_r2161380748
##########
be/src/vec/columns/column_variant.cpp:
##########
@@ -282,7 +282,7 @@ Array create_empty_array_field(size_t num_dimensions) {
Array array;
Array* current_array = &array;
for (size_t i = 1; i < num_dimensions; ++i) {
- current_array->push_back(Field::create_field<TYPE_NULL>(Null()));
+ current_array->push_back(Field::create_field<TYPE_ARRAY>(Array()));
Review Comment:
If we can enter the for loop here, it means that this is a multi-level
array, and think about if three-level array here should make core, also before
this pr, our behavior is correct :
https://github.com/apache/doris/commit/cf5aa68c9a795d57756af32578331789225bb949#diff-58a5117f46ce51c48dc84ac874e462b74010ec493c0a18079a4c969a9b36f225
--
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]