andygrove opened a new pull request, #3204: URL: https://github.com/apache/datafusion-comet/pull/3204
## Summary Adds a dev script that automates regenerating golden files for plan stability testing. The script: - Verifies JDK 17+ is configured (required for Spark 4.0 compatibility) - Installs Comet for each Spark version (3.4, 3.5, 4.0) - Runs both `CometTPCDSV1_4_PlanStabilitySuite` and `CometTPCDSV2_7_PlanStabilitySuite` with `SPARK_GENERATE_GOLDEN_FILES=1` - Supports regenerating for all versions or a specific version via `--spark-version` option ### Usage ```bash # Regenerate golden files for all Spark versions ./dev/regenerate-golden-files.sh # Regenerate only for a specific Spark version ./dev/regenerate-golden-files.sh --spark-version 3.5 ``` This makes it easier for contributors to update golden files when their changes affect query plans. ## Test Plan - Verified script help output works correctly - Verified JDK version check works correctly - Verified Spark version validation works correctly > **Note:** This PR was generated with AI assistance. -- 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]
