dillitz opened a new pull request, #48122:
URL: https://github.com/apache/spark/pull/48122

   ### What changes were proposed in this pull request?
   Increases the default `maxBatchSize` from 4MiB * 0.7 to 128MiB (=
   CONNECT_GRPC_MAX_MESSAGE_SIZE) * 0.7 when creating the single Arrow batch 
for the `SqlCommandResult` in the `SparkConnectPlanner`. This lets us return 
much larger `LocalRelations` in the `SqlCommandResult` (for example for the 
`SHOW PARTITIONS` command) while still staying within the GRPC message size 
limit.
   
   
   ### Why are the changes needed?
   There are `SqlCommandResults` that exceed 0.7 * 4MiB.
   
   
   ### Does this PR introduce _any_ user-facing change?
   Now support `SqlCommandResults` <= 0.7 * 128 MiB instead of only <= 0.7 * 
4MiB.
   
   
   ### How was this patch tested?
   Existing tests.
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.


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