alamb commented on code in PR #3444:
URL: https://github.com/apache/arrow-rs/pull/3444#discussion_r1061788085


##########
arrow-flight/src/encode.rs:
##########
@@ -100,8 +100,8 @@ impl FlightDataEncoderBuilder {
     /// is approximate because there additional encoding overhead on
     /// top of the underlying data itself.
     ///
-    pub fn with_max_message_size(mut self, max_batch_size: usize) -> Self {
-        self.max_batch_size = max_batch_size;
+    pub fn with_max_message_size_bytes(mut self, max_batch_size_bytes: usize) 
-> Self {
+        self.max_batch_size_bytes = max_batch_size_bytes;

Review Comment:
   I like that -- will change



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