amorynan commented on code in PR #26749: URL: https://github.com/apache/doris/pull/26749#discussion_r1405926099
########## be/src/vec/data_types/serde/data_type_jsonb_serde.cpp: ########## @@ -199,7 +199,7 @@ void DataTypeJsonbSerDe::write_one_cell_to_json(const IColumn& column, rapidjson auto& data = assert_cast<const ColumnString&>(column); const auto jsonb_val = data.get_data_at(row_num); if (jsonb_val.empty()) { - result.SetNull(); + return; Review Comment: why not set null and then return ? -- 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