lidavidm commented on code in PR #40104:
URL: https://github.com/apache/arrow/pull/40104#discussion_r1496088599
##########
java/flight/flight-core/src/main/java/org/apache/arrow/flight/FlightClient.java:
##########
@@ -813,7 +813,8 @@ public FlightClient build() {
builder
.maxTraceEvents(MAX_CHANNEL_TRACE_EVENTS)
- .maxInboundMessageSize(maxInboundMessageSize);
+ .maxInboundMessageSize(maxInboundMessageSize)
+ .maxInboundMetadataSize(maxInboundMessageSize);
Review Comment:
I've noticed this is required for some implementations that try to return a
relatively large error message. Without this, clients like DBeaver throw odd
errors instead of giving the actual error message.
--
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]