[ 
https://issues.apache.org/jira/browse/SPARK-36816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ole updated SPARK-36816:
------------------------
    Description: 
After enabling *_spark.sql.thriftServer.incrementalCollects_* Thrift will 
execute queries in batches (as intended). Unfortunately the batch size cannot 
be configured as it seems to be hardcoded 
[here|[https://github.com/apache/spark/blob/6699f76fe2afa7f154b4ba424f3fe048fcee46df/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIServiceClient.java#L404]].
 It would be useful to configure that value to be able to adjust it to your 
environment.

edit: the link does not work - 
https://github.com/apache/spark/blob/6699f76fe2afa7f154b4ba424f3fe048fcee46df/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIServiceClient.java#L404

 

  was:
After enabling *_spark.sql.thriftServer.incrementalCollects_* Thrift will 
execute queries in batches (as intended). Unfortunately the batch size cannot 
be configured as it seems to be hardcoded 
[here|[https://github.com/apache/spark/blob/6699f76fe2afa7f154b4ba424f3fe048fcee46df/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIServiceClient.java#L404]].
 It would be useful to configure that value to be able to adjust it to your 
environment.

 


> Introduce a config variable for the incrementalCollects row batch size
> ----------------------------------------------------------------------
>
>                 Key: SPARK-36816
>                 URL: https://issues.apache.org/jira/browse/SPARK-36816
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.2
>            Reporter: Ole
>            Priority: Minor
>
> After enabling *_spark.sql.thriftServer.incrementalCollects_* Thrift will 
> execute queries in batches (as intended). Unfortunately the batch size cannot 
> be configured as it seems to be hardcoded 
> [here|[https://github.com/apache/spark/blob/6699f76fe2afa7f154b4ba424f3fe048fcee46df/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIServiceClient.java#L404]].
>  It would be useful to configure that value to be able to adjust it to your 
> environment.
> edit: the link does not work - 
> https://github.com/apache/spark/blob/6699f76fe2afa7f154b4ba424f3fe048fcee46df/sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/thrift/ThriftCLIServiceClient.java#L404
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to