pepijnve commented on PR #16398:
URL: https://github.com/apache/datafusion/pull/16398#issuecomment-2987589733
Zooming in on query 4 (it would be super convenient if these had 1-based
indices BTW to match line numbers in the file). The plan is
```
ProjectionExec: expr=[count(alias1)@0 as count(DISTINCT hits.UserID)]
AggregateExec: mode=Final, gby=[], aggr=[count(alias1)]
CoalescePartitionsExec
AggregateExec: mode=Partial, gby=[], aggr=[count(alias1)]
AggregateExec: mode=FinalPartitioned, gby=[alias1@0 as alias1],
aggr=[]
CoalesceBatchesExec: target_batch_size=8192
RepartitionExec: partitioning=Hash([alias1@0], 10),
input_partitions=10
AggregateExec: mode=Partial, gby=[UserID@0 as alias1], aggr=[]
DataSourceExec: file_groups={10 groups: ...]},
projection=[UserID], file_type=parquet
```
No redundant coop so that's good. The only element that changed in this plan
is `DataSourceExec` which contains the yielding. I'm having a hard time coming
up with a hypothesis why this would become so much slower.
--
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]