cambyzju commented on code in PR #11997:
URL: https://github.com/apache/doris/pull/11997#discussion_r952318810


##########
be/src/runtime/collection_value.cpp:
##########
@@ -184,6 +184,9 @@ struct ArrayIteratorFunctionsForString : public 
GenericArrayIteratorFunctions<ty
         string->ptr = (convert_ptrs ? convert_to<char*>(offset) : 
copied_string);
     }
     static void deserialize(void* item, const char* tuple_data, const 
TypeDescriptor& type_desc) {
+        if (!tuple_data || !item) {

Review Comment:
   better use DCHECK



-- 
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]

Reply via email to