xiaokang commented on code in PR #22917:
URL: https://github.com/apache/doris/pull/22917#discussion_r1294280408
##########
be/src/util/jsonb_stream.h:
##########
@@ -126,9 +130,40 @@ class JsonbOutStream : public std::ostream {
size_ += len;
}
- void write(__int128 l) {
- // TODO
- assert(false);
+ // TODO: use more efficient impl for int128
+ void write(int128_t l) {
Review Comment:
changed to `fmt::format_to_n(head_ + size_, MAX_INT128_DIGITS, "{}", l)`
--
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]