viirya commented on code in PR #432: URL: https://github.com/apache/datafusion-comet/pull/432#discussion_r1600831651
########## docs/source/contributor-guide/development.md: ########## @@ -85,6 +85,32 @@ mvn test -Dsuites="org.apache.comet.CometCastSuite valid" -Dskip.surefire.tests= Other options for selecting specific suites are described in the [ScalaTest Maven Plugin documentation](https://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin) +## Plan Stability Testing + +Comet has a plan stability testing framework that can be used to test the stability of the query plans generated by Comet. +The plan stability testing framework is located in the `spark` module and can be run using the following command: + +``` +mvn -pl spark -Dsuites="org.apache.spark.sql.comet.CometTPCDSV1_4_PlanStabilitySuite" test +``` + +and +``` +mvn -pl spark -Dsuites="org.apache.spark.sql.comet.CometTPCDSV2_7_PlanStabilitySuite" test +``` + +If your pull request changes the query plans generated by Comet, you should run the plan stability tests to regenerate the golden files. Review Comment: > nit: I guess we can remove `run the plan stability tests to` Okay. ########## docs/source/contributor-guide/development.md: ########## @@ -85,6 +85,32 @@ mvn test -Dsuites="org.apache.comet.CometCastSuite valid" -Dskip.surefire.tests= Other options for selecting specific suites are described in the [ScalaTest Maven Plugin documentation](https://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin) +## Plan Stability Testing + +Comet has a plan stability testing framework that can be used to test the stability of the query plans generated by Comet. +The plan stability testing framework is located in the `spark` module and can be run using the following command: + +``` +mvn -pl spark -Dsuites="org.apache.spark.sql.comet.CometTPCDSV1_4_PlanStabilitySuite" test Review Comment: Okay -- 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]
