Files
doris/regression-test/script/README
Kikyou1997 8d31745415 [Regression](planner) Add tpch plan check (#11181)
Add plan check for tpch so that we can sense any changes to the final plan opportunely.
2022-07-29 10:45:36 +08:00

17 lines
581 B
Plaintext

# Manual
This script is used to generate any SQL plan checker groovy in batch.
You need to pass two parameter to this script:
* The path of the directory which contains the SQL files.
* The path of the directory where you expect to save the generated groovy test file,if there doesn't exists such directory, script would try to create it.
Note that you must pass the parameters as above showed order.
Below is a example:
```
python3 plan_checker_generator.py {YOUR_DORIS_HOME}/regression-test/suites/tpch_sf1/sql {YOUR_DORIS_HOME}/regression-test/suites/tpch_sf1/explain
```