mkleen commented on code in PR #23490:
URL: https://github.com/apache/datafusion/pull/23490#discussion_r3850039596


##########
datafusion/datasource/src/write/mod.rs:
##########
@@ -67,6 +70,62 @@ impl Write for SharedBuffer {
     }
 }
 
+/// An async writer that counts the number of bytes written to its inner 
writer.
+#[derive(Debug)]
+struct CountingWriter<W> {

Review Comment:
   The `CountingWriter` could be replaced with `tokio_util::io::InspectWriter`.



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

Reply via email to