You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "erikseulean (via GitHub)" <gi...@apache.org> on 2024/03/15 09:10:50 UTC

[I] Are large RecordBatches chunked into smaller size messages ? [arrow]

erikseulean opened a new issue, #40569:
URL: https://github.com/apache/arrow/issues/40569

   ### Describe the usage question you have. Please include as many useful details as  possible.
   
   
   Based on the docs the RecordBatch in rust is split into approximately 2MB chunks to comply with the recommendation of gRPC of messages not exceeding 4 MB. Is this true across the board in any language that has support for ArrowFlight ?
   
   ### Component(s)
   
   FlightRPC


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Are large RecordBatches chunked into smaller size messages ? [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #40569:
URL: https://github.com/apache/arrow/issues/40569#issuecomment-2000086432

   For other implementations, you would probably have to do this yourself.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Are large RecordBatches chunked into smaller size messages ? [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #40569:
URL: https://github.com/apache/arrow/issues/40569#issuecomment-2000087937

   For C++/Python, for a client writing to a server, you can set an optimistic limit with `write_size_limit_bytes`: https://arrow.apache.org/docs/python/generated/pyarrow.flight.FlightClient.html#pyarrow.flight.FlightClient
   
   If a batch is too big, you get an exception you can catch, and you can retry the write after splitting it.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Are large RecordBatches chunked into smaller size messages ? [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #40569:
URL: https://github.com/apache/arrow/issues/40569#issuecomment-2000171067

   Then it's not available. The server needs to do it.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [FlightRPC] Are large RecordBatches chunked into smaller size messages ? [arrow]

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic closed issue #40569: [FlightRPC] Are large RecordBatches chunked into smaller size messages ?
URL: https://github.com/apache/arrow/issues/40569


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Are large RecordBatches chunked into smaller size messages ? [arrow]

Posted by "erikseulean (via GitHub)" <gi...@apache.org>.
erikseulean commented on issue #40569:
URL: https://github.com/apache/arrow/issues/40569#issuecomment-2000107285

   I’m specifically interested in https://arrow.apache.org/rust/arrow_flight/encode/struct.FlightDataEncoderBuilder.html
   equivalent in cpp/python - with_max_flight_data_size
   
   My question is about a client reading from a server.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [FlightRPC] Are large RecordBatches chunked into smaller size messages ? [arrow]

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #40569:
URL: https://github.com/apache/arrow/issues/40569#issuecomment-3547495108

   This issue has been marked as stale because it has had no activity in the past 365 days. Please remove the stale label or comment below, or this issue will be closed in 14 days. If this usage question has evolved into a feature request or docs update, please remove the 'Type: usage' label and add the 'Type: enhancement' label instead.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org