mustafasrepo commented on issue #10421: URL: https://github.com/apache/datafusion/issues/10421#issuecomment-2102567647
The physical plans before and after enforce distribution rule, might help in locating the problem. You can use [get_plan_string](https://github.com/apache/datafusion/blob/2a15614c6aeb0b7c22d0a7aac895d17f5aeaef99/datafusion/physical-plan/src/lib.rs#L795) helper to print this information. Putting prints at the start and at the end of https://github.com/apache/datafusion/blob/2a15614c6aeb0b7c22d0a7aac895d17f5aeaef99/datafusion/core/src/physical_optimizer/enforce_distribution.rs#L189 will produce necessary logs as far as I can tell. -- 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