yiguolei commented on code in PR #43515: URL: https://github.com/apache/doris/pull/43515#discussion_r1836359603
########## be/src/vec/data_types/serde/data_type_object_serde.cpp: ########## @@ -117,11 +118,11 @@ void DataTypeObjectSerDe::read_one_cell_from_jsonb(IColumn& column, const JsonbV Field field; if (arg->isBinary()) { const auto* blob = static_cast<const JsonbBlobVal*>(arg); - field.assign_jsonb(blob->getBlob(), blob->getBlobLen()); + field = JsonbField(blob->getBlob(), blob->getBlobLen()); } else if (arg->isString()) { // not a valid jsonb type, insert as string const auto* str = static_cast<const JsonbStringVal*>(arg); - field.assign_string(str->getBlob(), str->getBlobLen()); + field = String(str->getBlob(), str->getBlobLen()); Review Comment: Field(String(str->getBlob(), str->getBlobLen())); -- 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