See https://github.com/apache/datafusion/pull/15769#discussion_r2070804563. The thought is that if we just re-arrange optimizer rule order the extra `CoalesceBatchesExec` and `RepartitionExec` should go away.