eldenmoon commented on code in PR #39022:
URL: https://github.com/apache/doris/pull/39022#discussion_r1721164204


##########
be/src/vec/functions/function_cast.h:
##########
@@ -810,6 +810,20 @@ struct ConvertImplGenericToJsonb {
     }
 };
 
+struct ConvertNothingToJsonb {
+    static Status execute(FunctionContext* context, Block& block, const 
ColumnNumbers& arguments,
+                          const size_t result, size_t input_rows_count) {
+        const auto& col_with_type_and_name = 
block.get_by_position(arguments[0]);
+        const IColumn& col_from = *col_with_type_and_name.column;
+        size_t size = col_from.size();
+        auto col_to = col_from.clone_resized(size);

Review Comment:
   fixed



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to