zhaohaidao commented on code in PR #132:
URL: https://github.com/apache/fluss-rust/pull/132#discussion_r2678816841
##########
crates/fluss/src/client/write/batch.rs:
##########
@@ -217,12 +218,12 @@ impl ArrowLogWriteBatch {
}
}
- pub fn build(&self) -> Result<Vec<u8>> {
+ pub fn build(&self) -> Result<Bytes> {
let mut cached = self.built_records.lock();
Review Comment:
Does this look like an unstable API? Ran `cargo test -p fluss ` followed
with
>
Compiling fluss v0.1.0 (/home/admin/mh/fluss-r/fluss-rust/crates/fluss)
error[E0658]: use of unstable library feature `once_cell_try`
--> crates/fluss/src/client/write/batch.rs:224:14
|
224 | .get_or_try_init(||
self.arrow_builder.build().map(Bytes::from))?;
| ^^^^^^^^^^^^^^^
|
= note: see issue #109737
<https://github.com/rust-lang/rust/issues/109737> for more information
For more information about this error, try `rustc --explain E0658`.
--
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]