jonahgao commented on issue #9554:
URL: 
https://github.com/apache/arrow-datafusion/issues/9554#issuecomment-1991600013

   > it's a bit slow.
   
   Disabling `enable_round_robin_repartition` and `coalesce_batches` will make 
it much faster.
   @Matthewgapp once mentioned this issue in PR #7581.
   
   ```sh
   DataFusion CLI v36.0.0
   
   ❯ set datafusion.optimizer.enable_round_robin_repartition=false;
   0 rows in set. Query took 0.002 seconds.
   
   ❯ set datafusion.execution.coalesce_batches=false;
   0 rows in set. Query took 0.002 seconds.
   
   ❯ with recursive t(a) as
   (select 1 as a
   union all
   select 1+a from t where a<10000)
   select count(*) from t;
   +----------+
   | COUNT(*) |
   +----------+
   | 10000    |
   +----------+
   1 row in set. Query took 0.194 seconds.
   ```
   


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

Reply via email to