luoyuxia commented on code in PR #88:
URL: https://github.com/apache/paimon-rust/pull/88#discussion_r2779162353


##########
crates/paimon/src/error.rs:
##########
@@ -40,7 +40,8 @@ pub enum Error {
     )]
     IoUnexpected {
         message: String,
-        source: opendal::Error,
+        #[snafu(source(from(opendal::Error, Box::new)))]
+        source: Box<opendal::Error>,

Review Comment:
   see 
https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
   which suggest us to wrap big size error to Box.



-- 
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]

Reply via email to