baiguoname commented on issue #18202:
URL: https://github.com/apache/datafusion/issues/18202#issuecomment-3454760426

   > I see, I cannot see any blocking operator in the final plan. The problem 
might be related to the CoalesceBatchesExec, whose target_batch_size=8192. 
Waiting for 8192 rows for each partition may take a while, if you set the 
configuration: "datafusion.execution.batch_size" to a smaller value (such as 1) 
you might see results even in the multi partition case. Other than this I 
cannot think any reason why you don't see any result when query runs in multi 
partitions.
   
   I had test this before:
   ```rust
           let session_config = SessionConfig::new()
               .with_batch_size(1)
               // .with_target_partitions(1)
               ;
   ```
   It has no effect, I got the same error as before.


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