[
https://issues.apache.org/jira/browse/SPARK-49673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-49673.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 48122
[https://github.com/apache/spark/pull/48122]
> Increase maxBatchSize for Connect's sqlCommandResult
> ----------------------------------------------------
>
> Key: SPARK-49673
> URL: https://issues.apache.org/jira/browse/SPARK-49673
> Project: Spark
> Issue Type: Improvement
> Components: Connect
> Affects Versions: 4.0.0
> Reporter: Robert Dillitz
> Assignee: Robert Dillitz
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Increase 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]