NGA-TRAN commented on issue #18341: URL: https://github.com/apache/datafusion/issues/18341#issuecomment-3458167567
**Some hints:** I suggest starting by investigating when the two RepartitionExec nodes are introduced in the plan, and why the behavior differs between the CSV and Parquet cases. Running EXPLAIN VERBOSE can help reveal when these nodes are added—during either the logical or physical optimization phases. ```SQL Explain VERBOSE SELECT env, count(*) FROM dimension_parquet GROUP BY env; ``` -- 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]
