xudong963 commented on PR #14207: URL: https://github.com/apache/datafusion/pull/14207#issuecomment-2631275476
> What I don't understand is how this fix related to running `EnforceDistribution` twice. I understand the bug surfaces when `EnforceDistribution` is run twice, but it seems like the fix is to avoid optimizing away SPMs that had a limit on it. > > It seems like think there is something wrong with `EnforceDistribution` itself, and the bug happens to manifest itself when `EnforceDistribution` is run twice. Thanks for your review @alamb ,I left some replies in the thread: https://github.com/apache/datafusion/pull/14207#discussion_r1939527050 -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org