yiguolei commented on code in PR #55919:
URL: https://github.com/apache/doris/pull/55919#discussion_r2352024147
##########
be/src/vec/data_types/serde/data_type_string_serde.cpp:
##########
@@ -424,6 +424,19 @@ Status
DataTypeStringSerDeBase<ColumnType>::deserialize_column_from_jsonb_vector
return Status::OK();
}
+template <typename ColumnType>
+void DataTypeStringSerDeBase<ColumnType>::to_string(const IColumn& column,
size_t row_num,
+ BufferWritable& bw) const {
+ if (_nesting_level > 1) {
+ bw.write('"');
+ }
+ const auto& value = assert_cast<const
ColumnType&>(column).get_data_at(row_num);
Review Comment:
这里别assert cast了吧,太慢了
--
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]