luoyuxia commented on code in PR #124:
URL: https://github.com/apache/fluss-rust/pull/124#discussion_r2675803215
##########
crates/fluss/src/row/datum.rs:
##########
@@ -55,6 +55,8 @@ pub enum Datum<'a> {
String(&'a str),
#[display("{0}")]
Blob(Blob),
+ #[display("{:?}")]
+ BorrowedBlob(&'a [u8]),
Review Comment:
Actually, this piece of code should be removed in my plan before release.
It'll cause memory leak. We can have a better way
So, for this pr, I think you can use `Box::leak ` to support blob type
directly.
But if you find it's not a easy work to do that, I'm also fine to left it as
an another pr.
--
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]