wForget opened a new pull request, #2420: URL: https://github.com/apache/datafusion-comet/pull/2420
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> Closes #2408. ## Rationale for this change After [SPARK-48195](https://issues.apache.org/jira/browse/SPARK-48195), SparkPlan will cache the RDD, which prevents us from changing the number of partitions once CometBroadcastExchangeExec.executeColumnar() has been executed. ## What changes are included in this PR? Add a method that always creates a new CometBatchRDD. ## How are these changes tested? After this, tpch q2 ran successfully on spark 4.0.1 with comet: <img width="1920" height="431" alt="image" src="https://github.com/user-attachments/assets/c9a2d142-0c4f-469e-9dd2-eb52e42298b5" /> -- 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