HappenLee commented on code in PR #17973:
URL: https://github.com/apache/doris/pull/17973#discussion_r1142381972
##########
be/src/vec/exprs/table_function/vexplode_numbers.cpp:
##########
@@ -68,22 +78,24 @@ Status VExplodeNumbersTableFunction::reset() {
return Status::OK();
}
-Status VExplodeNumbersTableFunction::get_value(void** output) {
+void VExplodeNumbersTableFunction::get_value(MutableColumnPtr& column) {
if (_is_current_empty) {
- *output = nullptr;
+ if (_is_nullable) {
+ static_cast<ColumnInt32*>(
+
static_cast<ColumnNullable*>(column.get())->get_nested_column_ptr().get())
+ ->insert_default();
Review Comment:
the work may cause the nested column size do not == null map size?
--
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]